YusifovKucuk2004#

class gammapy.astro.population.YusifovKucuk2004[source]#

Bases: Fittable1DModel

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

\[f(r) = A \left ( \frac{r + r_1}{r_{\odot} + r_1} \right )^a \exp \left [-b \left( \frac{r - r_{\odot}}{r_{\odot} + r_1} \right ) \right ]\]

Used by Faucher-Giguère and Kaspi. Density at r = 0 is nonzero.

Formula (15) in [1].

Parameters:
amplitudefloat

See model formula.

afloat

See model formula.

bfloat

See model formula.

r_1float

See model formula.

References

Attributes Summary

a

amplitude

b

evolved

param_names

Names of the parameters that describe models of this type.

r_1

Methods Summary

evaluate(r, amplitude, a, b, r_1)

Evaluate model.

Attributes Documentation

a#
amplitude#
b#
evolved = True#
param_names = ('amplitude', 'a', 'b', 'r_1')#

Names of the parameters that describe models of this type.

The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.

When defining a custom model class the value of this attribute is automatically set by the Parameter attributes defined in the class body.

r_1#

Methods Documentation

static evaluate(r, amplitude, a, b, r_1)[source]#

Evaluate model.

__init__(amplitude=1, a=1.64, b=4.01, r_1=0.55, **kwargs)[source]#
classmethod __new__(*args, **kwargs)#