IrfSpectralGaussian

class glotaran.builtin.megacomplexes.decay.irf.IrfSpectralGaussian[source]

Bases: glotaran.builtin.megacomplexes.decay.irf.IrfSpectralMultiGaussian

Attributes Summary

backsweep

backsweep_period

center

center_dispersion_coefficients

dispersion_center

label

model_dispersion_with_wavenumber

normalize

scale

shift

type

width

width_dispersion_coefficients

Methods Summary

as_dict

calculate

calculate_dispersion

fill

Returns a copy of the {cls._name} instance with all members which are Parameters are replaced by the value of the corresponding parameter in the parameter group.

from_dict

get_parameters

Returns all parameter full labels of the item.

is_index_dependent

mprint

parameter

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

validate

Methods Documentation

as_dict() dict
property backsweep: prop_type
property backsweep_period: prop_type
calculate(index: int, global_axis: numpy.ndarray, model_axis: numpy.ndarray) numpy.ndarray
calculate_dispersion(axis)
property center: prop_type
property center_dispersion_coefficients: prop_type
property dispersion_center: prop_type
fill(model: Model, parameters: ParameterGroup) cls

Returns a copy of the {cls._name} instance with all members which are Parameters are replaced by the value of the corresponding parameter in the parameter group.

Parameters
  • model – A glotaran model.

  • parameter (ParameterGroup) – The parameter group to fill from.

classmethod from_dict(values: dict) cls
get_parameters() list[str]

Returns all parameter full labels of the item.

is_index_dependent()
property label: prop_type
property model_dispersion_with_wavenumber: prop_type
mprint(parameters: ParameterGroup = None, initial_parameters: ParameterGroup = None) str
property normalize: prop_type
parameter(global_index: int, global_axis: numpy.ndarray)

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

property scale: prop_type
property shift: prop_type
property type: prop_type
validate(model: Model, parameters: ParameterGroup | None = None) list[str]
property width: prop_type
property width_dispersion_coefficients: prop_type