pint.derived_quantities.pferrs
- pint.derived_quantities.pferrs(porf, porferr, pdorfd=None, pdorfderr=None)[source]
Convert P, Pdot to F, Fdot with uncertainties (or vice versa).
Calculate the period or frequency errors and the Pdot or fdot errors from the opposite ones.
- Parameters:
porf (astropy.units.Quantity) – pulsar period (or frequency), \(P\) or \(f\)
porferr (astropy.units.Quantity) – pulsar period uncertainty (or frequency uncertainty), \(\sigma_P\) or \(\sigma_f\)
pdorfd (astropy.units.Quantity, optional) – pulsar period derivative (or frequency derivative), \(\dot P\) or \(\dot f\)
pdorfderr (astropy.units.Quantity, optional) – pulsar period derivative uncertainty (or frequency derivative uncertainty) \(\sigma_{\dot P}\) or \(\sigma_{\dot f}\)
- Returns:
forp (astropy.units.Quantity) – pulsar frequency (or period) \(f\) or \(P\)
forperr (astropy.units.Quantity) – pulsar frequency uncertainty (or period uncertainty) \(\sigma_f\) or \(\sigma_P\)
fdorpd (astropy.units.Quantity) – pulsar frequency derivative (or period derivative) if pdorfd supplied \(\dot f\) or \(\dot P\)
fdorpderr (astropy.units.Quantity) – if pdorfd supplied, then pulsar frequency derivative uncertainty (or period derivative uncertainty), \(\sigma_{\dot f}\) or \(\sigma_{\dot P}\)