[SciPy-User] scipy.ndimage.filters.median_filter with NAN values
Shahar Barak
shaharb at stanford.edu
Fri Oct 10 14:43:05 EDT 2014
I have a 3D array, in which some values are Nan (masked).
I am using scipy.ndimage.filters.median_filter to smooth the data.
Is there a way to have scipy.ndimage.filters.median_filter not include the
NAN values in its median calculation?
Thanks,
Shahar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20141010/8b29b0e6/attachment.html>
More information about the SciPy-User
mailing list