pylupnt.get_body_pos_vel¶
- pylupnt.get_body_pos_vel(*args, **kwargs)¶
Overloaded function.
get_body_pos_vel(t_tdb: Real, center: pylupnt._pylupnt.BodyId, target: pylupnt._pylupnt.BodyId, frame: pylupnt._pylupnt.Frame) -> typing.Annotated[numpy.typing.NDArray[Real], “[6, 1]”]
Position+velocity of target relative to center from the DE ephemeris, in frame [m, m/s].
get_body_pos_vel(t_tdb: Real, center: pylupnt._pylupnt.BodyId, target: pylupnt._pylupnt.BodyId, frame: pylupnt._pylupnt.Frame, units: pylupnt._pylupnt.UnitSystem = <pylupnt._pylupnt.UnitSystem object at 0x7f7c0060c3b0>, coordinate_scale: pylupnt._pylupnt.CoordinateScale = <CoordinateScale.TDB: 1>) -> typing.Annotated[numpy.typing.NDArray[Real], “[6, 1]”]
Position+velocity of target relative to center in frame, rescaled to units with the given relativistic coordinate scale.
get_body_pos_vel(t_tdb: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 1]”], center: pylupnt._pylupnt.BodyId, target: pylupnt._pylupnt.BodyId, frame: pylupnt._pylupnt.Frame) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 6]”]
Vectorized: per-epoch position+velocity of target relative to center in frame [N x 6].
get_body_pos_vel(t_tdb: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 1]”], center: pylupnt._pylupnt.BodyId, target: pylupnt._pylupnt.BodyId, frame: pylupnt._pylupnt.Frame, units: pylupnt._pylupnt.UnitSystem = <pylupnt._pylupnt.UnitSystem object at 0x7f7c0060da70>, coordinate_scale: pylupnt._pylupnt.CoordinateScale = <CoordinateScale.TDB: 1>) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 6]”]
Vectorized: per-epoch position+velocity of target relative to center in frame, rescaled to units with the given coordinate scale [N x 6].
get_body_pos_vel(t_tdb: Real, target: pylupnt._pylupnt.BodyId, frame: pylupnt._pylupnt.Frame) -> typing.Annotated[numpy.typing.NDArray[Real], “[6, 1]”]
Position+velocity of target relative to frame’s natural center body, in frame [m, m/s].
get_body_pos_vel(t_tdb: Real, target: pylupnt._pylupnt.BodyId, frame: pylupnt._pylupnt.Frame, units: pylupnt._pylupnt.UnitSystem = <pylupnt._pylupnt.UnitSystem object at 0x7f7c005f8370>, coordinate_scale: pylupnt._pylupnt.CoordinateScale = <CoordinateScale.TDB: 1>) -> typing.Annotated[numpy.typing.NDArray[Real], “[6, 1]”]
Position+velocity of target relative to frame’s natural center body, rescaled to units with the given coordinate scale.
get_body_pos_vel(t_tdb: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 1]”], target: pylupnt._pylupnt.BodyId, frame: pylupnt._pylupnt.Frame) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 6]”]
Vectorized: per-epoch position+velocity of target relative to frame’s natural center body, in frame [N x 6].
get_body_pos_vel(t_tdb: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 1]”], target: pylupnt._pylupnt.BodyId, frame: pylupnt._pylupnt.Frame, units: pylupnt._pylupnt.UnitSystem = <pylupnt._pylupnt.UnitSystem object at 0x7f7c005f9470>, coordinate_scale: pylupnt._pylupnt.CoordinateScale = <CoordinateScale.TDB: 1>) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 6]”]
Vectorized: per-epoch position+velocity of target relative to frame’s natural center body, rescaled to units with the given coordinate scale [N x 6].