IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 27, 2006, 6:12:57 PM (20 years ago)
Author:
Paul Price
Message:

Renaming pmReadoutSet{Mask,Weight} as pmReadoutGenerate{Mask,Weight} following change in psModules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadout.c

    r7638 r7716  
    1111    // XXX does this need to invoke I/O?
    1212    // XXX move this input the psphotImageLoop level?
    13     if (!pmReadoutSetMaskWeight (readout)) {
    14         return false;
     13    if (!pmReadoutGenerateMaskWeight (readout)) {
     14        return false;
    1515    }
    1616
    1717    // I have a valid mask, now mask in the analysis region of interest
    18     psphotMaskReadout (readout, recipe); 
     18    psphotMaskReadout (readout, recipe);
    1919
    2020    // run a single-model test if desired
     
    3838    // faint sources not classified?
    3939    if (!psphotRoughClass (sources, recipe)) {
    40         psFree (peaks);
    41         psFree (sources);
    42         psLogMsg ("psphot", 3, "failed to find a valid PSF clump for image");
    43         pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL");
    44         pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND");
    45         return false;
     40        psFree (peaks);
     41        psFree (sources);
     42        psLogMsg ("psphot", 3, "failed to find a valid PSF clump for image");
     43        pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL");
     44        pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND");
     45        return false;
    4646    }
    4747
     
    7373    // measure aperture photometry corrections
    7474    if (!psphotApResid (readout, sources, recipe, psf)) {
    75         psError(PSPHOT_ERR_PHOTOM, false, "Measure aperture photometry corrections");
    76         return false;
     75        psError(PSPHOT_ERR_PHOTOM, false, "Measure aperture photometry corrections");
     76        return false;
    7777    }
    7878
     
    8989    psphotSourceFreePixels (sources);
    9090
    91     // save the results of the analysis 
     91    // save the results of the analysis
    9292    psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.SOURCES", PS_DATA_ARRAY,    "psphot sources", sources);
    9393    psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.HEADER",  PS_DATA_METADATA, "header stats", header);
Note: See TracChangeset for help on using the changeset viewer.