Pulsar class

A python class to make pulsar system objects

class peristole.pulsar_class.pulsar

Initiates a pulsar object with the given name allowing you to specify the physical parameters of the double pulsar system.

Parameters
  • mass – Mass of the pulsar playing the role of the lensing companion (labelled B), with A being the pulsar whose delays are to be plotted (in units of solar mass)

  • axis – Semi-major axis of the orbit of the system (in metres)

  • ecc – Eccentricity of the system

  • omega – Longitude of periastron (in degrees)

  • period – Spin period of pulsar A (in seconds)

  • angle – Orbital inclination angle (in degrees, can be a list)

  • eta – Angle between the ascending node of the orbit and the sky plane projection of the pulsar spin axis (in degrees)

  • zeta – Angle between the pulsar spin axis and the line of sight (in degrees)

  • alpha – Angle between the pulsar spin axis and magnetic axis (in degrees)

  • phi_0 – longitudinal projection of the magnetic axis to the plane containing the rotational axis (in degrees)

Example call:

example = pulsar() example.mass = 5 example.ecc = 0.7 … example.eta = 30