Changeset 34678
- Timestamp:
- Nov 19, 2012, 5:45:03 PM (14 years ago)
- Location:
- branches/czw_branch/20120906/ppStack/src
- Files:
-
- 4 edited
-
ppStack.h (modified) (1 diff)
-
ppStackCleanup.c (modified) (2 diffs)
-
ppStackCombinePrepare.c (modified) (1 diff)
-
ppStackFiles.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20120906/ppStack/src/ppStack.h
r34666 r34678 40 40 PPSTACK_FILES_PHOT, // Files for photometry 41 41 PPSTACK_FILES_BKG, // Files for bkg 42 PPSTACK_FILES_MEDIAN , // Files for median only stacks.43 PPSTACK_FILES_M INIMAL// Files for median only stacks.42 PPSTACK_FILES_MEDIAN_IN, // Files for median only stacks. 43 PPSTACK_FILES_MEDIAN_OUT // Files for median only stacks. 44 44 } ppStackFileList; 45 45 -
branches/czw_branch/20120906/ppStack/src/ppStackCleanup.c
r34666 r34678 76 76 77 77 bool ppStackCleanup (pmConfig *config, ppStackOptions *options) { 78 79 78 psExit exitValue = ppStackExitCode(PS_EXIT_SUCCESS); // Exit code 80 79 81 80 // Ensure everything closes 82 81 if (config) { … … 86 85 ppStackFileActivation(config, PPSTACK_FILES_UNCONV, true); 87 86 ppStackFileActivation(config, PPSTACK_FILES_PHOT, true); 87 ppStackFileActivation(config, PPSTACK_FILES_MEDIAN_IN, true); 88 ppStackFileActivation(config, PPSTACK_FILES_MEDIAN_OUT, true); 88 89 if (!ppStackFilesIterateUp(config)) { 89 90 psError(psErrorCodeLast(), false, "Unable to close files."); -
branches/czw_branch/20120906/ppStack/src/ppStackCombinePrepare.c
r34667 r34678 29 29 if (expName) { 30 30 pmCell *expCell = pmFPAfileThisCell(config->files, view, expName); // Exposure cell 31 options->expRO = pmReadoutAlloc(expCell); // Output readout31 options->expRO = pmReadoutAlloc(expCell); //Output readout 32 32 } 33 else { 34 options->expRO = NULL; 35 } 33 /* else { */ 34 /* options->expRO = NULL; */ 35 /* } */ 36 36 pmCell *bkgCell; 37 37 int bkg_r0,bkg_c0; -
branches/czw_branch/20120906/ppStack/src/ppStackFiles.c
r34666 r34678 19 19 20 20 /// Files required for median only stacking 21 static char *filesMedian [] = { "PPSTACK.INPUT",21 static char *filesMedianIn[] = { "PPSTACK.INPUT", 22 22 NULL }; 23 23 /// Files required for median only stacking 24 static char *filesM inimal[] = { "PPSTACK.OUTPUT",24 static char *filesMedianOut[] = { "PPSTACK.OUTPUT", 25 25 NULL }; 26 26 … … 53 53 case PPSTACK_FILES_PHOT: return filesPhot; 54 54 case PPSTACK_FILES_BKG: return filesBkg; 55 case PPSTACK_FILES_MEDIAN : return filesMedian;56 case PPSTACK_FILES_M INIMAL: return filesMinimal;55 case PPSTACK_FILES_MEDIAN_IN: return filesMedianIn; 56 case PPSTACK_FILES_MEDIAN_OUT: return filesMedianOut; 57 57 default: 58 58 psAbort("Unrecognised file list: %x", list);
Note:
See TracChangeset
for help on using the changeset viewer.
