Changes between Version 4 and Version 5 of IPP_for_PS1/ppImageMemoryExplosion_201208
- Timestamp:
- Aug 14, 2012, 4:39:50 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IPP_for_PS1/ppImageMemoryExplosion_201208
v4 v5 21 21 22 22 [[Image(o4985g0061o.jpg)]] 23 24 25 == How do the sources get large pixel images == 26 I traced through the code and found that the sources are getting allocated large pixel images in psphotKronIterate_Threaded. When the sum of pixels in the kron radius measurement == 0 the kron radius is set to NaN. Then it calculates the integration boundary and finds NaN. So it includes all pixels in the flux measurement. On the next kron iteration the code that is intended to avoid large raddii for small surface brightness objects calculates a huge allowed value. And since source->moments->Mrf is not finite it sets the window to the huge 27 value. 28 29 Basically it's a mess.
