- Timestamp:
- Dec 17, 2010, 9:57:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/psphot/src/psphotStackMatchPSFs.c
r30006 r30101 106 106 rescaleData(readoutOut, config, options, index); 107 107 108 // dumpImage(readoutOut, readoutSrc, index, "convolved"); 108 // save the output fwhm values in the readout->analysis. we may have / will have multiple output PSF sizes, 109 // so we save this in a vector. if the vector is not yet defined, create it 110 bool mdok = false; 111 psVector *fwhmValues = psMetadataLookupVector(&mdok, readoutOut->analysis, "STACK.PSF.FWHM.VALUES"); 112 if (!fwhmValues) { 113 fwhmValues = psVectorAllocEmpty(10, PS_TYPE_F32); 114 psMetadataAddVector(readoutOut->analysis, PS_LIST_TAIL, "STACK.PSF.FWHM.VALUES", PS_META_REPLACE, "PSF sizes", fwhmValues); 115 psFree(fwhmValues); // drops the extra copy 116 } 117 psVectorAppend(fwhmValues, options->targetSeeing); 109 118 110 119 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
