galport.OrbitTools.naif_frequency

OrbitTools.naif_frequency(fxy=False, parallel=False, n_jobs=None)[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

  • parallel (bool, optional) – If True, enables parallel execution across the orbits. Default: False

  • n_jobs (int, optional) – The number of CPU processes to spawn. If None, defaults to all available cores. Default: None

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