Function lupnt::UnwrapAngles¶ Defined in File ephemeris_basis.h Function Documentation¶ inline VecXd lupnt::UnwrapAngles(const VecXd &angles)¶ Unwraps a sequence of angles [rad] so consecutive samples differ by less than pi, adding multiples of 2*pi (like numpy.unwrap). Used to make an angular orbital-element time series (e.g. mean anomaly) safe to fit with a polynomial.