Пример #1
0
 def __init__(self, rc=None):
     """
     :param rc: Used to store reduction information
     :type rc: ReductionContext
     """
     log.debug("GemcombineFile __init__")
     PyrafETIFile.__init__(self, rc)
     self.diskinlist = []
     self.taskname = "gemcombine"
     self.pid_str = str(os.getpid())
     self.pid_task = self.pid_str + self.taskname
     self.adinput = self.rc.get_inputs_as_astrodata()
Пример #2
0
 def __init__(self, rc=None, ad=None):
     """
     :param rc: Used to store reduction information
     :type rc: ReductionContext
     """
     log.debug("GswavelengthFile __init__")
     PyrafETIFile.__init__(self, rc)
     self.diskinlist = []
     self.taskname = "gswavelength"
     self.pid_str = str(os.getpid())
     self.pid_task = self.pid_str + self.taskname
     if ad:
         self.adinput = [ad]
     else:
         self.adinput = self.rc.get_inputs_as_astrodata()