Construct images without sanity checks in _convertMask
function in the HSM module
#1264
Labels
hsm
Related to the galsim.hsm adaptive moments tools
lsst
Relevant to LSST specifically
optimization/performance
Related to the speed and/or memory consumption of some aspect of the code
When measuring the moments using
FindAdaptiveMom
, I find that a significant chunk of time is taken by the_convertMask
function, which arises from various Image instantiations. Given that this is an internal function, I expect that the inputs provided to create an Image instance would always pass these checks and can directly use the_Image
.For reference, 38 out of 186 seconds is spend in
_convertMask
when callingFindAdaptiveMom
.The text was updated successfully, but these errors were encountered: