astro.instrument package

Submodules

astro.instrument.ChipLayout module

astro.instrument.ConfigUpdater module

astro.instrument.ConfigUpdaterACAM module

astro.instrument.ConfigUpdaterDECAM module

astro.instrument.ConfigUpdaterFactory module

astro.instrument.ConfigUpdaterMEGACAM module

astro.instrument.ConfigUpdaterOMEGACAM module

astro.instrument.ConfigUpdaterVIRCAM module

astro.instrument.ConfigUpdaterWFC module

astro.instrument.ConfigUpdaterWFI module

astro.instrument.DetectorBlock module

class astro.instrument.DetectorBlock.DetectorBlock

Bases: object

This abstract base class represents the geometry of a detector block.

chip_corners = {}
chip_orientation = {}
get_chipcorner(chip_name)
get_chipposition(chip_name, x, y)
get_gridposition(chip_name, Xpos, Ypos)
class astro.instrument.DetectorBlock.DetectorBlockDECAM

Bases: astro.instrument.DetectorBlock.DetectorBlock

Based on ChipLayout calculations

class astro.instrument.DetectorBlock.DetectorBlockMDM8K

Bases: astro.instrument.DetectorBlock.DetectorBlock

chip_corners = {'0': (-2030.0, -1991.0), '1': (-2037.0, -942.0), '2': (-2037.0, 110.0), '3': (-2034.0, 1153.0), '4': (2070.0, 1150.0), '5': (2070.0, 99.0), '6': (2066.0, -948.0), '7': (2063.0, -1992.0)}
chip_orientation = {'0': (0.0, 1.0, 1.0, 0.0), '1': (0.0, 1.0, 1.0, 0.0), '2': (0.0, 1.0, 1.0, 0.0), '3': (0.0, 1.0, 1.0, 0.0), '4': (0.0, -1.0, 1.0, 0.0), '5': (0.0, -1.0, 1.0, 0.0), '6': (0.0, -1.0, 1.0, 0.0), '7': (0.0, -1.0, 1.0, 0.0)}
class astro.instrument.DetectorBlock.DetectorBlockMEGACAM

Bases: astro.instrument.DetectorBlock.DetectorBlock

Based on ChipLayout calculations

chip_corners = {'ccd00': (-7577.414053, 9801.815674), 'ccd01': (-5392.982156, 9767.556002), 'ccd02': (-3245.223052, 9753.880183), 'ccd03': (-1110.447583, 9744.731465), 'ccd04': (1023.591048, 9735.781297), 'ccd05': (3150.390752, 9739.736134), 'ccd06': (5294.028314, 9751.147713), 'ccd07': (7451.174334, 9778.941062), 'ccd08': (9630.913067, 9808.217237), 'ccd09': (-7523.390992, 4682.667717), 'ccd10': (-5358.881637, 4673.482787), 'ccd11': (-3222.7694, 4664.020807), 'ccd12': (-1096.362415, 4661.705226), 'ccd13': (1022.471774, 4661.395274), 'ccd14': (3143.455206, 4658.823191), 'ccd15': (5271.734715, 4667.249679), 'ccd16': (7405.7404, 4670.825982), 'ccd17': (9575.438788, 4673.101973), 'ccd18': (-9570.510902, -4635.822988), 'ccd19': (-7410.247898, -4620.813118), 'ccd20': (-5269.602681, -4621.557916), 'ccd21': (-3142.311048, -4615.294057), 'ccd22': (-1024.467455, -4614.89576), 'ccd23': (1102.229068, -4612.66318), 'ccd24': (3221.991773, -4619.135475), 'ccd25': (5362.279605, -4620.723281), 'ccd26': (7521.7429, -4634.550659), 'ccd27': (-9622.505185, -9765.591454), 'ccd28': (-7444.90079, -9722.069592), 'ccd29': (-5288.660746, -9704.205724), 'ccd30': (-3151.141627, -9702.483841), 'ccd31': (-1023.181624, -9696.107176), 'ccd32': (1108.335574, -9701.2289), 'ccd33': (3242.944913, -9704.222451), 'ccd34': (5389.372617, -9718.981184), 'ccd35': (7565.182205, -9759.998546)}
chip_orientation = {'ccd00': (-1.0, 0.0, 0.0, -1.0), 'ccd01': (-1.0, 0.0, 0.0, -1.0), 'ccd02': (-1.0, 0.0, 0.0, -1.0), 'ccd03': (-1.0, 0.0, 0.0, -1.0), 'ccd04': (-1.0, 0.0, 0.0, -1.0), 'ccd05': (-1.0, 0.0, 0.0, -1.0), 'ccd06': (-1.0, 0.0, 0.0, -1.0), 'ccd07': (-1.0, 0.0, 0.0, -1.0), 'ccd08': (-1.0, 0.0, 0.0, -1.0), 'ccd09': (-1.0, 0.0, 0.0, -1.0), 'ccd10': (-1.0, 0.0, 0.0, -1.0), 'ccd11': (-1.0, 0.0, 0.0, -1.0), 'ccd12': (-1.0, 0.0, 0.0, -1.0), 'ccd13': (-1.0, 0.0, 0.0, -1.0), 'ccd14': (-1.0, 0.0, 0.0, -1.0), 'ccd15': (-1.0, 0.0, 0.0, -1.0), 'ccd16': (-1.0, 0.0, 0.0, -1.0), 'ccd17': (-1.0, 0.0, 0.0, -1.0), 'ccd18': (1.0, 0.0, 0.0, 1.0), 'ccd19': (1.0, 0.0, 0.0, 1.0), 'ccd20': (1.0, 0.0, 0.0, 1.0), 'ccd21': (1.0, 0.0, 0.0, 1.0), 'ccd22': (1.0, 0.0, 0.0, 1.0), 'ccd23': (1.0, 0.0, 0.0, 1.0), 'ccd24': (1.0, 0.0, 0.0, 1.0), 'ccd25': (1.0, 0.0, 0.0, 1.0), 'ccd26': (1.0, 0.0, 0.0, 1.0), 'ccd27': (1.0, 0.0, 0.0, 1.0), 'ccd28': (1.0, 0.0, 0.0, 1.0), 'ccd29': (1.0, 0.0, 0.0, 1.0), 'ccd30': (1.0, 0.0, 0.0, 1.0), 'ccd31': (1.0, 0.0, 0.0, 1.0), 'ccd32': (1.0, 0.0, 0.0, 1.0), 'ccd33': (1.0, 0.0, 0.0, 1.0), 'ccd34': (1.0, 0.0, 0.0, 1.0), 'ccd35': (1.0, 0.0, 0.0, 1.0)}
class astro.instrument.DetectorBlock.DetectorBlockOMEGACAM

