sailfish.physics.kepler.OrbitalOrientation

class sailfish.physics.kepler.OrbitalOrientation(cm_position_x: float, cm_position_y: float, cm_velocity_x: float, cm_velocity_y: float, periapse_argument: float, periapse_time: float)[source]

Bases: NamedTuple

The position, velocity, and orientation of a two-body orbit

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

cm_position_x

Alias for field number 0

cm_position_y

Alias for field number 1

cm_velocity_x

Alias for field number 2

cm_velocity_y

Alias for field number 3

periapse_argument

Alias for field number 4

periapse_time

Alias for field number 5

cm_position_x: float

Alias for field number 0

cm_position_y: float

Alias for field number 1

cm_velocity_x: float

Alias for field number 2

cm_velocity_y: float

Alias for field number 3

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

periapse_argument: float

Alias for field number 4

periapse_time: float

Alias for field number 5