FloatEnum#
- class mrinufft.trajectories.utils.FloatEnum(value)[source]#
-
An Enum for float that is case insensitive for ist attributes.
Methods
conjugate
Return self, the complex conjugate of any float.
as_integer_ratio
Return integer ratio.
fromhex
Create a floating-point number from a hexadecimal string.
hex
Return a hexadecimal representation of a floating-point number.
is_integer
Return True if the float is an integer.
Attributes
real
the real part of a complex number
imag
the imaginary part of a complex number