IrfGaussian

class glotaran.builtin.megacomplexes.decay.irf.IrfGaussian(*, 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, type: str = 'gaussian', center: Parameter | str, width: Parameter | str)[source]

Bases: IrfMultiGaussian

Method generated by attrs for class IrfGaussian.

Attributes Summary

type

center

width

scale

shift

normalize

backsweep

backsweep_period

label

Methods Summary

calculate

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 applied.

Methods Documentation

backsweep: bool
backsweep_period: ParameterType | None
calculate(index: int, global_axis: ndarray, model_axis: ndarray) ndarray
center: Parameter | str
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
normalize: bool
parameter(global_index: int, global_axis: ndarray) tuple[ndarray, ndarray, ndarray, float, bool, float]

Returns the properties of the irf with shift applied.

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