Changeset 30423
- Timestamp:
- Jan 28, 2011, 3:30:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/psphot/src/psphotChoosePSF.c
r30335 r30423 477 477 // value is probably more representative of the value needed by those tools (it is also 478 478 // more stable?) 479 bool status = false; 479 480 float fwhmMajorMoments = psMetadataLookupF32(&status, readout->analysis, "IQ_FW1"); 480 481 float fwhmMinorMoments = psMetadataLookupF32(&status, readout->analysis, "IQ_FW1"); … … 483 484 psAssert(chip, "Cell should be attached to a chip."); 484 485 psMetadataItem *item = psMetadataLookup(chip->concepts, "CHIP.SEEING"); // Item with chip 485 item->data.F32 = 0.5 * (fwhmMajMoments + fwhmMinMoments); 486 item->data.F32 = 0.5 * (fwhmMajorMoments + fwhmMinorMoments); 487 488 psLogMsg ("psphot", PS_LOG_DETAIL, "fwhm (psf): %f,%f (moments): %f,%f", fwhmMaj, fwhmMin, fwhmMajorMoments, fwhmMinorMoments); 486 489 } 487 490
Note:
See TracChangeset
for help on using the changeset viewer.
