data.PropertyCriterion

class data.PropertyCriterion(property_key: str = 'energy')[source]

A callable class that returns the specified property for each sample in the dataset. Property must be a scalar value.