jaxrts.instrument_function.instrument_supergaussian
- jaxrts.instrument_function.instrument_supergaussian(x: Quantity, sigma: Quantity, power: float) Quantity[source]
Super-gaussian model for the instrument function.
\[\exp\left(-\left(\frac{x^2}{2\sigma^2}\right)^p\right)\]Note
The function is normalized by numerical integration
- Parameters:
x (Quantity) – The energy shift.
sigma (Quantity) – The standard deviation of the gaussian.
power (float) – The power of the super-gaussian.
- Returns:
Quantity – The super-Gaussian function, evaluated at positions x. Normed to 1.