def testb_initGeoLgs(self): config = confParse.loadSoapyConfig( os.path.join(CONFIG_PATH, "sh_8x8_lgs-uplink.yaml")) config.wfss[1].lgs.propagationMode = "Geometric" mask = aotools.circle(config.sim.pupilSize / 2., config.sim.simSize) lgs = LGS.LGS_Geometric(config.wfss[1], config)
def testb_initGeoLgs(self): config = confParse.Configurator( os.path.join(CONFIG_PATH, "sh_8x8_lgs-uplink.py")) config.loadSimParams() config.wfss[1].lgs.propagationMode = "Geometric" mask = aoSimLib.circle(config.sim.pupilSize / 2., config.sim.simSize) lgs = LGS.LGS_Geometric(config.wfss[1], config)
def testc_geoLgsPsf(self): config = confParse.Configurator( os.path.join(CONFIG_PATH, "sh_8x8_lgs-uplink.py")) config.loadSimParams() mask = aoSimLib.circle(config.sim.pupilSize / 2., config.sim.simSize) config.wfss[1].lgs.propagationMode = "Geometric" lgs = LGS.LGS_Geometric(config.wfss[1], config) psf = lgs.getLgsPsf( [numpy.zeros((config.sim.simSize, config.sim.simSize))])
def testc_geoLgsPsf(self): config = confParse.loadSoapyConfig( os.path.join(CONFIG_PATH, "sh_8x8_lgs-uplink.yaml")) mask = aotools.circle(config.sim.pupilSize / 2., config.sim.simSize) config.wfss[1].lgs.propagationMode = "Geometric" lgs = LGS.LGS_Geometric(config.wfss[1], config) psf = lgs.getLgsPsf( numpy.zeros( (config.atmos.scrnNo, config.sim.simSize, config.sim.simSize)))