swot_simulator.settings.TimeDelta#

class swot_simulator.settings.TimeDelta[source]#

Bases: int

Handle a time delta in seconds in the configuration file.

__init__()#

Methods

TimeDelta.as_integer_ratio()

Return integer ratio.

TimeDelta.bit_count()

Number of ones in the binary representation of the absolute value of self.

TimeDelta.bit_length()

Number of bits necessary to represent self in binary.

TimeDelta.conjugate

Returns self, the complex conjugate of any int.

TimeDelta.from_bytes(byteorder, *[, signed])

Return the integer represented by the given array of bytes.

TimeDelta.to_bytes(length, byteorder, *[, ...])

Return an array of bytes representing an integer.

TimeDelta.__call__(value)

Call self as a function.

Attributes

TimeDelta.denominator

the denominator of a rational number in lowest terms

TimeDelta.imag

the imaginary part of a complex number

TimeDelta.numerator

the numerator of a rational number in lowest terms

TimeDelta.real

the real part of a complex number