COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
shesha.util.psfMap.PSF_map Class Reference
Collaboration diagram for shesha.util.psfMap.PSF_map:

Public Member Functions

def __init__ (self, SR=np.zeros((0, 0)), radius=0, wl=0, NGS=None, LGS=None, TS=None, AOtype="AO", sup=None, filename=None)
 SR_map class. More...
 
def setNGS (self, NGS, NGSy=None)
 
def setLGS (self, LGS, LGSy=None)
 
def setTS (self, TS, TSy=None)
 
def setWaveLength (self, wl)
 
def plot (self, title=False, GS=False, WFS=False, LGS=False, NGS=False, TS=False)
 
def save (self, name="")
 
def read (self, name)
 

Public Attributes

 map
 
 NGSx
 
 NGSy
 
 LGSx
 
 LGSy
 
 TSx
 
 TSy
 
 wavelength
 
 type
 
 NGS
 
 LGS
 

Detailed Description

Definition at line 43 of file psfMap.py.

Constructor & Destructor Documentation

◆ __init__()

def shesha.util.psfMap.PSF_map.__init__ (   self,
  SR = np.zeros((0, 0)),
  radius = 0,
  wl = 0,
  NGS = None,
  LGS = None,
  TS = None,
  AOtype = "AO",
  sup = None,
  filename = None 
)

SR_map class.

SR np.ndarray : array of strehl (organised by position) radius float : radius of the map (in arcsec) wl float : wavelength of observation (in nm) NGS np.ndarray : position (arcsec) of the NGS (1st line:x axis, 2nd:y axis) LGS np.ndarray : position (arcsec) of the LGS (1st line:x axis, 2nd:y axis) TS np.ndarray : position (arcsec) of the TS (1st line:x axis, 2nd:y axis) sup shesha.supervisor : shesha supervisor to retrieve all data from filename str : filename to read the psf map from

Warning
using 'sup' will take only the supervisor into consideration using 'filename' will overide previous values of the psf map (unless called with sup)

Definition at line 61 of file psfMap.py.

Member Function Documentation

◆ plot()

def shesha.util.psfMap.PSF_map.plot (   self,
  title = False,
  GS = False,
  WFS = False,
  LGS = False,
  NGS = False,
  TS = False 
)

Definition at line 151 of file psfMap.py.

◆ read()

def shesha.util.psfMap.PSF_map.read (   self,
  name 
)

Definition at line 200 of file psfMap.py.

◆ save()

def shesha.util.psfMap.PSF_map.save (   self,
  name = "" 
)

Definition at line 172 of file psfMap.py.

◆ setLGS()

def shesha.util.psfMap.PSF_map.setLGS (   self,
  LGS,
  LGSy = None 
)

Definition at line 130 of file psfMap.py.

◆ setNGS()

def shesha.util.psfMap.PSF_map.setNGS (   self,
  NGS,
  NGSy = None 
)

Definition at line 121 of file psfMap.py.

◆ setTS()

def shesha.util.psfMap.PSF_map.setTS (   self,
  TS,
  TSy = None 
)

Definition at line 139 of file psfMap.py.

◆ setWaveLength()

def shesha.util.psfMap.PSF_map.setWaveLength (   self,
  wl 
)

Definition at line 148 of file psfMap.py.

Member Data Documentation

◆ LGS

shesha.util.psfMap.PSF_map.LGS

Definition at line 135 of file psfMap.py.

◆ LGSx

shesha.util.psfMap.PSF_map.LGSx

Definition at line 78 of file psfMap.py.

◆ LGSy

shesha.util.psfMap.PSF_map.LGSy

Definition at line 79 of file psfMap.py.

◆ map

shesha.util.psfMap.PSF_map.map

Definition at line 63 of file psfMap.py.

◆ NGS

shesha.util.psfMap.PSF_map.NGS

Definition at line 126 of file psfMap.py.

◆ NGSx

shesha.util.psfMap.PSF_map.NGSx

Definition at line 70 of file psfMap.py.

◆ NGSy

shesha.util.psfMap.PSF_map.NGSy

Definition at line 71 of file psfMap.py.

◆ TSx

shesha.util.psfMap.PSF_map.TSx

Definition at line 86 of file psfMap.py.

◆ TSy

shesha.util.psfMap.PSF_map.TSy

Definition at line 87 of file psfMap.py.

◆ type

shesha.util.psfMap.PSF_map.type

Definition at line 94 of file psfMap.py.

◆ wavelength

shesha.util.psfMap.PSF_map.wavelength

Definition at line 93 of file psfMap.py.


The documentation for this class was generated from the following file: