IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 16, 2006, 6:12:57 PM (21 years ago)
Author:
eugene
Message:

updated tables and functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dettools/src/dettools.h

    r5881 r6022  
    11# include <stdio.h>
    2 # include <strings.h>  // for strcasecmp
    3 # include <unistd.h>   // for unlink
     2# include <strings.h>
     3# include <unistd.h>
    44# include <pslib.h>
    5 # include <pmObjects.h>
    6 # include <pmPSF.h>
    7 # include <pmPSFtry.h>
    8 # include <pmModelGroup.h>
     5# include "metadata.h"
    96
    107typedef enum {
     
    5249} detConfig;
    5350
    54 // these structures should be defined using the mddb api tools
    55 // check definition in p2search.h
    56 typedef struct ppRawExposure;
    57 typedef struct ppRawImfile;
    58 
    59 // this structure should be defined using the mddb api tools
    60 typedef struct {
    61     char expID[32];                     // free-form exposure ID string
    62     char class;                         // class of file: fpa (0), chip (1), cell (2), readout (3)?
    63     int Nclass;                         // number of files of this class
    64     int Ndone;                          // number of files of this class
    65     char P1version;
    66     char P2version;
    67     char state;
    68 } detInputExposure;
    69 
    70 // this structure should be defined using the mddb api tools
    71 typedef struct {
    72     char expID[32];                     // free-form exposure ID string
    73     char P2version;
    74     char class;                         // class of file: fpa (0), chip (1), cell (2), readout (3)?
    75     char classID[32];                   // identifier for class (chip00, cell00, etc)
    76     char urlroot[128];                  // locator for file (neb / file)
    77     char input[16];                     // extension for input image
    78     char output[16];                    // extension for output image
    79     char log[16];                       // extension for log file
    80     char smf[16];                       // extension for object table
    81     char state;                         // current P2 state
    82 } detInputImfile;
    83 
    84 // this structure should be defined using the mddb api tools
    85 typedef struct {
    86     a detID;
    87     a version;
    88     a iteration;
    89     a type;
    90     a camera;
    91     a filter;
    92     a class;
    93     int nInput;
    94     int nImfiles;
    95     detState state;
    96     float stats;
    97 } detMasterExposure;
    98 
    99 typedef struct {
    100     a detID;
    101     a version;
    102     a iteration;
    103     a classID;
    104     a stats;
    105     detState state;
    106 } detMasterImfile;
    107 
    108 typedef struct {
    109     a detID;
    110     a version;
    111     a state;
    112 
    113     int nIterations;                    // number of iterations STARTED
    114 
    115     detType type;
    116     char *camera;
    117     char *filter;
    118 
    119     bool groupSelect;
    120     char *groupID;
    121 
    122     bool timeSelect;
    123     psTime start;
    124     psTime stop;
    125 
    126     bool exptimeSelect;
    127     float exptimeMin;
    128     float exptimeMax;
    129 
    130     bool airmassSelect;
    131     float airmassMin;
    132     float airmassMax;
    133 } detMasterRun;
     51// these structures are defined in metadata.h using glueforge
     52// typedef struct DetrendInputExposure;
     53// typedef struct DetrendInputImfile;
     54// typedef struct DetrendMasterRun;
     55// typedef struct DetrendMasterExposure;
     56// typedef struct DetrendMasterImfile;
    13457
    13558typedef struct {
Note: See TracChangeset for help on using the changeset viewer.