bispectrum
Bispectrum descriptor class.
- class Bispectrum(params: Parameters = None)[source]
Bases:
Descriptor
Class for calculation and parsing of bispectrum descriptors.
- Parameters:
parameters (mala.common.parameters.Parameters) – Parameters object used to create this object.
- static backconvert_units(array, out_units)[source]
Convert the units of a bispectrum descriptor.
Since these do not really have units this function does nothing yet.
- Parameters:
array (numpy.array) – Data in MALA units.
out_units (string) – Desired units of output array.
- Returns:
converted_array – Data in out_units.
- Return type:
numpy.array
- static convert_units(array, in_units='None')[source]
Convert the units of a bispectrum descriptor.
Since these do not really have units this function does nothing yet.
- Parameters:
array (numpy.array) – Data for which the units should be converted.
in_units (string) – Units of array.
- Returns:
converted_array – Data in MALA units.
- Return type:
numpy.array
- property data_name
Get a string that describes the target (for e.g. metadata).
- property feature_size
Get the feature dimension of this data.