Gaussian filtering a image with Nan in Python
in words: A Gaussian filter which ignores NaNs in a given array U can be easily obtained by applying a standard Gaussian filter to two auxiliary arrays V and W and by taking the ratio of the two to get the result Z. Here, V is copy of the original U with NaNs replaced by … Read more