enums#
- class airtrafficsim.utils.enums.EngineType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s engine type.
- Attributes:
- JET = 1
- TURBOPROP = 2
- PISTON = 3
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.WakeCat(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s wake category.
- Attributes:
- J = 1
Jumbo
- H = 2
Heavy
- M = 3
Medium
- L = 4
Light
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.FlightPhase(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s flight phase.
- Attributes:
- AT_GATE_ORIGIN = 1
- TAXI_ORIGIN = 2
- TAKEOFF = 3
- INITIAL_CLIMB = 4
- CLIMB = 5
- CRUISE = 6
- DESCENT = 7
- APPROACH = 8
- LANDING = 9
- TAXI_DEST = 10
- AT_GATE_DEST = 11
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.Config(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s wing and landing gear configuration.
- Attributes:
- TAKEOFF = 1
- INITIAL_CLIMB = 2
- CLEAN = 3
- APPROACH = 4
- LANDING =
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.SpeedMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s actual speed mode.
- Attributes:
- CAS = 1
- MACH = 2
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.VerticalMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s actual vertical mode.
- Attributes:
- LEVEL = 1
- CLIMB = 2
- DESCENT = 3
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.APSpeedMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s autopilot target vertical mode.
- Attributes:
- CONSTANT_MACH = 1
- CONSTANT_CAS = 2
- ACCELERATE = 3
- DECELERATE = 4
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.APThrottleMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s autopilot target throttle mode.
- Attributes:
- AUTO = 1,
- SPEED = 2
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.APVerticalMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s autopilot target vertical mode.
- Attributes:
- ALT_HOLD = 1
- VS = 2
- FLC = 3
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.
- class airtrafficsim.utils.enums.APLateralMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
An enumeration for aircraft’s autopilot target lateral mode.
- Attributes:
- HEADING = 1
- LNAV = 2
Methods
as_integer_ratio
(/)Return integer ratio.
bit_count
(/)Number of ones in the binary representation of the absolute value of self.
bit_length
(/)Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
(/, bytes[, byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
(/[, length, byteorder, signed])Return an array of bytes representing an integer.