gemd.entity.object.has_quantities module

For entities that hve quantities.

class gemd.entity.object.has_quantities.HasQuantities(*, mass_fraction: Optional[ContinuousValue] = None, volume_fraction: Optional[ContinuousValue] = None, number_fraction: Optional[ContinuousValue] = None, absolute_quantity: Optional[ContinuousValue] = None)

Bases: object

Mixin-trait that includes the mass, volume, number fraction, and absolute quantity.

property absolute_quantity: ContinuousValue

The absolute quantity of the material.

property mass_fraction: ContinuousValue

The mass fraction of the material.

property number_fraction: ContinuousValue

The number fraction (commonly called mole fraction) of the material.

property volume_fraction: ContinuousValue

The volume fraction of the material.