Phase Calculation (scintillometry.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

scintillometry.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(*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 scintillometry.phases.phase.FractionalPhase, scintillometry.phases.phase.Phase, scintillometry.phases.core.PintPhase, scintillometry.phases.predictor.Polyco, scintillometry.phases.core.PolycoPhase

scintillometry.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 scintillometry.phases.pint_toas.PintToas