Exception that is thrown when an attempt is made to sample an MaskedImage in an area that is masked out (where the mask is
sampled_mask (bool ndarray) – The sampled mask,
Truewhere the image’s mask was
Falseotherwise. Useful for masking out the sampling array.
sampled_values (ndarray) – The sampled values, no attempt at masking is made.
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.