class matlantis_features.features.common.opt.OptFeatureOutput(atoms: MatlantisAtoms, converged: bool, steps: int, energy_log: List[float], force_log: List[float], description: str)#

Bases: FeatureBaseOutput

Class containing the outputs for results of various optimizer features.

Methods

__init__(atoms, converged, steps, …)

from_dict(res)

Construct a FeatureBaseOutput object from serialized dict.

to_dict()

Dictionary representation of the FeatureBaseOutput.

__init__(atoms: MatlantisAtoms, converged: bool, steps: int, energy_log: List[float], force_log: List[float], description: str) None#
classmethod from_dict(res: Dict[str, Any]) FeatureBaseOutput#

Construct a FeatureBaseOutput object from serialized dict.

Parameters

res (dict[str, Any]) – A dict containing a serialized FeatureBaseOutput from to_dict().

Returns

The deserialized object from provided dict.

Return type

FeatureBaseOutput

to_dict() Dict[str, Any]#

Dictionary representation of the FeatureBaseOutput.

Returns

A dict containing a serialized FeatureBaseOutput.

Return type

dict[str, Any]