Changeset 5802 for trunk/psphot/src/psphot.c
- Timestamp:
- Dec 17, 2005, 10:26:59 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphot.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphot.c
r5773 r5802 46 46 pmSourceRoughClass (sources, config, psfClump); 47 47 48 // optional dump of all rough source data49 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 57 48 // mark blended peaks PS_SOURCE_BLEND 58 49 psphotBasicDeblend (sources, config, sky); … … 61 52 // source analysis is done in S/N order (brightest first) 62 53 sources = psArraySort (sources, psphotSortBySN); 54 55 psphotDumpMoments (config, sources); 56 if (!strcasecmp (breakPt, "CLASS")) exit (0); 63 57 64 58 // use bright stellar objects to measure PSF … … 75 69 case 0: 76 70 psphotEnsemblePSF (imdata, config, sources, psf, sky); 77 psphotFullFit (imdata, config, sources, psf, sky);78 // psphotReplaceUnfit (sources);79 71 break; 80 72 81 73 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: 82 81 // fit extended objects with galaxy models 83 82 psphotApplyPSF (imdata, config, sources, psf, sky); … … 85 84 break; 86 85 87 case 2:86 case 3: 88 87 // fit extended objects with galaxy models 89 88 psphotApplyPSF (imdata, config, sources, psf, sky); 90 89 break; 91 90 92 case 3:91 case 4: 93 92 // fit extended objects with galaxy models 94 93 psphotFixedPSF (imdata, config, sources, psf, sky);
Note:
See TracChangeset
for help on using the changeset viewer.
