neutronpy.data.Analysis

class neutronpy.data.Analysis[source]

Class containing methods for the Data class

Attributes:
detailed_balance_factor

Returns the detailed balance factor (sometimes called the Bose

Methods

integrate([bounds, background, hkle]) Returns the integrated intensity within given bounds
position([bounds, background, hkle]) Returns the position of a peak within the given bounds
width([bounds, background, fwhm, hkle]) Returns the mean-squared width of a peak within the given bounds
scattering_function(material, ei) Returns the neutron scattering function, i.e.
dynamic_susceptibility(material, ei) Returns the dynamic susceptibility \(\chi^{\prime\prime}(\mathbf{Q},\hbar\omega)\)
estimate_background(bg_params) Estimate the background according to type specified.
get_keys(hkle) Returns all of the Dictionary key names
get_bounds(bounds) Generates a to_fit tuple if bounds is present in kwargs