jaxrts.instrument_function

This submodule is dedicated to the modelling and handling of instrument functions.

Functions

instrument_from_file(filename[, xunit])

Loads instrument function data from a given file.

instrument_gaussian(x, sigma)

Gaussian model for the instrument function.

instrument_lorentzian(x, gamma)

Lorentzian model for the instrument function.

instrument_supergaussian(x, sigma, power)

Super-gaussian model for the instrument function.

Classes

FromArray(x, ints)

Generate an InstrumentFunction from an array input.

FromCallable(function[, ...])

Create an :py:class`~.InstrumentFunction` from a callable.

Gaussian([sigma, fwhm])

Gaussian instrument function

InstrumentFunction()

Lorentzian(gamma)

Lorentzian model for the instrument function.

SuperGaussian(power[, sigma, fwhm])

Supergaussian instrument function

TwinGaussian([sigma1, sigma2, fwhm1, fwhm2])

An instrument function of two Gaussians with different width for frequency shifts below and above zero.