Paczynski1990#
- class gammapy.astro.population.Paczynski1990[source]#
Bases:
Fittable1DModel
Radial distribution of the birth surface density of neutron stars.
\[f(r) = A r_{exp}^{-2} \exp \left(-\frac{r}{r_{exp}} \right)\]Formula (2) in [1].
- Parameters:
- amplitudefloat
See formula.
- r_expfloat
See formula.
See also
References
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(r, amplitude, r_exp)Evaluate model.
Attributes Documentation
- amplitude#
- evolved = False#
- param_names = ('amplitude', 'r_exp')#
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_exp#
Methods Documentation
- classmethod __new__(*args, **kwargs)#