Пример #1
0
    def __init__(self, *args, **kwargs):
        mkrefclass_template.__init__(self, *args, **kwargs)

        # Set the reflabel as the name of the imported module
        self.reflabel = 'bad_pixel_mask'

        # Set the reftype
        self.reftype = 'bpm'
Пример #2
0
    def __init__(self, *args, **kwargs):
        mkrefclass_template.__init__(self, *args, **kwargs)

        # Set the reflabel as the name of the imported module
        self.reflabel = 'readnoise'

        # Set the reftype
        self.reftype = 'rdn'
Пример #3
0
    def __init__(self, *args, **kwargs):
        mkrefclass_template.__init__(self, *args, **kwargs)

        # Set the reflabel as the name of the imported module
        self.reflabel = 'example_readnoise_module'

        # Set the reftype as rdnoise since example_readnoise_modeul is a
        # readnoise reference file generator.
        self.reftype = 'rdnoise'
    def __init__(self, *args, **kwargs):
        mkrefclass_template.__init__(self, *args, **kwargs)

        # self.reflabel should be set to the name of the user-generated
        # script that this class is wrapping around. For example, if your
        # code is in nircam_readnoise.py, then set self.reflabel to
        # 'nircam_readnoise'
        self.reflabel = 'example_readnoise_module_to_plug_in'

        # This must be set to the appropriate reference file label.
        # Allowed labels include:
        # e.g. 'rdnoise', 'bpm', 'gain'
        self.reftype = 'rdnoise'