CaseBattacharya1998#

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

Bases: Fittable1DModel

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

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

Formula (14) in [1].

Parameters:
amplitudefloat

See model formula.

alphafloat

See model formula.

betafloat

See model formula.

References

Attributes Summary

alpha

amplitude

beta

evolved

param_names

Names of the parameters that describe models of this type.

Methods Summary

evaluate(r, amplitude, alpha, beta)

Evaluate model.

Attributes Documentation

alpha#
amplitude#
beta#
evolved = True#
param_names = ('amplitude', 'alpha', 'beta')#

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, alpha, beta)[source]#

Evaluate model.

__init__(amplitude=1.0, alpha=2, beta=3.53, **kwargs)[source]#
classmethod __new__(*args, **kwargs)#