pint.utils.get_wavex_freqs

pint.utils.get_wavex_freqs(model, index=None, quantity=False)[source]

Return the WaveX frequencies for a timing model.

If index is specified, returns the frequencies corresponding to the user-provided indices. If index isn’t specified, returns all WaveX frequencies in timing model

Parameters:
  • model (pint.models.timing_model.TimingModel) – Timing model from which to return WaveX frequencies

  • index (float, int, list, np.ndarray, None) – Number or list/array of numbers corresponding to WaveX frequencies to return

  • quantity (bool) – If set to True, returns a list of astropy.quanitity.Quantity rather than a list of prefixParameters

Return type:

List of WXFREQ_ parameters