IrfSpectralGaussian

class glotaran.builtin.megacomplexes.decay.irf.IrfSpectralGaussian(*, label: str, scale: list[Parameter | str] | None = None, shift: list[Parameter | str] | None = None, normalize: bool = True, backsweep: bool = False, backsweep_period: Parameter | str | None = None, dispersion_center: Parameter | str, center_dispersion_coefficients: list[Parameter | str], width_dispersion_coefficients: list[Parameter | str] = _Nothing.NOTHING, model_dispersion_with_wavenumber: bool = False, type: str = 'spectral-gaussian', center: Parameter | str, width: Parameter | str)[source]

Bases: IrfSpectralMultiGaussian

Method generated by attrs for class IrfSpectralGaussian.

Attributes Summary

type

center

width

dispersion_center

center_dispersion_coefficients

width_dispersion_coefficients

model_dispersion_with_wavenumber

scale

shift

normalize

backsweep

backsweep_period

label

Methods Summary

calculate

calculate_dispersion

get_item_type

Get the type string.

get_item_type_class

Get the type for a type string.

get_item_types

Get all type strings.

is_index_dependent

parameter

Returns the properties of the irf with shift and dispersion applied.

Methods Documentation

backsweep: bool
backsweep_period: ParameterType | None
calculate(index: int, global_axis: ndarray, model_axis: ndarray) ndarray
calculate_dispersion(axis)
center: Parameter | str
center_dispersion_coefficients: list[ParameterType]
dispersion_center: ParameterType
classmethod get_item_type() str

Get the type string.

Return type:

str

classmethod get_item_type_class(item_type: str) Type

Get the type for a type string.

Parameters:

item_type (str) – The type string.

Return type:

Type

classmethod get_item_types() list[str]

Get all type strings.

Return type:

list[str]

is_index_dependent()
label: str
model_dispersion_with_wavenumber: bool
normalize: bool
parameter(global_index: int, global_axis: ndarray)

Returns the properties of the irf with shift and dispersion applied.

scale: list[ParameterType] | None
shift: list[ParameterType] | None
type: str
width: Parameter | str
width_dispersion_coefficients: list[ParameterType]