p_dm1.set_push4imat(10.)  # unedited

# centroiders
p_centroider0 = conf.Param_centroider()
#p_centroider1 = conf.Param_centroider()
p_centroiders = [p_centroider0]  #,p_centroider1]

p_centroider0.set_nwfs(0)
p_centroider0.set_type("cog")
#p_centroider1.set_nwfs(0)
#p_centroider1.set_type("cog")
# p_centroider0.set_type("corr")
# p_centroider0.set_type_fct("model")

# controllers
p_controller0 = conf.Param_controller()
p_controllers = [p_controller0]

p_controller0.set_type("ls")  # Confirm whether this is the correct controller
p_controller0.set_nwfs([0])  #,1])
p_controller0.set_ndm([0, 1])
p_controller0.set_maxcond(1500.)
p_controller0.set_delay(1.)
p_controller0.set_gain(0.2)

#p_controller0.set_modopti(0)
#p_controller0.set_nrec(2048)
#p_controller0.set_nmodes(216)
#p_controller0.set_gmin(0.001)
#p_controller0.set_gmax(0.5)
#p_controller0.set_ngain(500)
示例#2
0
p_dms[1].set_type("tt")
p_dms[1].set_alt(0.)
p_dms[1].set_unitpervolt(1.)
p_dms[1].set_push4imat(1.)

#centroiders
#p_centroider0=conf.Param_centroider()
p_centroiders = [conf.Param_centroider()]

for i in range(len(p_centroiders)):

    p_centroiders[i].set_nwfs(i)
    p_centroiders[i].set_type("cog")
    #p_centroiders[i].set_nmax(8)
    p_centroiders[i].set_thresh(0)

#p_centroider0.set_type("corr")
#p_centroider0.set_type_fct("model")

#controllers
p_controller1 = conf.Param_controller()
p_controllers = [p_controller1]

p_controller1.set_type("ls")
p_controller1.set_nwfs([0])
p_controller1.set_ndm([0, 1])
p_controller1.set_maxcond(20)
p_controller1.set_delay(0)
p_controller1.set_gain(0.3)