Observation¶
- class nyx.core.observation.Observation[source]¶
Bases:
objectOne target and one location, observed at
nobs = len(times)times.- Parameters:
location (EarthLocation)
times (Time) – Observation times.
target (SkyCoord) – Scalar target, shared across all times.
geo (Geometry) – Resolution configuration.
refract_pointing (bool, optional) – Whether the pointing direction is the apparent position rather than the geometric AltAz.
**kwargs – Further AltAz frame parameters, e.g. pressure and temperature.
- Raises:
TypeError – If target is not a scalar SkyCoord.
Attributes Summary
Observatory height in km.
Methods Summary
Build the per-observation render geometries.
get_sky_coords(key)Hemisphere coordinates in the given frame, computed once and cached.
Attributes Documentation
- height_km¶
Observatory height in km.
Methods Documentation
- get_render_geometry()[source]¶
Build the per-observation render geometries.
- Returns:
One per observation, with no leading
nobsaxis.- Return type:
- classmethod __new__(*args, **kwargs)¶