def anime(): echelleData = ('i svFilter = "x"', ) for data in echelleData: GuideTest.dispatch(data, actor="echelle")
GuideTest.init("ecam") testTL = addWindow(GuideTest.tuiModel.tlSet) testTL.makeVisible() testTL.wait_visibility() # must be visible to download images testFrame = testTL.getWdg() GuideTest.setParams(expTime=5, thresh=3, radMult=1, mode="field") echelleData = ( 'i svFilterNames = x, y, z, open, "", ""', 'i svFilter = "open"', ) for data in echelleData: GuideTest.dispatch(data, actor="echelle") def anime(): echelleData = ('i svFilter = "x"', ) for data in echelleData: GuideTest.dispatch(data, actor="echelle") # GuideTest.runDownload( # basePath = "keep/ecam/UT050422/", # imPrefix = "e", # startNum = 101, # numImages = 3, # waitMs = 2500, # ) root.mainloop()
def anime(): echelleData = ( 'i svFilter = "x"', ) for data in echelleData: GuideTest.dispatch(data, actor="echelle")
GuideTest.init("ecam") testTL = addWindow(GuideTest.tuiModel.tlSet) testTL.makeVisible() testTL.wait_visibility() # must be visible to download images testFrame = testTL.getWdg() GuideTest.setParams(expTime=5, thresh=3, radMult=1, mode="field") echelleData = ( 'i svFilterNames = x, y, z, open, "", ""', 'i svFilter = "open"', ) for data in echelleData: GuideTest.dispatch(data, actor="echelle") def anime(): echelleData = ( 'i svFilter = "x"', ) for data in echelleData: GuideTest.dispatch(data, actor="echelle") # GuideTest.runDownload( # basePath = "keep/ecam/UT050422/", # imPrefix = "e", # startNum = 101, # numImages = 3, # waitMs = 2500, # )
if __name__ == "__main__": import GuideTest root = RO.Wdg.PythonTk() GuideTest.init("gcam") testTL = addWindow(GuideTest.tuiModel.tlSet) testTL.makeVisible() testTL.wait_visibility() # must be visible to download images testFrame = testTL.getWdg() for msg in ( 'i filterNames="red", "red nd1", "red nd2", "blue", "", "", ""; minFilter=0; maxFilter=6', 'i minFocus=-10, maxFocus=20000', 'i filter=0; focus=10', ): GuideTest.dispatch(msg, actor="gmech") # GuideTest.runDownload( # basePath = "keep/gcam/UT050422/", # imPrefix = "g", # startNum = 101, # numImages = 3, # waitMs = 2500, # ) root.mainloop()