FloatEnum#
- class mrinufft.trajectories.utils.FloatEnum(value)[source]#
-
An Enum for float that is case insensitive for ist attributes.
Methods
conjugateReturn self, the complex conjugate of any float.
as_integer_ratioReturn integer ratio.
fromhexCreate a floating-point number from a hexadecimal string.
hexReturn a hexadecimal representation of a floating-point number.
is_integerReturn True if the float is an integer.
Attributes
realthe real part of a complex number
imagthe imaginary part of a complex number