galport.OrbitTools.naif_frequency

OrbitTools.naif_frequency(fxy=False)[source]

Calculate orbital frequencies using the NAIF package.

This method uses the external naif package to find peak frequencies in the orbital motion. Requires NAIF to be installed.

Parameters:

fxy (bool, optional) – If True, also calculate frequencies in x and y coordinates separately. Default: False

Returns:

freq_naif – Array of frequencies. Columns:

  • If fxy=False: [fR, fz, fφ]

  • If fxy=True: [fR, fz, fφ, fx, fy]

Return type:

(Norb, 3) or (Norb, 5) numpy.ndarray