IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 17, 2005, 10:26:59 AM (21 years ago)
Author:
eugene
Message:

clean up of small accounting bugs, adding the post-subtraction ApResid

File:
1 edited

Legend:

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

    r5773 r5802  
    4646    pmSourceRoughClass (sources, config, psfClump);
    4747
    48     // optional dump of all rough source data
    49     char *output = psMetadataLookupPtr (&status, config, "MOMENTS_OUTPUT_FILE");
    50     if (status && (output != NULL) && (output[0]))
    51     {
    52       pmMomentsWriteText (sources, output);
    53       psFree (output);
    54     }
    55     if (!strcasecmp (breakPt, "CLASS")) exit (0);
    56 
    5748    // mark blended peaks PS_SOURCE_BLEND
    5849    psphotBasicDeblend (sources, config, sky);
     
    6152    // source analysis is done in S/N order (brightest first)
    6253    sources = psArraySort (sources, psphotSortBySN);
     54
     55    psphotDumpMoments (config, sources);
     56    if (!strcasecmp (breakPt, "CLASS")) exit (0);
    6357
    6458    // use bright stellar objects to measure PSF
     
    7569      case 0:
    7670        psphotEnsemblePSF (imdata, config, sources, psf, sky);
    77         psphotFullFit (imdata, config, sources, psf, sky);
    78 //      psphotReplaceUnfit (sources);
    7971        break;
    8072
    8173      case 1:
     74        psphotEnsemblePSF (imdata, config, sources, psf, sky);
     75        psphotFullFit (imdata, config, sources, psf, sky);
     76        psphotReplaceUnfit (sources);
     77        psphotApResid (sources, config, psf);
     78        break;
     79
     80      case 2:
    8281        // fit extended objects with galaxy models
    8382        psphotApplyPSF (imdata, config, sources, psf, sky);
     
    8584        break;
    8685
    87       case 2:
     86      case 3:
    8887        // fit extended objects with galaxy models
    8988        psphotApplyPSF (imdata, config, sources, psf, sky);
    9089        break;
    9190
    92       case 3:
     91      case 4:
    9392        // fit extended objects with galaxy models
    9493        psphotFixedPSF (imdata, config, sources, psf, sky);
Note: See TracChangeset for help on using the changeset viewer.