IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6032


Ignore:
Timestamp:
Jan 17, 2006, 7:27:07 PM (21 years ago)
Author:
eugene
Message:

updates based on discussions with josh

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/dettools/doc/dettools.txt

    r6022 r6032  
    77 0. also creates a new master detrend frame entry
    88 (detID.version.iteration define this frame uniquely).
    9  
     9 * select the input matching a given detRun.  selects the input
     10 exposures and the input files.
     11
    1012options :
    1113  -ID ID : a free-form string; if not specified, a unique string is constructed
     
    2224  (-exptime is mandatory for dark)
    2325
    24 dettools -getinput
    25  * select the input matching a given detRun.  selects the input
    26  exposures and the input files.
    27  - this function could be merged with -define
    28  - an alternate implementation would define a detRun ID for a given
    29  stack of input exposures
    30 
    3126dettools -pending raw [-state state] [-outmode mode]
    3227 * select the unprocessed input infiles
     28 - output of this program is used by pantasks to schedule the ppImage
     29 run on each image
     30
     31dettools -pending resid [-state state] [-outmode mode]
     32 * select the residual images to be processed
    3333 - output of this program is used by pantasks to schedule the ppImage
    3434 run on each image
     
    3737 * select the files to be stacked for a given detRun, if exposures are ready
    3838 - output of this program is used by ppMerge to build a master stack
     39
     40dettools -pending norm
     41 * select the master detrend frames & imfiles to be normalized
    3942
    4043dettools -update raw
     
    4548 - for a given resid exposure, compile the results from the stacks for
    4649 each chip and renormalize the output files as needed.
    47 
    48 dettools -pending norm
    49  * select the master detrend frames & imfiles to be normalized
    50 
    51 dettools -resid
    52  * construct the resid exposures and imfiles given
    5350
    5451dettools -assess
  • trunk/ippTools/src/chiptool.h

    r5881 r6032  
    6262typedef struct {
    6363    char expID[32];                     // free-form exposure ID string
     64    psU8 P2version;
    6465    char class;                         // class of file: fpa (0), chip (1), cell (2), readout (3)?
    6566    int Nclass;                         // number of files of this class
    66     int Ndone;                          // number of files of this class
    67     char P1version;
    68     char P2version;
    69     char state;
     67    psU8 P1version;
    7068} p2PendingExposure;
    7169
     
    8179    char log[16];                       // extension for log file
    8280    char smf[16];                       // extension for object table
    83     char state;                         // current P2 state
    8481} p2PendingImfile;
    8582
  • trunk/ippTools/src/p2insertPendingFrames.c

    r5881 r6032  
    2121        version ++;
    2222
    23         p2PendingExposure *pendingExposure = p2PendingExposureAlloc ();
     23        p2PendingExposureRow *pendingExposure = p2PendingExposureAlloc ();
    2424        strcpy (pendingExposure->expID, rawFrame->exposure->expID);
    2525        pendingExposure->class = rawFrame->exposure->class;
     
    5252        }
    5353       
    54         p2PendingExposureInsertOneRow (config->database, pendingExposure);
    55         p2PendingImageInsertRows (config->database, pendingImages);
     54        p2PendingExposureInsertObject (config->database, pendingExposure);
     55        p2PendingImageInsertObjects (config->database, pendingImages);
    5656    }
    5757    return true;
  • trunk/ippTools/src/p2searchPendingFrames.c

    r5881 r6032  
    22
    33// select pending frames (exposure+images) which are done/not done
    4 psArray *p2searchPendingFrames (p2SearchConfig *config, bool isDone) {
     4psArray *p2searchPendingFrames (p2SearchConfig *config) {
    55
    66    // build 'where' structure
    77    psMetadata *where = psMetadataAlloc ();
    8 
    9     if (isDone) {
    10         psMetadataAddStr (where, PS_LIST_TAIL, "STATE", 0, "==", P2_STATE_DONE);
    11     } else {
    12         psMetadataAddStr (where, PS_LIST_TAIL, "STATE", 0, "==", P2_STATE_PENDING);
    13     }
    148
    159    // in order to include these restrictions, we need to define these table columns
  • trunk/ippTools/src/p2searchRawFrames.c

    r5881 r6032  
    88
    99    psMetadataAddU8  (where, PS_LIST_TAIL, "TYPE",  0, "==", P2_TYPE_OBJECT);
    10     psMetadataAddStr (where, PS_LIST_TAIL, "STATE", 0, "==", P2_START_READY);
    1110
    1211    if (config->camera != NULL) {
Note: See TracChangeset for help on using the changeset viewer.