pint.polycos.PolycoEntry

class pint.polycos.PolycoEntry(tmid, mjdspan, rph_int, rph_frac, f0, ncoeff, coeffs)[source]

Bases: object

One Polyco entry.

Referenced from polyco.py authored by
Parameters:
  • tmid (float) – Middle point of the time span in mjd

  • mjdspan (int) – Time span in minutes

  • rphase (float) – Reference phase

  • f0 (float) – Reference spin frequency

  • ncoeff (int) – Number of coefficients

  • coeff (numpy.ndarray) – Polynomial coefficents

Methods

evalabsphase(t)

Return the phase at time t, computed with this polyco entry

evalfreq(t)

Return the freq at time t, computed with this polyco entry

evalfreqderiv(t)

Return the frequency derivative at time t.

evalphase(t)

Return the phase at time t, computed with this polyco entry

evalabsphase(t)[source]

Return the phase at time t, computed with this polyco entry

Parameters:

t (float or numpy.ndarray) – Input times

Return type:

pint.phase.Phase

evalphase(t)[source]

Return the phase at time t, computed with this polyco entry

Parameters:

t (float or numpy.ndarray) – Input times

Return type:

pint.phase.Phase

evalfreq(t)[source]

Return the freq at time t, computed with this polyco entry

Parameters:

t (float or numpy.ndarray) – Input times

Returns:

Frequency (in Hz)

Return type:

numpy.ndarray

evalfreqderiv(t)[source]

Return the frequency derivative at time t.

Parameters:

t (float or numpy.ndarray) – Input times

Returns:

Frequency derivative (in Hz/s)

Return type:

numpy.ndarray