FaucherKaspi2006VelocityBimodal

class gammapy.astro.population.FaucherKaspi2006VelocityBimodal(amplitude=1, sigma_1=160, sigma_2=780, w=0.9, **kwargs)[source]

Bases: astropy.modeling.Fittable1DModel

Bimodal pulsar velocity distribution - Faucher & Kaspi (2006).

\[f(v) = A\sqrt{\frac{2}{\pi}} v^2 \left[\frac{w}{\sigma_1^3} \exp \left(-\frac{v^2}{2\sigma_1^2} \right) + \frac{1-w}{\sigma_2^3} \exp \left(-\frac{v^2}{2\sigma_2^2} \right) \right]\]

Reference: http://adsabs.harvard.edu/abs/2006ApJ...643..332F (Formula (7))

Parameters:

amplitude : float

Value of the integral

sigma1 : float

See model formula

sigma2 : float

See model formula

w : float

See model formula

Attributes Summary

amplitude
param_names
sigma_1
sigma_2
w

Methods Summary

evaluate(v, amplitude, sigma_1, sigma_2, w) One dimensional Faucher-Guigere & Kaspi 2006 velocity model function.

Attributes Documentation

amplitude
param_names = ('amplitude', 'sigma_1', 'sigma_2', 'w')
sigma_1
sigma_2
w

Methods Documentation

static evaluate(v, amplitude, sigma_1, sigma_2, w)[source]

One dimensional Faucher-Guigere & Kaspi 2006 velocity model function.