nenupy.astro.astro_tools.solar_system_source

nenupy.astro.astro_tools.solar_system_source(name, time=<Time object: scale='utc' format='datetime' value=2026-05-27 13:14:34.106290>, observer=<EarthLocation (4323936.68522791, 165534.49991696, 4670345.36540385) m>)[source]

Returns a Solar System body in the ICRS reference system.

Parameters:
  • name (str) – Name of the Solar System object (a call is made to astropy.coordinates.get_body()).

  • time (Time) – Time at which the Solar System object is observed.

  • observer (EarthLocation) – Earth location from which the source is observed.

Returns:

Coordinates object in ICRS reference frame of the Solar System object.

Return type:

SkyCoord

Example:
from astropy.time import Time
from nenupy.astro import solar_system_source

sun = solar_system_source(
    name="Sun",
    time=Time("2022-01-01T12:00:00")
)