FaucherKaspi2006#
- class gammapy.astro.population.FaucherKaspi2006[source]#
Bases:
Fittable1DModel
Radial distribution of the birth surface density of pulsars in the galaxy.
\[f(r) = A \frac{1}{\sqrt{2 \pi} \sigma} \exp \left(- \frac{(r - r_0)^2}{2 \sigma ^ 2}\right)\]Appendix B in [1].
- Parameters:
- amplitudefloat
See model formula.
- r_0float
See model formula.
- sigmafloat
See model formula.
See also
References
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(r, amplitude, r_0, sigma)Evaluate model.
Attributes Documentation
- amplitude#
- evolved = False#
- param_names = ('amplitude', 'r_0', 'sigma')#
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_0#
- sigma#
Methods Documentation
- classmethod __new__(*args, **kwargs)#