示例#1
0
    def test_runLOS(self):
        config = confParse.loadSoapyConfig(
            os.path.join(CONFIG_PATH, "sh_8x8.yaml"))

        los = lineofsight.LineOfSight(config.wfss[0], config)

        testPhase = numpy.arange(config.sim.simSize**2).reshape(
            (config.sim.simSize, ) * 2)

        phs = los.frame(testPhase)
示例#2
0
    def test_runLOS(self):
        config = confParse.Configurator(os.path.join(CONFIG_PATH, "sh_8x8.py"))
        config.loadSimParams()

        # mask = aoSimLib.circle(config.sim.pupilSize/2., config.sim.simSize)
        los = lineofsight.LineOfSight(config.wfss[0], config)

        testPhase = numpy.arange(config.sim.simSize**2).reshape(
            (config.sim.simSize, ) * 2)

        phs = los.frame(testPhase)
示例#3
0
    def test_initLOS(self):
        config = confParse.Configurator(os.path.join(CONFIG_PATH, "sh_8x8.py"))
        config.loadSimParams()

        # mask = aoSimLib.circle(config.sim.pupilSize/2., config.sim.simSize)
        los = lineofsight.LineOfSight(config.wfss[0], config)
示例#4
0
    def test_initLOS(self):
        config = confParse.loadSoapyConfig(
            os.path.join(CONFIG_PATH, "sh_8x8.yaml"))

        los = lineofsight.LineOfSight(config.wfss[0], config)
示例#5
0
 def initLOS(self):
     self.los = lineofsight.LineOfSight(self.config.scis[0], self.config)