"""Abstract base classes and type hints."""importabcimportdataclassesimportpathlibimporttypingastfromenumimportEnumimportaseimporth5pyimportplotly.graph_objectsasgoimportznh5mdimportzntrackfromase.calculators.calculatorimportCalculatorfromase.md.mdimportMolecularDynamicsT=t.TypeVar("T",bound=zntrack.Node)
[docs]defget_calculator(self,**kwargs)->Calculator:"""Load the ASE calculator for the desired MLIP."""...
[docs]defget_spec(self)->dict|None:"""Get the meta data specification of the MLIP. For details on the metadata specification, see: https://mlipx.readthedocs.io/en/latest/contributing.html#new-nodes """...