Changeset 6032
- Timestamp:
- Jan 17, 2006, 7:27:07 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
dettools/doc/dettools.txt (modified) (4 diffs)
-
ippTools/src/chiptool.h (modified) (2 diffs)
-
ippTools/src/p2insertPendingFrames.c (modified) (2 diffs)
-
ippTools/src/p2searchPendingFrames.c (modified) (1 diff)
-
ippTools/src/p2searchRawFrames.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dettools/doc/dettools.txt
r6022 r6032 7 7 0. also creates a new master detrend frame entry 8 8 (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 10 12 options : 11 13 -ID ID : a free-form string; if not specified, a unique string is constructed … … 22 24 (-exptime is mandatory for dark) 23 25 24 dettools -getinput25 * select the input matching a given detRun. selects the input26 exposures and the input files.27 - this function could be merged with -define28 - an alternate implementation would define a detRun ID for a given29 stack of input exposures30 31 26 dettools -pending raw [-state state] [-outmode mode] 32 27 * select the unprocessed input infiles 28 - output of this program is used by pantasks to schedule the ppImage 29 run on each image 30 31 dettools -pending resid [-state state] [-outmode mode] 32 * select the residual images to be processed 33 33 - output of this program is used by pantasks to schedule the ppImage 34 34 run on each image … … 37 37 * select the files to be stacked for a given detRun, if exposures are ready 38 38 - output of this program is used by ppMerge to build a master stack 39 40 dettools -pending norm 41 * select the master detrend frames & imfiles to be normalized 39 42 40 43 dettools -update raw … … 45 48 - for a given resid exposure, compile the results from the stacks for 46 49 each chip and renormalize the output files as needed. 47 48 dettools -pending norm49 * select the master detrend frames & imfiles to be normalized50 51 dettools -resid52 * construct the resid exposures and imfiles given53 50 54 51 dettools -assess -
trunk/ippTools/src/chiptool.h
r5881 r6032 62 62 typedef struct { 63 63 char expID[32]; // free-form exposure ID string 64 psU8 P2version; 64 65 char class; // class of file: fpa (0), chip (1), cell (2), readout (3)? 65 66 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; 70 68 } p2PendingExposure; 71 69 … … 81 79 char log[16]; // extension for log file 82 80 char smf[16]; // extension for object table 83 char state; // current P2 state84 81 } p2PendingImfile; 85 82 -
trunk/ippTools/src/p2insertPendingFrames.c
r5881 r6032 21 21 version ++; 22 22 23 p2PendingExposure *pendingExposure = p2PendingExposureAlloc ();23 p2PendingExposureRow *pendingExposure = p2PendingExposureAlloc (); 24 24 strcpy (pendingExposure->expID, rawFrame->exposure->expID); 25 25 pendingExposure->class = rawFrame->exposure->class; … … 52 52 } 53 53 54 p2PendingExposureInsertO neRow(config->database, pendingExposure);55 p2PendingImageInsert Rows (config->database, pendingImages);54 p2PendingExposureInsertObject (config->database, pendingExposure); 55 p2PendingImageInsertObjects (config->database, pendingImages); 56 56 } 57 57 return true; -
trunk/ippTools/src/p2searchPendingFrames.c
r5881 r6032 2 2 3 3 // select pending frames (exposure+images) which are done/not done 4 psArray *p2searchPendingFrames (p2SearchConfig *config , bool isDone) {4 psArray *p2searchPendingFrames (p2SearchConfig *config) { 5 5 6 6 // build 'where' structure 7 7 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 }14 8 15 9 // in order to include these restrictions, we need to define these table columns -
trunk/ippTools/src/p2searchRawFrames.c
r5881 r6032 8 8 9 9 psMetadataAddU8 (where, PS_LIST_TAIL, "TYPE", 0, "==", P2_TYPE_OBJECT); 10 psMetadataAddStr (where, PS_LIST_TAIL, "STATE", 0, "==", P2_START_READY);11 10 12 11 if (config->camera != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
