Pulsar#

class gammapy.astro.source.Pulsar(P_0='0.1 s', B='1e10 G', n=3, I=<Quantity 1.e+45 cm2 g>, R=<Quantity 1000000. cm>, age=None, L_0=None)#

Bases: object

Magnetic dipole spin-down pulsar model.

Parameters
P_0float

Period at birth

BQuantity

Magnetic field strength at the poles (Gauss)

nfloat

Spin-down braking index

Ifloat

Moment of inertia

Rfloat

Radius

Methods Summary

energy_integrated(t)

Total energy released by a given time.

luminosity_spindown(t)

Spin down luminosity.

magnetic_field(t)

Magnetic field at polar cap (assumed constant).

period(t)

Rotation period.

period_dot(t)

Period derivative at age t.

tau(t)

Characteristic age at real age t.

Methods Documentation