make_base_catalog_galactic

gammapy.astro.population.make_base_catalog_galactic(n_sources, rad_dis='YK04', vel_dis='H05', max_age='1e6 yr', spiralarms=True, n_ISM='1 cm-3', random_state='random-seed')[source]

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

Choose a radial distribution, a velocity distribution, the number of pulsars n_pulsars, the maximal age max_age[years] and the fraction of the individual morphtypes. There’s an option spiralarms. If set on True a spiralarm modeling after Faucher&Kaspi is included.

max_age and n_sources effectively correspond to s SN rate: SN_rate = n_sources / max_age

Parameters
n_sourcesint

Number of sources to simulate

rad_discallable

Radial surface density distribution of sources

vel_discallable

Proper motion velocity distribution of sources

max_ageQuantity

Maximal age of the source

spiralarmsbool

Include a spiralarm model in the catalog?

n_ISMQuantity

Density of the interstellar medium

random_state{int, ‘random-seed’, ‘global-rng’, RandomState}

Defines random number generator initialisation. Passed to get_random_state.

Returns
tableTable

Catalog of simulated source positions and proper velocities