# {py:mod}`physpyx.astronomy` ```{py:module} physpyx.astronomy ``` ```{autodoc2-docstring} physpyx.astronomy :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`Orbit ` - ```{autodoc2-docstring} physpyx.astronomy.Orbit :summary: ``` ```` ### API `````{py:class} Orbit(*, a: float, mu: float, e: float | None = None, b: float | None = None) :canonical: physpyx.astronomy.Orbit ```{autodoc2-docstring} physpyx.astronomy.Orbit ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} physpyx.astronomy.Orbit.__init__ ``` ````{py:method} __str__() -> str :canonical: physpyx.astronomy.Orbit.__str__ ```` ````{py:method} step(dt: float) -> None :canonical: physpyx.astronomy.Orbit.step ```{autodoc2-docstring} physpyx.astronomy.Orbit.step ``` ```` ````{py:method} run(steps: int, every: int = 1) -> typing.Iterator[numpy.typing.NDArray] :canonical: physpyx.astronomy.Orbit.run ```{autodoc2-docstring} physpyx.astronomy.Orbit.run ``` ```` ````{py:method} even_spacing(n: int) -> typing.Iterator[numpy.typing.NDArray] :canonical: physpyx.astronomy.Orbit.even_spacing ```{autodoc2-docstring} physpyx.astronomy.Orbit.even_spacing ``` ```` ````{py:method} get_acceleration() -> numpy.typing.NDArray :canonical: physpyx.astronomy.Orbit.get_acceleration ```{autodoc2-docstring} physpyx.astronomy.Orbit.get_acceleration ``` ```` ````{py:method} get_circle_tangent_to_ellipse() -> tuple[numpy.typing.NDArray, float] :canonical: physpyx.astronomy.Orbit.get_circle_tangent_to_ellipse ```{autodoc2-docstring} physpyx.astronomy.Orbit.get_circle_tangent_to_ellipse ``` ```` `````