Changeset 5651 for trunk/archive/scripts/src/phase2/papPhase2.c
- Timestamp:
- Nov 30, 2005, 6:03:51 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/archive/scripts/src/phase2/papPhase2.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/scripts/src/phase2/papPhase2.c
r5633 r5651 17 17 #include "pmSubtractBias.h" 18 18 #include "pmChipMosaic.h" 19 #include "pmFPAMorph.h" 19 20 20 21 // Phase 2 needs to: … … 287 288 } 288 289 290 pmFPAPrint(input); 291 exit(1); 292 289 293 #ifdef PRODUCTION 290 294 psFitsClose(inputFile); … … 296 300 pmFPAReadMask(input, inputFile); 297 301 pmFPAReadWeight(input, inputFile); 298 #else302 //#else 299 303 { 300 304 // Generate mask and weight frame … … 827 831 psLogMsg("phase2", PS_LOG_INFO, "Processing completed after %f sec.\n", psTimerMark("phase2")); 828 832 833 834 #if 1 835 // Testing pmFPAMorph 836 psMetadata *newCamera = psMetadataConfigParse(NULL, NULL, "megacam_splice.config", true); 837 pmFPA *newFPA = pmFPAConstruct(newCamera); 838 pmFPAMorph(newFPA, input, true, 0, 0); 839 psFits *newFile = psFitsAlloc("morph.fits"); 840 pmFPAWrite(newFile, newFPA, database); 841 psFree(newFile); 842 psFree(newFPA); 843 #endif 844 845 #if 0 829 846 // Write the output 830 847 pmFPAWrite(outputFile, input, database); 831 848 pmFPAWriteMask(input, outputFile); 832 849 pmFPAWriteWeight(input, outputFile); 850 #endif 833 851 834 852 psLogMsg("phase2", PS_LOG_INFO, "Output completed after %f sec.\n", psTimerMark("phase2"));
Note:
See TracChangeset
for help on using the changeset viewer.
