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_red.config

    r6115 r6585  
    1 # The Low Resolution Imager and Spectrograph (LRIS) red side
     1# Camera configuration file for LRIS-Red: 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  = '0,0,0,2048,2048'
    6 # PREPIX  =                   20
    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.
     3# File formats that we know about
     4FORMATS         METADATA
     5        RAW     STR     lris_red_raw.config
     6END
     7 
     8 
     9# Description of camera --- all the chips and the cells that comprise them
     10FPA     METADATA
     11        RedChip         STR     LeftSide RightSide
     12END
    1513
    1614
    17 # How to identify this type
    18 RULE    METADATA
    19         TELESCOP        STR     Keck I
    20         INSTRUME        STR     LRIS
    21         AMPLIST         STR     2,1,0,0
    22         WINDOW          STR     0,0,0,2048,2048
    23         PREPIX          S32     20
    24         POSTPIX         S32     80
    25         BINNING         STR     1, 1
    26         CCDPSIZE        STR     [1:2048,1:2048]
    27         NAXIS1          S32     2248
    28         NAXIS2          S32     2048
    29         IMTYPE          STR     TWOAMPTOP
    30 END
    31 
    32 # How to read this data
    33 PHU             STR     CHIP    # The FITS file represents a single chip
    34 EXTENSIONS      STR     NONE    # There are no extensions
    35 
    36 # What's in the FITS file?
    37 CONTENTS        STR     LeftSide RightSide
    38 
    39 # Specify the cell data
    40 CELLS   METADATA
    41         LeftSide        METADATA
    42                 CELL.BIASSEC    STR     VALUE:[1:20,1:2048];[2089:2168,1:2048]
    43                 CELL.TRIMSEC    STR     VALUE:[41:1064,1:2048]
    44                 CELL.GAIN       STR     VALUE:1.2
    45                 CELL.READNOISE  STR     VALUE:5.6
    46         END
    47 
    48         RightSide       METADATA
    49                 CELL.BIASSEC    STR     VALUE:[21:40,1:2048];[2169:2248,1:2048]
    50                 CELL.TRIMSEC    STR     VALUE:[1065:2088,1:2048]
    51                 CELL.GAIN       STR     VALUE:1.3
    52                 CELL.READNOISE  STR     VALUE:6.5
    53         END
    54 END
    55 
    56 # How to translate PS concepts into FITS headers
    57 TRANSLATION     METADATA
    58         FPA.AIRMASS     STR     AIRMASS
    59         FPA.FILTER      STR     FILTER
    60         FPA.POSANGLE    STR     POSANG
    61         FPA.RA          STR     OBJ-RA
    62         FPA.DEC         STR     OBJ-DEC
    63         CELL.EXPOSURE   STR     EXPTIME
    64         CELL.DARKTIME   STR     DARKTIME
    65         CELL.DATE       STR     DATE-OBS
    66         CELL.TIME       STR     TIME-OBS
    67 END
    68 
    69 # Default PS concepts that may be specified by value
    70 DEFAULTS        METADATA
    71         FPA.RADECSYS    STR     ICRS
    72 END
    73 
Note: See TracChangeset for help on using the changeset viewer.