Changeset 7757 for trunk/ppImage/src/ppFocusGetFWHM.c
- Timestamp:
- Jun 29, 2006, 10:47:55 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppFocusGetFWHM.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppFocusGetFWHM.c
r7749 r7757 37 37 38 38 // get average FWHM 39 // XXX one option is to use the PSF model to determine the FWHM somewhere 40 # if 0 41 psf = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.PSF"); 42 if (psf == NULL) continue; 43 # endif 44 45 // in this example, we use the supplied PSPHOT.HEADER data in which FWHM_X,Y are supplied 39 // psphotReadout writes the FWHM values into the PSPHOT.HEADER table 40 // the source of this value depends on the psphot options. 41 // - if breakPoint is set to PEAKS, the value will not be defined 42 // - if breakPoint is set to MOMENTS, the PSFSTAR moments are used 43 // - in all other cases, the psf model is used 46 44 header = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.HEADER"); 47 45 if (header == NULL) { … … 63 61 FWHM = FWHMsum / FWHMnum; 64 62 65 // FOCUS = pmConcepts (&status, input->fpa, "FOCUS"); 66 FOCUS = 0; 63 FOCUS = psMetadataLookupF32 (&status, input->fpa->concepts, "FPA.FOCUS"); 67 64 68 65 fwhm->data.F32[fwhm->n] = FWHM;
Note:
See TracChangeset
for help on using the changeset viewer.
