order parameter of a lipid bilayer

I need to calculate the order parameter of a lipid bilayer from a Mesocite trajectory.

Can anyone give me a hand?

Thanks!!