Astrophysical source population models (gammapy.astro.population
)¶
Introduction¶
The gammapy.astro.population
module provides a simple framework for population
synthesis of gamma-ray sources, which is useful in the context of surveys and
population studies.
Getting started¶
The following example illustrates how to simulate a basic catalog including a spiral arm model.
import astropy.units as u
from gammapy.astro.population import make_base_catalog_galactic
max_age = 1E6 * u.yr
SN_rate = 3. / (100. * u.yr)
n_sources = int(max_age * SN_rate)
table = make_base_catalog_galactic(
n_sources=n_sources,
rad_dis='L06',
vel_dis='F06B',
max_age=max_age,
spiralarms=True,
)
The total number of sources is determined assuming a maximum age and a supernova
rate. The table returned is an instance of Table
which
can be used for further processing. The example population with spiral-arms is
illustrated in the following plot.
Galactocentric spatial distributions¶
Here is a comparison plot of all available radial distribution functions of the surface density of pulsars and related objects used in literature:
TODO: add illustration of Galactocentric z-distribution model and combined (r, z) distribution for the Besancon model.
Spiral arm models¶
Two spiral arm models of the Milky way are available:
ValleeSpiral
and
gammapy.astro.population.FaucherSpiral
Reference/API¶
gammapy.astro.population Package¶
Astrophysical population models.
Functions¶
|
Add observable parameters (such as sky position or distance). |
|
Add pulsar parameters to the table. |
|
Add PWN parameters to the table. |
|
Add SNR parameters to the table. |
|
Make a catalog of Galactic sources, with basic source parameters. |
|
Make a catalog of sources randomly distributed on a line, square or cube. |
|
Sample random source locations in a sphere. |
Classes¶
|
Radial distribution of the surface density of supernova remnants in the galaxy - Case & Battacharya 1998. |
|
Exponential distribution. |
|
Radial distribution of the birth surface density of pulsars in the galaxy - Faucher-Giguere & Kaspi 2006. |
|
Bimodal pulsar velocity distribution - Faucher & Kaspi (2006). |
Maxwellian pulsar velocity distribution. |
|
Milky way spiral arm used in Faucher et al (2006). |
|
Logarithmic spiral. |
|
|
Radial distribution of the surface density of pulsars in the galaxy - Lorimer 2006. |
|
Radial distribution of the birth surface density of neutron stars - Paczynski 1990. |
|
Distribution by Lyne 1982 and adopted by Paczynski and Faucher. |
Milky way spiral arm model from Vallee (2008). |
|
|
Radial distribution of the surface density of pulsars in the galaxy - Yusifov & Kucuk 2004. |
|
Radial distribution of the surface density of OB stars in the galaxy - Yusifov & Kucuk 2004. |