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

\[\dot{L} = 4\pi^2 I \frac{\dot{P}}{P^{3}}\]
magnetic_field

Magnetic field strength at the polar cap (Quantity).

\[B = 3.2 \cdot 10^{19} (P\dot{P})^{1/2} \text{ Gauss}\]
tau

Characteristic age (Quantity).

\[\tau = \frac{P}{2\dot{P}}\]