3 Created on Wed Nov 9 14:03:29 2016
12 simul_name =
"dm_init"
23 This fonction is available just for alt =0 or/and norms = 0
26 ssize = int(2**np.ceil(np.log2(pupdiam) + 1))
27 cent = ssize / 2 + 0.5
28 pitch = int(pupdiam / (nact - 1))
29 extent = pitch * (nact + 5)
30 n1 = np.floor(cent - extent / 2)
31 n2 = np.ceil(cent + extent / 2)
38 p_geom = ao.Param_geom()
40 p_geom.set_pupdiam(pupdiam)
45 p_tel = ao.Param_tel()
66 p_dm0.set_coupling(0.2)
67 p_dm0.set_unitpervolt(1.)
68 p_dm0.set_push4imat(1.)
69 p_dm0.set_margin_out(0)