IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 14, 2006, 2:29:43 PM (20 years ago)
Author:
Paul Price
Message:

Changing configuration files to new format --- split files for camera and camera format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/test/lris_blue.config

    r6115 r6585  
    1 # The Low Resolution Imager and Spectrograph (LRIS) blue side
     1# Camera configuration file for LRIS Blue: describes the camera
    22
    3 # We have no choice but to hard-code the various regions, because Keck
    4 # only stores them as:
    5 # WINDOW  = '1,0,0,2048,4096'
    6 # PREPIX  =                   51
    7 # POSTPIX =                   80
    8 # BINNING = '1,1     '
    9 # AMPPSIZE= '[1:1024,1:4096]'
    10 
    11 # I don't know how we would get the IPP to react to changes in the
    12 # windowing on the fly --- we have no mechanism for setting the region
    13 # sizes on the basis of the above keywords.  Therefore, we hard-code
    14 # the regions and assert on our assumptions in the RULE.
    15 
    16 
    17 # How to identify this type
    18 RULE    METADATA
    19         TELESCOP        STR     Keck I
    20         INSTRUME        STR     LRISBLUE
    21         AMPLIST         STR     1,4,0,0
    22         WINDOW          STR     1,0,0,2048,4096
    23         PREPIX          S32     51
    24         POSTPIX         S32     80
    25         BINNING         STR     1,1
    26         AMPPSIZE        STR     [1:1024,1:4096]
    27         NAXIS1          S32     4620
    28         NAXIS2          S32     4096
     3# File formats that we know about
     4FORMATS         METADATA
     5        RAW     STR     lris_blue_raw.config
    296END
    30 
    31 # How to read this data
    32 PHU             STR     FPA     # The FITS file represents an entire FPA
    33 EXTENSIONS      STR     NONE    # There are no extensions
    34 
    35 # What's in the FITS file?
    36 CONTENTS        METADATA
    37         LeftChip        STR     amp1 amp2
    38         RightChip       STR     amp3 amp4
     7                                                                               
     8                                                                               
     9# Description of camera --- all the chips and the cells that comprise them
     10FPA     METADATA
     11        LeftChip        STR     left right
     12        RightChip       STR     left right
    3913END
    40 
    41 # Specify the cell data
    42 CELLS   METADATA
    43         amp1            METADATA
    44                 CELL.BIASSEC    STR     VALUE:[1:51,1:4096];[4301:4380,1:4096]
    45                 CELL.TRIMSEC    STR     VALUE:[205:1228,1:4096]
    46                 CELL.GAIN       STR     VALUE:1.2
    47                 CELL.READNOISE  STR     VALUE:5.6
    48         END
    49 
    50         amp2    METADATA
    51                 CELL.BIASSEC    STR     VALUE:[52:102,1:4096];[4381:4460,1:4096]
    52                 CELL.TRIMSEC    STR     VALUE:[1229:2252,1:4096]
    53                 CELL.GAIN       STR     VALUE:1.3
    54                 CELL.READNOISE  STR     VALUE:6.7
    55         END
    56 
    57         amp3            METADATA
    58                 CELL.BIASSEC    STR     VALUE:[103:153,1:4096];[4461:4540,1:4096]
    59                 CELL.TRIMSEC    STR     VALUE:[2253:3276,1:4096]
    60                 CELL.GAIN       STR     VALUE:1.4
    61                 CELL.READNOISE  STR     VALUE:7.8
    62         END
    63 
    64         amp4    METADATA
    65                 CELL.BIASSEC    STR     VALUE:[154:204,1:4096];[4541:4620,1:4096]
    66                 CELL.TRIMSEC    STR     VALUE:[3277:4300,1:4096]
    67                 CELL.GAIN       STR     VALUE:1.5
    68                 CELL.READNOISE  STR     VALUE:8.9
    69         END
    70 END
    71 
    72 # How to translate PS concepts into FITS headers
    73 TRANSLATION     METADATA
    74         FPA.AIRMASS     STR     AIRMASS
    75         FPA.FILTER      STR     BLUFILT
    76         FPA.POSANGLE    STR     ROTPOSN
    77         FPA.RA          STR     RA
    78         FPA.DEC         STR     DEC
    79         CELL.EXPOSURE   STR     EXPOSURE
    80         CELL.DARKTIME   STR     EXPOSURE        // No special darktime header; use exposure time
    81         CELL.DATE       STR     DATE            // NOTE: There are TWO keywords called "DATE" (creation, exp)!
    82         CELL.TIME       STR     UT
    83 END
    84 
    85 # Default PS concepts that may be specified by value
    86 DEFAULTS        METADATA
    87         FPA.RADECSYS    STR     ICRS
    88 END
    89 
Note: See TracChangeset for help on using the changeset viewer.