astro - Astrophysics#

gammapy.astro.darkmatter Package#

Dark matter spatial and spectral models.

Classes#

DarkMatterAnnihilationSpectralModel

Dark matter annihilation spectral model.

DarkMatterDecaySpectralModel

Dark matter decay spectral model.

JFactory

Compute J-Factor or D-Factor maps.

PrimaryFlux

DM-annihilation gamma-ray spectra.

BurkertProfile

Burkert Profile.

DMProfile

DMProfile model base class.

EinastoProfile

Einasto Profile.

IsothermalProfile

Isothermal Profile.

MooreProfile

Moore Profile.

NFWProfile

NFW Profile.

ZhaoProfile

Zhao Profile.

gammapy.astro.population Package#

Astrophysical population models.

Functions#

add_observed_parameters(table[, obs_pos])

Add observable parameters (such as sky position or distance).

add_pulsar_parameters(table[, B_mean, ...])

Add pulsar parameters to the table.

add_pwn_parameters(table)

Add PWN parameters to the table.

add_snr_parameters(table)

Add SNR parameters to the table.

make_base_catalog_galactic(n_sources[, ...])

Make a catalog of Galactic sources, with basic source parameters.

make_catalog_random_positions_cube([size, ...])

Make a catalog of sources randomly distributed on a line, square or cube.

make_catalog_random_positions_sphere([size, ...])

Sample random source locations in a sphere.

Classes#

CaseBattacharya1998

Radial distribution of the surface density of supernova remnants in the galaxy.

Exponential

Exponential distribution.

FaucherKaspi2006

Radial distribution of the birth surface density of pulsars in the galaxy.

FaucherKaspi2006VelocityBimodal

Bimodal pulsar velocity distribution.

FaucherKaspi2006VelocityMaxwellian

Maxwellian pulsar velocity distribution.

FaucherSpiral

Milky way spiral arm used in Faucher et al (2006).

LogSpiral

Logarithmic spiral.

Lorimer2006

Radial distribution of the surface density of pulsars in the galaxy.

Paczynski1990

Radial distribution of the birth surface density of neutron stars.

Paczynski1990Velocity

Distribution by Lyne 1982 and adopted by Paczynski and Faucher.

ValleeSpiral

Milky way spiral arm model from Vallee (2008).

YusifovKucuk2004

Radial distribution of the surface density of pulsars in the galaxy.

YusifovKucuk2004B

Radial distribution of the surface density of OB stars in the galaxy.

Variables#

gammapy.astro.source Package#

Astrophysical source models.

Classes#

Pulsar

Magnetic dipole spin-down pulsar model.

PWN

Simple pulsar wind nebula (PWN) evolution model.

SimplePulsar

Magnetic dipole spin-down model for a pulsar.

SNR

Simple supernova remnant (SNR) evolution model.

SNRTrueloveMcKee

SNR model according to Truelove & McKee (1999).