Changeset 6114
- Timestamp:
- Jan 20, 2006, 6:37:29 PM (20 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 6 edited
-
ppImage.c (modified) (2 diffs)
-
ppImageDetrendCell.c (modified) (1 diff)
-
ppImageLoop.c (modified) (1 diff)
-
ppImageOutput.c (modified) (1 diff)
-
ppImageParseCamera.c (modified) (1 diff)
-
ppImagePhot.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImage.c
r6064 r6114 27 27 ppImageLoop(&data, &options, &config); 28 28 29 #if 0 29 30 // Output image 30 31 ppImageOutput(&data, &config); … … 32 33 // Do photometry 33 34 ppImagePhot(&data, &options, &config); 35 #endif 34 36 35 37 exit(EXIT_SUCCESS); -
trunk/ppImage/src/ppImageDetrendCell.c
r6079 r6114 63 63 // Flat-field correction (no options used?) 64 64 if (options->doFlat) { 65 #if 066 psLogMsg("phase2", PS_LOG_INFO, "flat field disabled.\n");67 #endif68 65 pmFlatField(input, flat); 69 66 } -
trunk/ppImage/src/ppImageLoop.c
r6079 r6114 89 89 90 90 ppDetrendCell(&detrend, options, config); 91 92 // Need to free detrend cells here so we have enough memory to do other stuff 93 psFree(detrend.bias); 94 psFree(detrend.dark); 95 psFree(detrend.mask); 96 psFree(detrend.flat); 91 97 } 98 99 int numMosaicked = pmChipMosaic(inputChip, 1, 1); // Number of cells mosaicked together 100 psLogMsg(__func__, PS_LOG_INFO, "%d cells mosaicked.\n", numMosaicked); 101 92 102 } 103 104 // Free the detrend FPA and chips 105 psFree(data->bias); 106 psFree(data->dark); 107 psFree(data->mask); 108 psFree(data->flat); 109 110 93 111 return true; 94 112 } -
trunk/ppImage/src/ppImageOutput.c
r6064 r6114 4 4 { 5 5 const char *outname = psMetadataLookupStr(NULL, config->arguments, "-output"); // Name of output file 6 psFits *outFile = psFitsOpen(outname, " w"); // File for writing6 psFits *outFile = psFitsOpen(outname, "a"); // File for writing 7 7 8 8 // Write the output -
trunk/ppImage/src/ppImageParseCamera.c
r5976 r6114 55 55 data->flat->fpa = pmFPAConstruct(config->camera); 56 56 data->fringe->fpa = pmFPAConstruct(config->camera); 57 #if 058 data->process->fpa = pmFPAConstruct(config->camera);59 #endif60 57 61 58 // XXX EAM : extend this to allow an array of selected chips by name -
trunk/ppImage/src/ppImagePhot.c
r6064 r6114 6 6 pmFPA *fpa = input->fpa; // The input FPA 7 7 8 int numMosaicked = pmFPAMosaicC hips(fpa, 1, 1); // Number of chips mosaicked together8 int numMosaicked = pmFPAMosaicCells(fpa, 1, 1); // Number of chips mosaicked together 9 9 psLogMsg(__func__, PS_LOG_INFO, "%d chips mosaicked.\n", numMosaicked); 10 10
Note:
See TracChangeset
for help on using the changeset viewer.
