matflow.param_classes.single_crystal_parameters.SingleCrystalParameters#
- class matflow.param_classes.single_crystal_parameters.SingleCrystalParameters(phases, perturbations=None)#
Bases:
ParameterValue
Methods
Return a copy where base includes the perturbations.
Write this parameter value to an HDF5 group.
Prepare this parameter value for serialisation as JSON.
Extract a parameter value from an HDF5 group.
Extract a parameter value from JSON data.
Serialise this parameter value as a dictionary.
Attributes
- as_base()#
Return a copy where base includes the perturbations.
- property base#
- dump_to_HDF5_group(group)#
Write this parameter value to an HDF5 group.
- property perturbations#
- property phases#
- classmethod save_from_HDF5_group(group, param_id, workflow)#
Extract a parameter value from an HDF5 group.
- Parameters:
param_id (int) –
- classmethod save_from_JSON(data, param_id, workflow)#
Extract a parameter value from JSON data.
- Parameters:
param_id (int) –
- to_dict()#
Serialise this parameter value as a dictionary.