Python script to retrieve the undulations of a lipid bilayer along a specified axis