def teste_initPyrWfs(self): config = confParse.Configurator("../conf/sh_8x8.py") config.loadSimParams() mask = aoSimLib.circle(config.sim.pupilSize/2., config.sim.simSize) wfs = WFS.Pyramid(config.sim, config.wfss[0], config.atmos, config.lgss[0], mask)
def testf_PyrWfsFrame(self): config = confParse.Configurator("../conf/sh_8x8.py") config.loadSimParams() mask = aoSimLib.circle(config.sim.pupilSize/2., config.sim.simSize) wfs = WFS.Pyramid(config.sim, config.wfss[0], config.atmos, config.lgss[0], mask) wfs.frame(numpy.zeros((config.sim.simSize, config.sim.simSize)))