예제 #1
0
 def imstack_wrapper(self, target, flist, outp):
     raw = self.current_obsnight.rawpath
     cal = self.current_obsnight.calpath
     stub = self.current_obsnight.filestub
     #imstack = parse_filestring(flist, os.path.join(raw, stub), preserve=True)
     imstack = ImageStack(flist, os.path.join(raw, stub))
     imstack.medcombine(outputfile = os.path.join(cal, outp))
     target[:] = [outp, flist]
     self.ids.calfiles.text = flist
     self.ids.calout.text = outp
     self.waiting.dismiss()
예제 #2
0
 def imstack_wrapper(self, target, flist, outp):
     print 'making flats'
     raw = self.current_obsnight.rawpath
     cal = self.current_obsnight.calpath
     stub = self.current_obsnight.filestub
     imstack = ImageStack(flist, os.path.join(raw, stub))
     imstack.medcombine(outputfile=os.path.join(cal, outp))
     print 'flats made'
     target[:] = [outp, flist]
     self.ids.calfiles.text = flist
     self.ids.calout.text = outp
     self.waiting.dismiss()