orbit_to_fs

superfreq.orbit_to_fs(orbit, units, style='laskar')[source]

Convert the orbit (position and velocity time series) into complex time series to be analyzed by SuperFreq.

For style=='laskar', assumes the standard complex time series

\[f_i = q_i + i\,p_i\]

where \(q_i,p_i\) are the coordinate and conjugate momenta (e.g., velocity for m=1).

Parameters:

orbit : gala.dynamics.CartesianOrbit

The input orbit.

units : gala.units.UnitSystem

The unit system.

style : str (optional)

Currently only supports style = 'laskar'.

Returns:

fs : tuple