Changeset 6851 for trunk/psphot/src/psphotReadout.c
- Timestamp:
- Apr 12, 2006, 8:59:15 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReadout.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReadout.c
r6753 r6851 9 9 bool status; 10 10 11 // select the current recipe 12 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, "PSPHOT"); 13 11 14 // find the currently selected readout 12 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, "PSPHOT"); 13 pmFPAfile *input = psMetadataLookupPtr (&status, config->files, "PSPHOT.INPUT"); 14 pmReadout *readout = pmFPAviewThisReadout (view, input->fpa); 15 pmReadout *readout = pmFPAfileThisReadout (config->files, view, "PSPHOT.INPUT"); 15 16 16 17 // XXX does this need to invoke I/O? 18 // XXX move this input the psphotImageLoop level? 17 19 pmReadoutSetWeights (readout); 20 psphotSaveImage (NULL, readout->weight, "weight.fits"); 18 21 19 22 // I have a valid mask, now mask in the analysis region of interest … … 49 52 psphotBlendFit (readout, sources, recipe, psf); 50 53 54 // psphotWeightBias (readout, sources, recipe, psf); 55 51 56 // replace fitted sources 52 57 psphotReplaceUnfit (sources); … … 75 80 status = psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.PSF", PS_DATA_UNKNOWN, "psphot psf", psf); 76 81 82 // remove internal pmFPAfiles, if created 83 pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL"); 84 pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND"); 85 77 86 // free up the local copies of the data 78 87 psFree (psf);
Note:
See TracChangeset
for help on using the changeset viewer.
