xhealpixify.interpolation.mask.mask_weights

Contents

xhealpixify.interpolation.mask.mask_weights#

xhealpixify.interpolation.mask.mask_weights(weights, indices, mask, min_vertices=3)#

mask weights

Parameters:
  • weights (array-like) – The raw weights from any of the interpolation methods

  • indices (array-like) – The indices of the surrounding vertices into the source grid

  • mask (array-like) – The mask to apply. Has to be True for data pixels and False for missing values.