FaucherKaspi2006VelocityMaxwellian#
- class gammapy.astro.population.FaucherKaspi2006VelocityMaxwellian[source]#
Bases:
Fittable1DModel
Maxwellian pulsar velocity distribution.
\[f(v) = A \sqrt{ \frac{2}{\pi}} \frac{v ^ 2}{\sigma ^ 3 } \exp \left(-\frac{v ^ 2}{2 \sigma ^ 2} \right)\]- Parameters:
- amplitudefloat
Value of the integral.
- sigmafloat
Velocity parameter (km s^-1).
References
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(v, amplitude, sigma)One dimensional velocity model function.
Attributes Documentation
- amplitude#
- param_names = ('amplitude', '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.
- sigma#
Methods Documentation
- classmethod __new__(*args, **kwargs)#