P-Class (parametres) Param_atmos.
More...
|
def | __init__ (self) |
| Number of turbulent layers. More...
|
|
def | get_nscreens (self) |
| Set the number of turbulent layers. More...
|
|
def | set_nscreens (self, n) |
| Set the number of turbulent layers. More...
|
|
def | get_r0 (self) |
| Get the global r0. More...
|
|
def | set_r0 (self, r) |
| Set the global r0. More...
|
|
def | get_pupixsize (self) |
| Get the pupil pixel size. More...
|
|
def | set_pupixsize (self, xsize) |
| Set the pupil pixel size. More...
|
|
def | get_L0 (self) |
| Get the L0 per layers. More...
|
|
def | set_L0 (self, l) |
| Set the L0 per layers. More...
|
|
def | get_dim_screens (self) |
| Get the size of the phase screens. More...
|
|
def | set_dim_screens (self, l) |
| Set the size of the phase screens. More...
|
|
def | get_alt (self) |
| Get the altitudes of each layer. More...
|
|
def | set_alt (self, h) |
| Set the altitudes of each layer. More...
|
|
def | get_winddir (self) |
| Get the wind direction for each layer. More...
|
|
def | set_winddir (self, l) |
| Set the wind direction for each layer. More...
|
|
def | get_windspeed (self) |
| Get the the wind speed for each layer. More...
|
|
def | set_windspeed (self, l) |
| Set the the wind speed for each layer. More...
|
|
def | get_frac (self) |
| Get the fraction of r0 for each layers. More...
|
|
def | set_frac (self, l) |
| Set the fraction of r0 for each layers. More...
|
|
def | get_deltax (self) |
| Get the translation speed on axis x for each layer. More...
|
|
def | set_deltax (self, l) |
| Set the translation speed on axis x for each layer. More...
|
|
def | get_deltay (self) |
| Get the translation speed on axis y for each layer. More...
|
|
def | set_deltay (self, l) |
| Set the translation speed on axis y for each layer. More...
|
|
def | get_seeds (self) |
| Get the seed for each layer. More...
|
|
def | set_seeds (self, l) |
| Set the seed for each layer. More...
|
|
|
| nscreens = property(get_nscreens, set_nscreens) |
|
| r0 = property(get_r0, set_r0) |
|
| pupixsize = property(get_pupixsize, set_pupixsize) |
|
| L0 = property(get_L0, set_L0) |
|
| dim_screens = property(get_dim_screens, set_dim_screens) |
|
| alt = property(get_alt, set_alt) |
|
| winddir = property(get_winddir, set_winddir) |
|
| windspeed = property(get_windspeed, set_windspeed) |
|
| frac = property(get_frac, set_frac) |
|
| seeds = property(get_seeds, set_seeds) |
|
P-Class (parametres) Param_atmos.
Definition at line 46 of file PATMOS.py.
◆ __init__()
def shesha.config.PATMOS.Param_atmos.__init__ |
( |
|
self | ) |
|
Number of turbulent layers.
Definition at line 49 of file PATMOS.py.
49 """ Number of turbulent layers."""
53 """ Pupil pixel size (in meters)."""
54 self.__pupixsize =
None
55 """ L0 per layers in meters."""
57 """ Linear size of phase screens."""
58 self.__dim_screens =
None
59 """ Altitudes of each layer."""
61 """ Wind directions of each layer."""
63 """ Wind speeds of each layer."""
64 self.__windspeed =
None
65 """ Fraction of r0 for each layer."""
67 """ x translation speed (in pix / iteration) for each layer."""
69 """ y translation speed (in pix / iteration) for each layer."""
71 """ RNG Seeds for each layer."""
◆ get_alt()
def shesha.config.PATMOS.Param_atmos.get_alt |
( |
|
self | ) |
|
Get the altitudes of each layer.
:return: (lit of float) : altitudes
Definition at line 160 of file PATMOS.py.
◆ get_deltax()
def shesha.config.PATMOS.Param_atmos.get_deltax |
( |
|
self | ) |
|
Get the translation speed on axis x for each layer.
:return: (lit of float) : translation speed
Definition at line 228 of file PATMOS.py.
◆ get_deltay()
def shesha.config.PATMOS.Param_atmos.get_deltay |
( |
|
self | ) |
|
Get the translation speed on axis y for each layer.
:return: (lit of float) : translation speed
Definition at line 248 of file PATMOS.py.
248 def set_deltay(self, l):
249 """ Set the translation speed on axis y for each layer
◆ get_dim_screens()
def shesha.config.PATMOS.Param_atmos.get_dim_screens |
( |
|
self | ) |
|
Get the size of the phase screens.
:return: (lit of float) : phase screens sizes
Definition at line 143 of file PATMOS.py.
144 return self.__dim_screens
◆ get_frac()
def shesha.config.PATMOS.Param_atmos.get_frac |
( |
|
self | ) |
|
Get the fraction of r0 for each layers.
:return: (lit of float) : fraction of r0
Definition at line 211 of file PATMOS.py.
◆ get_L0()
def shesha.config.PATMOS.Param_atmos.get_L0 |
( |
|
self | ) |
|
Get the L0 per layers.
:return: (lit of float) : L0 for each layers
Definition at line 126 of file PATMOS.py.
◆ get_nscreens()
def shesha.config.PATMOS.Param_atmos.get_nscreens |
( |
|
self | ) |
|
Set the number of turbulent layers.
:return: (long) number of screens.
Definition at line 78 of file PATMOS.py.
79 return self.__nscreens
◆ get_pupixsize()
def shesha.config.PATMOS.Param_atmos.get_pupixsize |
( |
|
self | ) |
|
Get the pupil pixel size.
:return: (float) : pupil pixel size
Definition at line 110 of file PATMOS.py.
111 return self.__pupixsize
◆ get_r0()
def shesha.config.PATMOS.Param_atmos.get_r0 |
( |
|
self | ) |
|
Get the global r0.
:return: (float) : global r0
Definition at line 94 of file PATMOS.py.
◆ get_seeds()
def shesha.config.PATMOS.Param_atmos.get_seeds |
( |
|
self | ) |
|
Get the seed for each layer.
:return: (lit of int) : seed
Definition at line 268 of file PATMOS.py.
268 :param l: (lit of int) : seed
270 self.__seeds = csu.enforce_array(l, size=self.nscreens, dtype=np.int64,
◆ get_winddir()
def shesha.config.PATMOS.Param_atmos.get_winddir |
( |
|
self | ) |
|
Get the wind direction for each layer.
:return: (lit of float) : wind directions
Definition at line 177 of file PATMOS.py.
178 return self.__winddir
◆ get_windspeed()
def shesha.config.PATMOS.Param_atmos.get_windspeed |
( |
|
self | ) |
|
Get the the wind speed for each layer.
:return: (list of float) : wind speeds
Definition at line 194 of file PATMOS.py.
195 return self.__windspeed
◆ set_alt()
def shesha.config.PATMOS.Param_atmos.set_alt |
( |
|
self, |
|
|
|
h |
|
) |
| |
Set the altitudes of each layer.
:param h: (lit of float) : altitudes
Definition at line 167 of file PATMOS.py.
168 self.__alt = csu.enforce_array(h, size=self.nscreens, dtype=np.float32,
◆ set_deltax()
def shesha.config.PATMOS.Param_atmos.set_deltax |
( |
|
self, |
|
|
|
l |
|
) |
| |
Set the translation speed on axis x for each layer.
:param l: (lit of float) : translation speed
Definition at line 235 of file PATMOS.py.
236 self.__deltax = csu.enforce_array(l, size=self.nscreens, dtype=np.float32,
◆ set_deltay()
def shesha.config.PATMOS.Param_atmos.set_deltay |
( |
|
self, |
|
|
|
l |
|
) |
| |
Set the translation speed on axis y for each layer.
:param l: (lit of float) : translation speed
Definition at line 255 of file PATMOS.py.
256 _deltay = property(get_deltay, set_deltay)
◆ set_dim_screens()
def shesha.config.PATMOS.Param_atmos.set_dim_screens |
( |
|
self, |
|
|
|
l |
|
) |
| |
Set the size of the phase screens.
:param l: (lit of float) : phase screens sizes
Definition at line 150 of file PATMOS.py.
151 self.__dim_screens = csu.enforce_array(l, size=self.nscreens, dtype=np.int64,
◆ set_frac()
def shesha.config.PATMOS.Param_atmos.set_frac |
( |
|
self, |
|
|
|
l |
|
) |
| |
Set the fraction of r0 for each layers.
:param l: (lit of float) : fraction of r0
Definition at line 218 of file PATMOS.py.
219 self.__frac = csu.enforce_array(l, size=self.nscreens, dtype=np.float32,
◆ set_L0()
def shesha.config.PATMOS.Param_atmos.set_L0 |
( |
|
self, |
|
|
|
l |
|
) |
| |
Set the L0 per layers.
:param l: (lit of float) : L0 for each layers
Definition at line 133 of file PATMOS.py.
134 self.__L0 = csu.enforce_array(l, size=self.nscreens, dtype=np.float32,
◆ set_nscreens()
def shesha.config.PATMOS.Param_atmos.set_nscreens |
( |
|
self, |
|
|
|
n |
|
) |
| |
Set the number of turbulent layers.
:param n: (long) number of screens.
Definition at line 85 of file PATMOS.py.
86 self.__nscreens = csu.enforce_int(n)
◆ set_pupixsize()
def shesha.config.PATMOS.Param_atmos.set_pupixsize |
( |
|
self, |
|
|
|
xsize |
|
) |
| |
Set the pupil pixel size.
:param xsize: (float) : pupil pixel size
Definition at line 117 of file PATMOS.py.
118 self.__pupixsize = csu.enforce_float(xsize)
◆ set_r0()
def shesha.config.PATMOS.Param_atmos.set_r0 |
( |
|
self, |
|
|
|
r |
|
) |
| |
Set the global r0.
:param r: (float) : global r0
Definition at line 101 of file PATMOS.py.
102 self.__r0 = csu.enforce_float(r)
◆ set_seeds()
def shesha.config.PATMOS.Param_atmos.set_seeds |
( |
|
self, |
|
|
|
l |
|
) |
| |
Set the seed for each layer.
:param l: (lit of int) : seed
Definition at line 275 of file PATMOS.py.
◆ set_winddir()
def shesha.config.PATMOS.Param_atmos.set_winddir |
( |
|
self, |
|
|
|
l |
|
) |
| |
Set the wind direction for each layer.
:param l: (lit of float) : wind directions
Definition at line 184 of file PATMOS.py.
185 self.__winddir = csu.enforce_array(l, size=self.nscreens, dtype=np.float32,
◆ set_windspeed()
def shesha.config.PATMOS.Param_atmos.set_windspeed |
( |
|
self, |
|
|
|
l |
|
) |
| |
Set the the wind speed for each layer.
:param l: (list of float) : wind speeds
Definition at line 201 of file PATMOS.py.
202 self.__windspeed = csu.enforce_array(l, size=self.nscreens, dtype=np.float32,
◆ alt
◆ dim_screens
◆ frac
◆ L0
shesha.config.PATMOS.Param_atmos.L0 = property(get_L0, set_L0) |
|
static |
◆ nscreens
◆ pupixsize
◆ r0
shesha.config.PATMOS.Param_atmos.r0 = property(get_r0, set_r0) |
|
static |
◆ seeds
◆ winddir
◆ windspeed
The documentation for this class was generated from the following file: