IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 29, 2006, 10:47:55 AM (20 years ago)
Author:
eugene
Message:

fixed up focus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppFocusGetFWHM.c

    r7749 r7757  
    3737
    3838                // 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
    4644                header = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.HEADER");
    4745                if (header == NULL) {
     
    6361    FWHM = FWHMsum / FWHMnum;
    6462
    65     // FOCUS = pmConcepts (&status, input->fpa, "FOCUS");
    66     FOCUS = 0;
     63    FOCUS = psMetadataLookupF32 (&status, input->fpa->concepts, "FPA.FOCUS");
    6764
    6865    fwhm->data.F32[fwhm->n] = FWHM;
Note: See TracChangeset for help on using the changeset viewer.