lsst.sims.ocs.configuration.field module¶
-
class
lsst.sims.ocs.configuration.field.
Field
(fid, fov, ra, dec, gl, gb, el, eb)[source]¶ Bases:
future.types.newobject.newobject
Class for handling field information.
This is the class for handling the field information on the sky. The values contained within the class are all kept in degrees. Properties are exposed that present those values in radians.
-
fid
¶ int – The field’s ID.
-
fov
¶ float – The field’s field-of-view.
-
ra
¶ float – The field’s right ascension.
-
dec
¶ float – The field’s declination.
-
gl
¶ float – The field’s galactic latitude.
-
gb
¶ float – The field’s galactic longitude.
-
el
¶ float – The field’s ecliptic latitude.
-
eb
¶ float – The field’s ecliptic longitude.
Initialize the class.
Note
All angular values are expected to be in degrees!
Parameters: - fid (int) – The field’s ID.
- fov (float) – The field’s field-of-view.
- ra (float) – The field’s right ascension.
- dec (float) – The field’s declination.
- gl (float) – The field’s galactic latitude.
- gb (float) – The field’s galactic longitude.
- el (float) – The field’s ecliptic latitude.
- eb (float) – The field’s ecliptic longitude.
-
classmethod
from_topic
(topic)[source]¶ Alternate initializer.
Parameters: topic (SALPY_scheduler.fieldC) – The field topic instance. Returns: field.Field
-
dec_rad
¶ float – Declination in radians.
-
eb_rad
¶ float – Ecliptic longitude in radians.
-
el_rad
¶ float – Ecliptic latitude in radians.
-
fov_rad
¶ float – Field-of-view in radians.
-
gb_rad
¶ float – Galactic longitude in radians.
-
gl_rad
¶ float – Galactic latitude in radians.
-
ra_rad
¶ float – Right ascension in radians.
-