dyson.representations.enums#
Enumerations for representations.
Classes
|
Enumeration for the component of the dynamic representation. |
|
Enumeration for the time ordering of the dynamic representation. |
|
Enumeration for the reduction of the dynamic representation. |
|
Base enumeration for representations. |
- class dyson.representations.enums.RepresentationEnum(new_class_name, /, names, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
EnumBase enumeration for representations.
- class dyson.representations.enums.Reduction(*values)[source]#
Bases:
RepresentationEnumEnumeration for the reduction of the dynamic representation.
The valid reductions are:
none: No reduction, i.e. the full 2D array.diag: Reduction to the diagonal, i.e. a 1D array of diagonal elements.trace: Reduction to the trace, i.e. a scalar value.
- NONE = 'none'#
- DIAG = 'diag'#
- TRACE = 'trace'#
- class dyson.representations.enums.Component(*values)[source]#
Bases:
RepresentationEnumEnumeration for the component of the dynamic representation.
The valid components are:
full: The full (real-valued or complex-valued) representation.real: The real part of the representation.imag: The imaginary part of the representation, represented as a real-valued array.
- FULL = 'full'#
- REAL = 'real'#
- IMAG = 'imag'#
- class dyson.representations.enums.Ordering(*values)[source]#
Bases:
RepresentationEnumEnumeration for the time ordering of the dynamic representation.
The valid orderings are:
ordered: Time-ordered representation.advanced: Advanced representation, i.e. affects the past (non-causal).retarded: Retarded representation, i.e. affects the future (causal).
- ORDERED = 'ordered'#
- ADVANCED = 'advanced'#
- RETARDED = 'retarded'#