PintPhase¶
- class baseband_tasks.phases.PintPhase(par_file, observatory, frequency, **kwargs)[source] [edit on github]¶
Bases:
object
Helper class for computing pulsar phases using PINT.
- Parameters:
- par_filestr
TEMPO/TEMPO2 style parameter file.
- observatorystr
Observatory name or observatory code.
- frequency
Quantity
. Observing frequency. If not a scalar, one has to ensure it can be broadcast properly against time arrays for which phases and spin frequencies are calculated.
- **kwargs
Additional key words arguments for making TOAs. Please see the documentation of
PintToas
.
Notes
This method provides high precision phase calculation(~10 Nanosecond timing precision).
Methods Summary
__call__
(t)Compute the apparent phase at one or more times.
Compute the apparent spin frequency at one or more times.
Methods Documentation
- __call__(t)[source] [edit on github]¶
Compute the apparent phase at one or more times.
- apparent_spin_freq(t)[source] [edit on github]¶
Compute the apparent spin frequency at one or more times.