YusifovKucuk2004B#

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

Bases: Fittable1DModel

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

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

Derived empirically from OB-stars distribution.

Formula (17) in [1].

Parameters:
amplitudefloat

See model formula.

afloat

See model formula.

bfloat

See model formula.

References

Attributes Summary

a

amplitude

b

evolved

param_names

Names of the parameters that describe models of this type.

Methods Summary

evaluate(r, amplitude, a, b)

Evaluate model.

Attributes Documentation

a#
amplitude#
b#
evolved = False#
param_names = ('amplitude', 'a', 'b')#

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.

Methods Documentation

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

Evaluate model.

__init__(amplitude=1, a=4, b=6.8, **kwargs)[source]#
classmethod __new__(*args, **kwargs)#