SpectralShapeZero
- class glotaran.builtin.megacomplexes.spectral.shape.SpectralShapeZero(*, label: str, type: str = 'zero')[source]
Bases:
SpectralShapeA constant spectral shape with value 0
Method generated by attrs for class SpectralShapeZero.
Attributes Summary
Methods Summary
calculate calculates the shape.
Get the type string.
Get the type for a type string.
Get all type strings.
Methods Documentation
- calculate(axis: ndarray) ndarray[source]
calculate calculates the shape.
Only works after calling
fill.- Parameters:
axis (np.ndarray) – The axis to calculate the shape on.
- Returns:
shape
- Return type: