Exemplo n.º 1
0
    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)
Exemplo n.º 2
0
    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)))