Physical Quantities#

class spacetime.physical_quantity.PhysicalQuantity(value=None, dich={'C': 1, 'P': 1, 'T': 1}, bidirector=False, label='')[source]#

Bases: object

Represent a scalar, vector, or rank-two tensor with configurable reversal characters.

The dich mapping associates symmetry-reversal labels with +1 or -1 factors. These factors describe the quantity’s response to operations such as parity (P), time reversal (T), and the symbolic charge-conjugation label (C), as well as other user-defined binary labels. Spatial O(3) matrices act on the value separately.

property label#

A physical quantity’s name.

Parameters:

None

Returns:

a name of the physical quantity.

property value#

A physical quantity’s value.

Parameters:

None

Returns:

a value of the physical quantity.

property bidirector#
property dich#

Dichromatic symmetry properties of PhysicalQuantity with respect to defined symmetry operations.

Parameters:

None

Returns:

Mapping from reversal labels to +1 (even) or -1 (odd) transformation factors.

Return type:

dict