IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2007, 3:22:17 PM (19 years ago)
Author:
Paul Price
Message:

Images in the detrend database may be in different formats.
Therefore, in order to get a detrend matching the appropriate level,
we need to place a restriction on the class_id (class identifier,
which can be 'fpa', 'ccd00', or even 'ccd00:cell01'). To do this, we
have "detselect -search" return the file level (fpa/chip/cell) for the
detrend, so that we can provide the correct constraint on the class_id
(using "detselect -select"). Introduced a new metadata in the camera
configuration ("CLASSID") that provides rules for the class_id (e.g.,
"{CHIP.NAME}:{CELL.NAME}") according to the file level string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmDetrendDB.h

    r11876 r12300  
    99 * @author EAM, IfA
    1010 *
    11  * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    12  * @date $Date: 2007-02-18 21:03:20 $
     11 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     12 * @date $Date: 2007-03-08 01:22:17 $
    1313 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii
    1414 */
     
    3535} pmDetrendType;
    3636
    37 typedef struct
    38 {
    39     char *camera;                       // name of camera
    40     char *version;                      // optional version string
    41     char *filter;                       // name of filter
    42     char *dettype;                      // actual detrend type name
    43     float exptime;                      // exposure time (for dark, maybe flat & fringe)
    44     float airmass;                      // for fringe
    45     float dettemp;                      // for fringe
    46     float twilight;                     // hours (or seconds?) since/before nearest twilight
    47     psTime time;                        // time of input data
    48     pmDetrendType type;                 // type of detrend data
     37typedef struct {
     38    char *camera;                       // name of camera
     39    char *version;                      // optional version string
     40    char *filter;                       // name of filter
     41    char *dettype;                      // actual detrend type name
     42    float exptime;                      // exposure time (for dark, maybe flat & fringe)
     43    float airmass;                      // for fringe
     44    float dettemp;                      // for fringe
     45    float twilight;                     // hours (or seconds?) since/before nearest twilight
     46    psTime time;                        // time of input data
     47    pmDetrendType type;                 // type of detrend data
    4948
    5049    bool  exptimeSet;
     
    5251    bool  dettempSet;
    5352    bool  twilightSet;
    54 }
    55 pmDetrendSelectOptions;
     53} pmDetrendSelectOptions;
    5654
    57 typedef struct
    58 {
    59     char *detID;   // identifier of detrend run
    60     pmFPALevel level;   // level in FPA hierarchy of individual file
    61 }
    62 pmDetrendSelectResults;
    63 
    64 typedef struct
    65 {
    66     char *detID;   // identifier of detrend image
    67     char *classID;   // level in FPA hierarchy of individual file
    68 }
    69 pmDetrendFileOptions;
     55typedef struct {
     56    char *detID;                        // identifier of detrend run
     57    const char *level;                  // level in FPA hierarchy of individual file
     58} pmDetrendSelectResults;
    7059
    7160psString pmDetrendTypeToString (pmDetrendType type);
Note: See TracChangeset for help on using the changeset viewer.