Bases: astro.instrument.DetectorBlock.DetectorBlock

Based on ChipLayout calculations

chip_corners = {'ESO_CCD_#65': (8541.0, -8604.33), 'ESO_CCD_#66': (6393.0, -8604.33), 'ESO_CCD_#67': (4245.0, -8604.33), 'ESO_CCD_#68': (2097.0, -8604.33), 'ESO_CCD_#69': (-51.0, -8604.33), 'ESO_CCD_#70': (-2199.0, -8604.33), 'ESO_CCD_#71': (-4347.0, -8604.33), 'ESO_CCD_#72': (-6495.0, -8604.33), 'ESO_CCD_#73': (8541.0, -4128.33), 'ESO_CCD_#74': (6393.0, -4128.33), 'ESO_CCD_#75': (4245.0, -4128.33), 'ESO_CCD_#76': (2097.0, -4128.33), 'ESO_CCD_#77': (-51.0, -4128.33), 'ESO_CCD_#78': (-2199.0, -4128.33), 'ESO_CCD_#79': (-4347.0, -4128.33), 'ESO_CCD_#80': (-6495.0, -4128.33), 'ESO_CCD_#81': (8541.0, 30.33), 'ESO_CCD_#82': (6393.0, 30.33), 'ESO_CCD_#83': (4245.0, 30.33), 'ESO_CCD_#84': (2097.0, 30.33), 'ESO_CCD_#85': (-51.0, 30.33), 'ESO_CCD_#86': (-2199.0, 30.33), 'ESO_CCD_#87': (-4347.0, 30.33), 'ESO_CCD_#88': (-6495.0, 30.33), 'ESO_CCD_#89': (8541.0, 4506.33), 'ESO_CCD_#90': (6393.0, 4506.33), 'ESO_CCD_#91': (4245.0, 4506.33), 'ESO_CCD_#92': (2097.0, 4506.33), 'ESO_CCD_#93': (-51.0, 4506.33), 'ESO_CCD_#94': (-2199.0, 4506.33), 'ESO_CCD_#95': (-4347.0, 4506.33), 'ESO_CCD_#96': (-6495.0, 4506.33)}
chip_orientation = {'ESO_CCD_#65': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#66': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#67': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#68': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#69': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#70': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#71': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#72': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#73': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#74': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#75': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#76': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#77': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#78': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#79': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#80': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#81': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#82': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#83': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#84': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#85': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#86': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#87': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#88': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#89': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#90': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#91': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#92': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#93': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#94': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#95': (-1.0, 0.0, 0.0, 1.0), 'ESO_CCD_#96': (-1.0, 0.0, 0.0, 1.0)}
class astro.instrument.DetectorBlock.DetectorBlockSUP

Bases: astro.instrument.DetectorBlock.DetectorBlock

Based on ChipLayout calculations

chip_corners = {'si001s': (995.0, -4076.0), 'si002s': (989.0, 46.0), 'si005s': (-1128.0, -4075.0), 'si006s': (-1069.0, 39.0), 'w4c5': (3187.0, -4068.0), 'w67c1': (-5384.0, 34.0), 'w6c1': (-3255.0, 42.0), 'w7c3': (3117.0, 46.0), 'w93c2': (-5321.0, -4073.0), 'w9c2': (-3193.0, -4076.0)}
chip_orientation = {'si001s': (1.0, 0.0, 0.0, 1.0), 'si002s': (1.0, 0.0, 0.0, 1.0), 'si005s': (1.0, 0.0, 0.0, 1.0), 'si006s': (1.0, 0.0, 0.0, 1.0), 'w4c5': (1.0, 0.0, 0.0, 1.0), 'w67c1': (1.0, 0.0, 0.0, 1.0), 'w6c1': (1.0, 0.0, 0.0, 1.0), 'w7c3': (1.0, 0.0, 0.0, 1.0), 'w93c2': (1.0, 0.0, 0.0, 1.0), 'w9c2': (1.0, 0.0, 0.0, 1.0)}
class astro.instrument.DetectorBlock.DetectorBlockWFC

Bases: astro.instrument.DetectorBlock.DetectorBlock

chip_corners = {'A5382-1-7': (-3029.0, 1778.0), 'A5383-17-7': (3177.58, 1731.94), 'A5506-4': (-3041.61, -332.88), 'A5530-3': (-2996.45, 3880.4)}
chip_orientation = {'A5382-1-7': (0.0, 1.0, -1.0, 0.0), 'A5383-17-7': (-1.0, 0.0, 0.0, -1.0), 'A5506-4': (0.0, 1.0, -1.0, 0.0), 'A5530-3': (0.0, 1.0, -1.0, 0.0)}
class astro.instrument.DetectorBlock.DetectorBlockWFI

Bases: astro.instrument.DetectorBlock.DetectorBlock

chip_corners = {'ccd50': (-4899.72, 163.72), 'ccd51': (-2782.71, 178.44), 'ccd52': (-632.17, 176.09), 'ccd53': (1509.34, 175.11), 'ccd54': (1504.85, -3975.45), 'ccd55': (-634.73, -3982.57), 'ccd56': (-2775.77, -3983.53), 'ccd57': (-4934.08, -3960.17)}
chip_orientation = {'ccd50': (1.0, 0.0, 0.0, 1.0), 'ccd51': (1.0, 0.0, 0.0, 1.0), 'ccd52': (1.0, 0.0, 0.0, 1.0), 'ccd53': (1.0, 0.0, 0.0, 1.0), 'ccd54': (1.0, 0.0, 0.0, 1.0), 'ccd55': (1.0, 0.0, 0.0, 1.0), 'ccd56': (1.0, 0.0, 0.0, 1.0), 'ccd57': (1.0, 0.0, 0.0, 1.0)}
astro.instrument.DetectorBlock.create_detectorblock(instrument_id)

This function produces and returns the proper DetectorBlock based on the instrument identifier it receives from the caller.

astro.instrument.HeaderTranslator module

astro.instrument.HeaderTranslatorACAM module

astro.instrument.HeaderTranslatorACS module

astro.instrument.HeaderTranslatorANDICAM module

astro.instrument.HeaderTranslatorDECAM module

astro.instrument.HeaderTranslatorESOSCHMIDT module

astro.instrument.HeaderTranslatorFactory module

astro.instrument.HeaderTranslatorGRATAMA module

astro.instrument.HeaderTranslatorISAAC module

astro.instrument.HeaderTranslatorLBCBLUE module

astro.instrument.HeaderTranslatorLBCRED module

astro.instrument.HeaderTranslatorMDM8K module

astro.instrument.HeaderTranslatorMEGACAM module

astro.instrument.HeaderTranslatorMICADO module

astro.instrument.HeaderTranslatorMONICA module

astro.instrument.HeaderTranslatorOCAM module

astro.instrument.HeaderTranslatorSUP module

astro.instrument.HeaderTranslatorSoftI module

astro.instrument.HeaderTranslatorTEMPLATE module

astro.instrument.HeaderTranslatorVIRCAM module

astro.instrument.HeaderTranslatorWFC module

astro.instrument.HeaderTranslatorWFCAM module

astro.instrument.HeaderTranslatorWFI module

Module contents

Instrument specific modules