AngleRotation

Contents

AngleRotation#

class snake.core.sampling.factories.AngleRotation(value)[source]#

Bases: float, NoCaseEnum

Available rotation angle for density sampling.

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

ZERO

GOLDEN

GOLDEN_MRI