Compute the texture of data.
Compute the texture of the data by comparing values with a 3x3 neighborhood (based on [Gourley et al., 2007]). NaN values in the original array have NaN textures.
Parameters: data (
numpy.ndarray) – multi-dimensional array with shape (…, number of beams, number of range bins)
Returns: texture (
numpy.ndarray) – array of textures with the same shape as data