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

\[\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}}\]