39 from .
import config_setter_utils
as csu
50 """ boolean for apodizer"""
52 """ observation wavelength for each target"""
54 """ x positions on sky (in arcsec) for each target"""
56 """ y positions on sky (in arcsec) for each target"""
58 """ magnitude for each target"""
60 """ target flux for magnitude 0"""
62 """ index of dms seen by the target"""
67 :return: (bool) : apod
74 :param l: (bool) : apod
76 self.
__apod = csu.enforce_or_cast_bool(l)
78 apod = property(get_apod, set_apod)
81 """ Get the wavelength of targets
83 :return: (np.ndarray[ndim=2, dtype=np.float32]) : wavelength of targets
88 """ Set the wavelength of targets
90 :param n: (np.ndarray[ndim=2, dtype=np.float32]) : wavelength of targets
94 Lambda = property(get_Lambda, set_Lambda)
97 """ Get the X-position of targets in the field [arcsec]
99 :return: (np.ndarray[ndim=2, dtype=np.float32]) : X position of targets [arcsec]
104 """ Set the X-position of targets in the field [arcsec]
106 :param n: (np.ndarray[ndim=2, dtype=np.float32]) : X position of targets [arcsec]
108 self.
__xpos = csu.enforce_float(n)
110 xpos = property(get_xpos, set_xpos)
113 """ Get the Y-position of targets in the field [arcsec]
115 :return: (np.ndarray[ndim=2, dtype=np.float32]): Y position of targets [arcsec]
120 """ Set the Y-position of targets in the field [arcsec]
122 :param n: (np.ndarray[ndim=2, dtype=np.float32]): Y position of targets [arcsec]
124 self.
__ypos = csu.enforce_float(n)
126 ypos = property(get_ypos, set_ypos)
129 """ Get the magnitudes of targets
131 :return: (np.ndarray[ndim=2, dtype=np.float32]) : magnitudes
136 """ Set the magnitudes of targets
138 :param n: (np.ndarray[ndim=2, dtype=np.float32]) : magnitudes
140 self.
__mag = csu.enforce_float(n)
142 mag = property(get_mag, set_mag)
145 """ Get the zero point of targets
147 :return: (float) : zero point of targets
152 """ Set the zero point of targets
154 :param n: (float) : zero point of targets
156 self.
__zerop = csu.enforce_float(n)
158 zerop = property(get_zerop, set_zerop)
161 """ Get the dms_seen by the targets
163 :return: (np.ndarray[ndim=2, dtype=np.int32]) : index of dms seen
168 """ Set the dms_seen by the targets
170 :param n: (np.ndarray[ndim=2, dtype=np.int32]) : index of dms seen
172 if (isinstance(n, list)):
174 self.
__dms_seen = csu.enforce_array(n, size=n.size, dtype=np.int32,
177 dms_seen = property(get_dms_seen, set_dms_seen)