SimplePulsar¶
-
class
gammapy.astro.source.SimplePulsar(P, P_dot, I=<Quantity 1.e+45 cm2 g>, R=<Quantity 1000000. cm>)[source]¶ Bases:
objectMagnetic dipole spin-down model for a pulsar.
Reference: http://www.cv.nrao.edu/course/astr534/Pulsars.html
Parameters: P :
QuantityRotation period (sec)
P_dot :
QuantityRotation period derivative (sec sec^-1)
I :
QuantityMoment of inertia (g cm^2)
R :
QuantityRadius of the pulsar (cm)
Attributes Summary
luminosity_spindownSpin-down luminosity ( Quantity).magnetic_fieldMagnetic field strength at the polar cap ( Quantity).tauCharacteristic age ( Quantity).Attributes Documentation
-
luminosity_spindown¶ Spin-down luminosity (
Quantity).Notes
The spin-down luminosity is given by:
\[\dot{L} = 4\pi^2 I \frac{\dot{P}}{P^{3}}\]
-