Calculate length scales of polymer chain

Dear Lammps Users

I am simulating polymer model and I want to calculate different length scales like chain persistence length , correlation length. Is there any way of implementing it in LAMMPS or we have to do post-processing calculation through our own code.

Thanks and Regards

Persistence lengths are most often computed in the post-processing phase, because they require a reliable definition of the beads, and this is straightforward only for simple homopolymers.

As an alternative to in-house code, I see that MDAnalysis has a persistence length function: