예제 #1
0
    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)
예제 #2
0
    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)
예제 #3
0
    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))])
예제 #4
0
    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)))