find_frequencies¶
-
superfreq.
find_frequencies
(orbit, force_box=False, silently_fail=True, **kwargs)[source]¶ Compute the fundamental frequencies of an orbit,
w
. If not forced, this function tries to figure out whether the input orbit is a tube or box orbit and then uses the appropriate set of coordinates (Poincaré polar coordinates for tube, ordinary Cartesian for box). Any extra keyword arguments (kwargs
) are passed toSuperFreq.find_fundamental_frequencies
.Requires Gala.
Parameters: orbit :
gala.dynamics.CartesianOrbit
The orbit to analyze.
force_box : bool (optional)
Force the routine to assume the orbit is a box orbit. Default is
False
.silently_fail : bool (optional)
Return NaN’s and None’s if SuperFreq fails, rather than raising an exception.
**kwargs
Any extra keyword arguments are passed to
SuperFreq.find_fundamental_frequencies
.