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.

L˙=4π2IP˙P3
magnetic_field#

Magnetic field strength at the polar cap as a Quantity.

B=3.21019(PP˙)1/2 Gauss
tau#

Characteristic age as a Quantity.

τ=P2P˙