Changeset 34258 for trunk/psphot/src/psphotReadoutMinimal.c
- Timestamp:
- Jul 31, 2012, 3:58:10 PM (14 years ago)
- Location:
- trunk/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120627/psphot (added) merged: 34139,34146,34172,34179,34190,34240,34247,34255
- Property svn:mergeinfo changed
-
trunk/psphot/src
- Property svn:ignore
-
old new 23 23 psphotStack 24 24 psphotModelTest 25 psphotMinimal
-
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120627/psphot/src (added) merged: 34139,34146,34172,34179,34190,34240,34247,34255
- Property svn:ignore
-
trunk/psphot/src/psphotReadoutMinimal.c
r34215 r34258 25 25 // Generate the mask and weight images, including the user-defined analysis region of interest 26 26 psphotSetMaskAndVariance (config, view, filerule); 27 28 // only subtract background if needed? 29 // activate this for a clean test with psphotMinimal. (add to recipe!) 30 if (0) { 31 // generate a background model (median, smoothed image) 32 if (!psphotModelBackground (config, view, filerule)) { 33 return psphotReadoutCleanup (config, view, filerule); 34 } 35 if (!psphotSubtractBackground (config, view, filerule)) { 36 return psphotReadoutCleanup (config, view, filerule); 37 } 38 } 27 39 28 40 // load the psf model, if suppled. FWHM_X,FWHM_Y,etc are saved on readout->analysis … … 72 84 psphotFitSourcesLinear (config, view, filerule, false, false); 73 85 74 // XXX eventually, add the extended source fits here 75 # if (0) 86 // measure the radial profiles to the sky 87 psphotRadialProfileWings (config, view, filerule); 88 89 // re-measure the kron mags with models subtracted and more appropriate windows 90 psphotKronIterate(config, view, filerule); 91 76 92 // measure source size for the remaining sources 77 psphotSourceSize (config, view, filerule );93 psphotSourceSize (config, view, filerule, false); 78 94 79 psphotExtendedSourceAnalysis (config, view, filerule); 95 // NOTE: Petrosian and Isophotal mags are not relevant at this time 96 // psphotExtendedSourceAnalysis (config, view, filerule); 80 97 98 // in ppSub context, this is used to fit TRAILs (and maybe EXP for comets) 81 99 psphotExtendedSourceFits (config, view, filerule); 82 # endif83 100 84 101 // calculate source magnitudes
Note:
See TracChangeset
for help on using the changeset viewer.
