etspy.utils.get_radial_mask(mask_shape: tuple[int, int], center: tuple[int, int] | None = None) → ndarray[source] Calculate a radial mask given a shape and center position. Parameters:¶ mask_shape: tuple[int, int]¶Shape (rows, cols) of the resulting mask. center: tuple[int, int] | None = None¶(x, y) location of mask center, optional. If None, the center of the mask_shape will be used by default. Returns:¶ mask – Logical array that is True in the masked region and False outside of it. Return type:¶ ndarray