SatelliteCameraViewer.ecliptic module
ecliptic
- SatelliteCameraViewer.ecliptic.body(which: str, obs_time: datetime, location=None)[source]
body - return the position (in RA/DEC) for a specific solar system body (Sun and Moon being the use cases).
- Parameters:
which (str) – Which body (sun, moon, etc).
obs_time (datetime`) – Time of observation.
location (tuple[float, float, float]) – Location of observer on the Earth in x,y,z coords.
- Returns:
The RA/DEC of the body
- Return type:
tuple(float, float)
- SatelliteCameraViewer.ecliptic.ecliptic(nsteps: int = 180)[source]
ecliptic - Caculate the ecliptic line.
- Parameters:
nsteps (int) – Numer of steps to use in returned line.
- Returns:
a series of points to describe the ecliptic line.
- Return type:
np.array
- SatelliteCameraViewer.ecliptic.galactic_plane(nsteps: int = 180)[source]
galactic_plane - Caculate the galatic plane.
- Parameters:
nsteps (int) – Numer of steps to use in returned line.
- Returns:
a series of points to describe the galatic plane.
- Return type:
np.array