Phase Calculation (baseband_tasks.phases)

Introduction

The phases module contains classes that help calculate pulsar phases for given times. There is support for polycos and for full pulsar timing solutions (via pint). The purpose of the module is to give these methods a common interface.

Note

Polyco file can be generated by tempo, tempo2, and pint. Due to the different treatment of reference phase, the results between each other may have a constant offset.

Reference/API

baseband_tasks.phases Package

Classes

FractionalPhase(angle[, unit, wrap_angle])

Phase without the cycle count, i.e., with a range of 1 cycle.

Phase(phase1[, phase2, copy, subok])

Represent two-part phase.

PintPhase(par_file, observatory, frequency, ...)

Helper class for computing pulsar phases using PINT.

Polyco(data, *args, **kwargs)

Read in polyco file as Table, and set up class.

PolycoPhase(polyco_file)

Helper class for computing pulsar phases using polycos.

Class Inheritance Diagram

Inheritance diagram of baseband_tasks.phases.phase.FractionalPhase, baseband_tasks.phases.phase.Phase, baseband_tasks.phases.core.PintPhase, baseband_tasks.phases.predictor.Polyco, baseband_tasks.phases.core.PolycoPhase

baseband_tasks.phases.pint_toas Module

Utilities for converting times to PINT times of arrival.

See https://github.com/nanograv/PINT

Classes

PintToas(observatory, frequency, *[, ...])

Convert time samples to PINT TOAs using given ephemeris, etc.

Class Inheritance Diagram

Inheritance diagram of baseband_tasks.phases.pint_toas.PintToas