Datum

class qcelemental.Datum(label, units, data, *, comment=None, doi=None, glossary=None, numeric=True)[source]

Bases: pydantic.main.BaseModel

Facilitates the storage of quantum chemical results by labeling them with basic metadata.

label

Official label for data, often qcvar. May contain spaces.

Type

str

units

ASCII, LaTeX-like representation of units, without square brackets.

Type

str

data

Value for label.

Type

float or Decimal or or numpy.ndarray

comment

Additional notes.

Type

str, optional

doi

Literature citation or definition DOI link.

Type

str, optional

glossary

Extended description or definition.

Type

str, optional

numeric

Whether data is numeric. Pass True to disable validating data as float/Decimal/np.ndarray.

Type

bool, optional