Beispiel #1
0
    def __init__(self, rc=None, ad=None):
        """
        Adds the file and parameter objects to a list

        :param rc: Used to store reduction information
        :type rc: ReductionContext
        """
        log.debug("SplotETI __init__")
        PyrafETI.__init__(self, rc)
        self.clparam_dict = {}
        self.add_file(InAtList(rc,ad))
        for param in hardcoded_params:
            self.add_param(SplotParam(rc, param, hardcoded_params[param]))
Beispiel #2
0
    def __init__(self, rc):
        """
        Adds the file and parameter objects to a list

        :param rc: Used to store reduction information
        :type rc: ReductionContext
        """
        log.debug("GsflatETI __init__")
        PyrafETI.__init__(self, rc)
        self.clparam_dict = {}
        self.add_file(InAtList(rc))
        self.add_file(OutFile(rc))
        self.add_file(LogFile(rc))
        self.add_param(FlVardq(rc))
        for param in hardcoded_params:
            self.add_param(GsflatParam(rc, param, hardcoded_params[param]))
Beispiel #3
0
    def __init__(self, rc, ad):
        """
        Adds the file and parameter objects to a list

        :param rc: Used to store reduction information
        :type rc: ReductionContext
        """
        log.debug("GsappwaveETI __init__")
        PyrafETI.__init__(self, rc)
        self.clparam_dict = {}

        # if ad then it will only process the ad
        self.add_file(InAtList(rc, ad))
        self.add_file(OutAtList(rc, ad))
        self.add_file(LogFile(rc))
        for param in hardcoded_params:
            self.add_param(GsappwaveParam(rc, param, hardcoded_params[param]))
Beispiel #4
0
    def __init__(self, rc=None, ad=None):
        """
        Adds the file and parameter objects to a list

        :param rc: Used to store reduction information
        :type rc: ReductionContext
        """
        log.debug("GscrrejETI __init__")
        PyrafETI.__init__(self, rc)
        self.clparam_dict = {}
        
        if ad is not None:
            adinput = [ad]
        else:
            adinput = rc.get_inputs_as_astrodata()
        for ad in adinput:
            self.add_file(InFile(rc,ad))
            self.add_file(OutFile(rc,ad))
        self.add_file(LogFile(rc))
        for param in hardcoded_params:
            self.add_param(GscrrejParam(rc, param, hardcoded_params[param]))
    def __init__(self, rc):
        """
        Adds the file and parameter objects to a list

        :param rc: Used to store reduction information
        :type rc: ReductionContext
        """
        log.debug("GemcombineETI __init__")
        PyrafETI.__init__(self, rc)
        self.clparam_dict = {}
        self.add_file(InAtList(rc))
        self.add_file(OutFile(rc))
        self.add_file(LogFile(rc))
        self.add_param(FlVardq(rc))
        self.add_param(FlDqprop(rc))
        self.add_param(Combine(rc))
        self.add_param(Masktype(rc))
        self.add_param(Nlow(rc))
        self.add_param(Nhigh(rc))
        self.add_param(Reject(rc))
        for param in hardcoded_params:
            self.add_param(GemcombineParam(rc, param, hardcoded_params[param]))
Beispiel #6
0
    def __init__(self, rc, ad):
        """
        Adds the file and parameter objects to a list

        :param rc: Used to store reduction information
        :type rc: ReductionContext
        """
        log.debug("GmosaicETI __init__")
        PyrafETI.__init__(self, rc)
        self.clparam_dict = {}

        # if ad then it will only process the ad
        self.add_file(InAtList(rc, ad))
        self.add_file(OutAtList(rc, ad))
        self.add_file(LogFile(rc))
        self.add_param(FlPaste(rc))
        self.add_param(FlFixpix(rc))
        self.add_param(Geointer(rc))
        self.add_param(FlVardq(rc, ad))
        self.add_param(FlClean(rc, ad))
        for param in mosaic_detectors_hardcoded_params:
            self.add_param(GmosaicParam(rc, param, \
                           mosaic_detectors_hardcoded_params[param]))