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"""
57 self.
__mag__mag =
None
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__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
92 self.
__Lambda__Lambda = csu.enforce_float(n)
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__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__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
133 return self.
__mag__mag
136 """ Set the magnitudes of targets
138 :param n: (np.ndarray[ndim=2, dtype=np.float32]) : magnitudes
140 self.
__mag__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__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__dms_seen = csu.enforce_array(n, size=n.size, dtype=np.int32,
177 dms_seen = property(get_dms_seen, set_dms_seen)
P-Class (parametres) Param_target.
def set_dms_seen(self, n)
Set the dms_seen by the targets.
def set_ypos(self, n)
Set the Y-position of targets in the field [arcsec].
def set_zerop(self, n)
Set the zero point of targets.
def set_apod(self, l)
Set apodizer flag.
def get_dms_seen(self)
Get the dms_seen by the targets.
def set_Lambda(self, n)
Set the wavelength of targets.
def get_zerop(self)
Get the zero point of targets.
def get_apod(self)
Get apodizer flag.
def get_Lambda(self)
Get the wavelength of targets.
def get_ypos(self)
Get the Y-position of targets in the field [arcsec].
def set_xpos(self, n)
Set the X-position of targets in the field [arcsec].
def get_xpos(self)
Get the X-position of targets in the field [arcsec].
def set_mag(self, n)
Set the magnitudes of targets.
def get_mag(self)
Get the magnitudes of targets.