Changeset 5672 for trunk/psphot/src/psphot.c
- Timestamp:
- Dec 4, 2005, 5:33:32 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphot.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphot.c
r5643 r5672 11 11 pmPSFClump psfClump; 12 12 bool status; 13 14 psphotModelGroupInit (); 13 15 14 16 config = psphotArguments (&argc, argv); … … 25 27 // measure image stats for initial guess 26 28 sky = psphotImageStats (imdata, config); 29 30 // psPolynomial2D *skyModel = psphotImageBackground (imdata, config, sky); 31 psphotImageBackground (imdata, config, sky); 27 32 28 33 // find the peaks in the image … … 53 58 54 59 switch (FITMODE) { 60 case -2: 61 psphotEnsemblePSF (imdata, config, sources, psf, sky); 62 psphotReapplyPSF (imdata, config, sources, psf, sky); 63 break; 64 65 case -1: 66 psphotEnsemblePSF (imdata, config, sources, psf, sky); 67 break; 68 55 69 case 0: 56 70 psphotFixedPSF (imdata, config, sources, psf, sky); … … 63 77 64 78 case 2: 65 // fit extended objects with galaxy models79 // fit extended objects with galaxy models 66 80 psphotApplyPSF (imdata, config, sources, psf, sky); 67 81 psphotFitGalaxies (imdata, config, sources, sky); … … 69 83 70 84 case 3: 71 // fit extended objects with galaxy models85 // fit extended objects with galaxy models 72 86 psphotFixedPSF (imdata, config, sources, psf, sky); 73 87 psphotFitGalaxies (imdata, config, sources, sky);
Note:
See TracChangeset
for help on using the changeset viewer.
