genmask
- mcalf.utils.mask.genmask(width, height, radius=inf, right_shift=0, up_shift=0)[source]
Generate a circular mask of specified size.
- Parameters:
- Returns:
array – The generated mask.
- Return type:
numpy.ndarray, shape=(height, width)
Examples
Plot a map of velocities