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.

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 as a Quantity.

magnetic_field

Magnetic field strength at the polar cap as a Quantity.

tau

Characteristic age as a Quantity.

Attributes Documentation

luminosity_spindown#

Spin-down luminosity as a Quantity.

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

Magnetic field strength at the polar cap as a Quantity.

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

Characteristic age as a Quantity.

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