scopesim.effects.psfs.psf_base.rotational_blur

scopesim.effects.psfs.psf_base.rotational_blur#

scopesim.effects.psfs.psf_base.rotational_blur(image, angle: Annotated[Quantity, Unit('deg')])#

Rotate and coadd an image over a given angle to imitate a blur.

Parameters:
  • image (array-like) – Image to blur.

  • angle (u.Quantity["angle"]) – Angle over which the image should be rotationally blurred.

  • versionchanged: (..) – 0.11.3: Require angle to be a Quantity.

Returns:

image_rot – Blurred image

Return type:

np.ndarray