Changeset 36247
- Timestamp:
- Oct 28, 2013, 11:25:29 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotGalaxyShape.c
r36241 r36247 326 326 float dflux = flux * (dIo / Io); 327 327 328 // Set this to be the model of choice. 329 // XXX: Maybe: figure out which is the best and save that one. 330 { 331 psFree (source->modelEXT); 332 333 source->modelEXT = psMemIncrRefCounter (pcm->modelConv); 334 source->type = PM_SOURCE_TYPE_EXTENDED; 335 source->mode |= PM_SOURCE_MODE_EXTMODEL; 336 source->mode |= PM_SOURCE_MODE_NONLINEAR_FIT; 337 338 // adjust the window so the subtraction covers the faint wings 339 // psphotSetRadiusMoments(&fitRadius, &windowRadius, readout, source, markVal); 340 341 // cache the model flux 342 pmPCMCacheModel (source, maskVal, psfSize); 343 } 344 328 345 psVectorAppend (source->galaxyFits->Flux, flux); 329 346 psVectorAppend (source->galaxyFits->dFlux, dflux);
Note:
See TracChangeset
for help on using the changeset viewer.
