pylupnt.convert_frame¶
- pylupnt.convert_frame(*args, **kwargs)¶
Overloaded function.
convert_frame(t_tdb: Real, rv_in: typing.Annotated[numpy.typing.ArrayLike, Real, “[6, 1]”], frame_in: pylupnt._pylupnt.Frame, frame_out: pylupnt._pylupnt.Frame, rotate_only: bool = False) -> typing.Annotated[numpy.typing.NDArray[Real], “[6, 1]”]
Convert a position+velocity state from frame_in to frame_out at t_tdb [m, m/s]. If rotate_only, skip the frame-origin translation.
convert_frame(t_tdb: Real, r_in: typing.Annotated[numpy.typing.ArrayLike, Real, “[3, 1]”], frame_in: pylupnt._pylupnt.Frame, frame_out: pylupnt._pylupnt.Frame, rotate_only: bool = False) -> typing.Annotated[numpy.typing.NDArray[Real], “[3, 1]”]
Convert a position from frame_in to frame_out at t_tdb [m]. If rotate_only, skip the frame-origin translation.
convert_frame(t_tdb: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 1]”], rv_in: typing.Annotated[numpy.typing.ArrayLike, Real, “[6, 1]”], frame_in: pylupnt._pylupnt.Frame, frame_out: pylupnt._pylupnt.Frame, rotate_only: bool = False) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 6]”]
Multi-epoch: convert the state rv_in from frame_in to frame_out at each epoch in t_tdb [N x 6].
convert_frame(t_tdb: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 1]”], r_in: typing.Annotated[numpy.typing.ArrayLike, Real, “[3, 1]”], frame_in: pylupnt._pylupnt.Frame, frame_out: pylupnt._pylupnt.Frame, rotate_only: bool = False) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 3]”]
Multi-epoch: convert the position r_in from frame_in to frame_out at each epoch in t_tdb [N x 3].
convert_frame(t_tdb: Real, rv_in: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 6]”], frame_in: pylupnt._pylupnt.Frame, frame_out: pylupnt._pylupnt.Frame, rotate_only: bool = False) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 6]”]
Convert each row (state) of rv_in from frame_in to frame_out at epoch t_tdb [N x 6].
convert_frame(t_tdb: Real, r_in: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 3]”], frame_in: pylupnt._pylupnt.Frame, frame_out: pylupnt._pylupnt.Frame, rotate_only: bool = False) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 3]”]
Convert each row (position) of r_in from frame_in to frame_out at epoch t_tdb [N x 3].
convert_frame(t_tdb: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 1]”], rv_in: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 6]”], frame_in: pylupnt._pylupnt.Frame, frame_out: pylupnt._pylupnt.Frame, rotate_only: bool = False) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 6]”]
Time-tagged rows: convert row i of rv_in from frame_in to frame_out at epoch t_tdb(i) [N x 6].
convert_frame(t_tdb: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 1]”], r_in: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, 3]”], frame_in: pylupnt._pylupnt.Frame, frame_out: pylupnt._pylupnt.Frame, rotate_only: bool = False) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, 3]”]
Time-tagged rows: convert row i of r_in from frame_in to frame_out at epoch t_tdb(i) [N x 3].