Source code for adam_core.orbits.ephemeris

import warnings

import pyarrow as pa
import quivr as qv

from ..coordinates.cartesian import CartesianCoordinates
from ..coordinates.spherical import SphericalCoordinates
from ..observers.observers import Observers


[docs] class Ephemeris(qv.Table): orbit_id = qv.LargeStringColumn() object_id = qv.LargeStringColumn(nullable=True) coordinates = SphericalCoordinates.as_column() predicted_magnitude_v = qv.Float64Column(nullable=True) # The coordinates as observed by the observer will be the result of # light emitted or reflected from the object at the time of the observation. # Light, however, has a finite speed and so the object's observed cooordinates # will be different from its actual geometric coordinates at the time of observation. # Aberrated coordinates are coordinates that account for the light travel time # from the time of emission/reflection to the time of observation alpha = qv.Float64Column(nullable=True) light_time = qv.Float64Column(nullable=True) aberrated_coordinates = CartesianCoordinates.as_column(nullable=True)