SpectralShapeZero¶
- class glotaran.builtin.models.kinetic_spectrum.spectral_shape.SpectralShapeZero[source]¶
Bases:
object
A gaussian spectral shape
Attributes Summary
Methods Summary
calculate calculates the shape.
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.
Methods Documentation
- calculate(axis: numpy.ndarray) numpy.ndarray [source]¶
calculate calculates the shape.
Only works after calling calling ‘fill’.
- Parameters
axis (np.ndarray) – The axies to calculate the shape on.
- Returns
shape
- Return 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.
- property label: str¶
- property type: str¶