Changeset 5583 for trunk/archive/scripts/src/phase2/papPhase2.c
- Timestamp:
- Nov 23, 2005, 9:13:06 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/archive/scripts/src/phase2/papPhase2.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/scripts/src/phase2/papPhase2.c
r5564 r5583 149 149 } 150 150 151 #if 0152 psString outputMaskName = psStringCopy(outputName);153 (void)psStringAppend(&outputMaskName, ".mask");154 #ifdef PRODUCTION155 psFits *outputMaskFile = psFitsOpen(outputMaskName, "w");156 #else157 psFits *outputMaskFile = psFitsAlloc(outputMaskName);158 #endif159 if (! outputMaskFile) {160 psErrorStackPrint(stderr, "Can't open output mask image: %s\n", outputMaskName);161 exit(EXIT_FAILURE);162 }163 psFree(outputMaskName);164 #endif165 166 151 // Get camera configuration from header if not already defined 167 152 if (! camera) { … … 298 283 exit(EXIT_FAILURE); 299 284 } 285 300 286 #ifdef PRODUCTION 301 287 psFitsClose(inputFile); … … 304 290 #endif 305 291 306 307 #if 1 292 #if 0 293 pmFPAReadMask(input, inputFile); 294 pmFPAReadWeight(input, inputFile); 295 #else 308 296 { 309 297 // Generate mask and weight frame … … 353 341 #endif 354 342 355 //pmFPAPrint(input); 343 #if 0 344 pmFPAPrint(input); 345 #endif 356 346 357 347 // Load the calibration frames, if required … … 825 815 #ifdef PRODUCTION 826 816 psFitsClose(outputFile); 827 // psFitsClose(outputMaskFile);828 817 #else 829 818 psFree(outputFile); 830 // psFree(outputMaskFile);831 819 #endif 832 820
Note:
See TracChangeset
for help on using the changeset viewer.
