Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

SimplePulsar

class gammapy.astro.source.SimplePulsar(P, P_dot, I=<Quantity 1.e+45 cm2 g>, R=<Quantity 1000000. cm>)[source]

Bases: object

Magnetic dipole spin-down model for a pulsar.

Reference: http://www.cv.nrao.edu/course/astr534/Pulsars.html

Parameters:

P : Quantity

Rotation period (sec)

P_dot : Quantity

Rotation period derivative (sec sec^-1)

I : Quantity

Moment of inertia (g cm^2)

R : Quantity

Radius of the pulsar (cm)

Attributes Summary

luminosity_spindown Spin-down luminosity (Quantity).
magnetic_field Magnetic field strength at the polar cap (Quantity).
tau Characteristic age (Quantity).

Attributes Documentation

luminosity_spindown

Spin-down luminosity (Quantity).

Notes

The spin-down luminosity is given by:

˙L=4π2I˙PP3
magnetic_field

Magnetic field strength at the polar cap (Quantity).

Notes

The magnetic field is given by:

B=3.21019(P˙P)1/2[\textnormal(Gauss)]
tau

Characteristic age (Quantity).

Notes

The characteristic age is given by:

τ=P2˙P