Note

You are not reading the stable 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
PQuantity

Rotation period (sec)

P_dotQuantity

Rotation period derivative (sec sec^-1)

IQuantity

Moment of inertia (g cm^2)

RQuantity

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).

˙L=4π2I˙PP3
magnetic_field

Magnetic field strength at the polar cap (Quantity).

B=3.21019(P˙P)1/2 Gauss
tau

Characteristic age (Quantity).

τ=P2˙P