astro.instrument.HeaderTranslatorFactory
index
/astro-wise/AWEHOME/AWBASE/astro/instrument/HeaderTranslatorFactory.py

A Factory for HeaderTranslators

 
Functions
       
create_translator(instrument_id=None, chip_config=None, header=None)
This function produces and returns the proper HeaderTranslator
based on the instrument identifier, header, and chip_config it receives
from the caller.
 
instrument_id: name of instrument from header (usually INSTRUME keyword)
       header: a Frame.header instance to retrieve instrument_id from if
               necessary
  chip_config: an integer (or other object) specifying the configuration
               of this instruments CCDs
 
NOTE: One of instrument_id or header MUST be specified, chip_config is
      optional and will be determined automatically (at least attempted)
      if header is specified.

 
Data
        supported_instrument_list = ['OCAM', 'WFI', 'WFC', 'MDM8K', 'SUP', 'ACS', 'LBCBLUE', 'LBCRED', 'MONICA', 'ISAAC', 'WSRT', 'LOFAR', 'WFCAM', 'MEGACAM', 'ANDICAM', 'GRATAMA']