We might consider raising a warning if stacksum encounters NaN's:
"stacksum encountered NaN values and excluded these values from the sum effectively assuming NaN = 0.
Consider using the number of points, which is returned as the second argument in the tuple, to renormalize the image."
We might consider raising a warning if stacksum encounters NaN's:
"stacksum encountered NaN values and excluded these values from the sum effectively assuming NaN = 0. Consider using the number of points, which is returned as the second argument in the tuple, to renormalize the image."