punchbowl.level1.psf#

Functions#

correct_psf(→ ndcube.NDCube)

Correct PSF.

correct_psf_task(→ ndcube.NDCube)

Prefect Task to correct the PSF of an image.

Module Contents#

punchbowl.level1.psf.correct_psf(data: ndcube.NDCube, corrector: regularizepsf.corrector.ArrayCorrector, alpha: float = 2.0, epsilon: float = 0.3) ndcube.NDCube#

Correct PSF.

punchbowl.level1.psf.correct_psf_task(data_object: ndcube.NDCube, model_path: str | None = None) ndcube.NDCube#

Prefect Task to correct the PSF of an image.

Parameters:
  • data_object (PUNCHData) – data to operate on

  • model_path (str) – path to the PSF model to use in the correction

Returns:

modified version of the input with the PSF corrected

Return type:

PUNCHData