COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
par_dm Namespace Reference

Functions

def calcul_size_support_dmpzt (nact, pupdiam)
 This fonction is available just for alt =0 or/and norms = 0. More...
 

Variables

string simul_name = "dm_init"
 
int nact = 17
 
int pupdiam = 500
 
int alt = 0.
 
 p_geom = ao.Param_geom()
 
 p_tel = ao.Param_tel()
 
 p_dm0 = ao.Param_dm()
 
list p_dms = [p_dm0]
 

Function Documentation

◆ calcul_size_support_dmpzt()

def par_dm.calcul_size_support_dmpzt (   nact,
  pupdiam 
)

This fonction is available just for alt =0 or/and norms = 0.

Definition at line 24 of file par_dm.py.

24  """
25 
26  ssize = int(2**np.ceil(np.log2(pupdiam) + 1))
27  cent = ssize / 2 + 0.5
28  pitch = int(pupdiam / (nact - 1)) #--> for wfs_xpos and ypos = 0
29  extent = pitch * (nact + 5)
30  n1 = np.floor(cent - extent / 2)
31  n2 = np.ceil(cent + extent / 2)
32  taille = n2 - n1 + 1
33 
34  return taille
35 
36 
37 #geometry param :

Variable Documentation

◆ alt

int par_dm.alt = 0.

Definition at line 18 of file par_dm.py.

◆ nact

int par_dm.nact = 17

Definition at line 14 of file par_dm.py.

◆ p_dm0

par_dm.p_dm0 = ao.Param_dm()

Definition at line 60 of file par_dm.py.

◆ p_dms

list par_dm.p_dms = [p_dm0]

Definition at line 61 of file par_dm.py.

◆ p_geom

par_dm.p_geom = ao.Param_geom()

Definition at line 38 of file par_dm.py.

◆ p_tel

par_dm.p_tel = ao.Param_tel()

Definition at line 45 of file par_dm.py.

◆ pupdiam

int par_dm.pupdiam = 500

Definition at line 15 of file par_dm.py.

◆ simul_name

string par_dm.simul_name = "dm_init"

Definition at line 12 of file par_dm.py.