radial_distances
- mcalf.utils.mask.radial_distances(n_cols, n_rows)[source]
Generates a 2D array of specified shape of radial distances from the centre.
- Parameters:
- Returns:
array – Array of radial distances.
- Return type:
numpy.ndarray, shape=(n_rows, n_cols)
See also
genmask
Generates a circular mask.