Changeset 36441 for trunk/psphot/src/psphotGalaxyShape.c
- Timestamp:
- Jan 14, 2014, 2:28:47 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
psphot (modified) (1 prop)
-
psphot/src (modified) (2 props)
-
psphot/src/psphotGalaxyShape.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/bills_branches/bills_201312 (added) merged: 36383,36386,36388-36396,36406-36407,36409-36412,36415-36420,36422-36427,36433,36436-36439
- Property svn:mergeinfo changed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/bills_branches/bills_201312/psphot (added) merged: 36406-36407,36410,36420,36437-36438
- Property svn:mergeinfo changed
-
trunk/psphot/src
- Property svn:ignore
-
old new 26 26 psphotFullForce 27 27 psmakecff 28 psphotFullForceSummary
-
- Property svn:mergeinfo changed
/branches/bills_branches/bills_201312/psphot/src (added) merged: 36406-36407,36410,36420,36437-36438
- Property svn:ignore
-
trunk/psphot/src/psphotGalaxyShape.c
r36375 r36441 283 283 } 284 284 285 #ifdef SAVE_BEST_MODEL 286 // Save model with smallest chisq 285 287 if (isfinite(chisqBest)) { 288 #else 289 // Save model with nominal parameters 290 { 291 fRmajorBest = 1; 292 fRminorBest = 1; 293 #endif 286 294 // now save the best fitting model as the source's extended model 287 295 psEllipseAxes testAxes = guessAxes; … … 293 301 psphotGalaxyShapeSource (pcm, source, maskVal, psfSize, false); 294 302 303 // Replace modelEXT with this model 304 // XXX: only do this if the model is good 295 305 psFree (source->modelEXT); 296 306 … … 299 309 source->mode |= PM_SOURCE_MODE_EXTMODEL; 300 310 source->mode |= PM_SOURCE_MODE_NONLINEAR_FIT; 301 302 // adjust the window so the subtraction covers the faint wings303 // psphotSetRadiusMoments(&fitRadius, &windowRadius, readout, source, markVal);304 311 305 312 // cache the model flux
Note:
See TracChangeset
for help on using the changeset viewer.
