punchbowl.level1.alignment#

Functions#

align_task(→ ndcube.NDCube)

Determine the pointing of the image and updates the metadata appropriately.

Module Contents#

punchbowl.level1.alignment.align_task(data_object: ndcube.NDCube, mask: collections.abc.Callable | None = None) ndcube.NDCube#

Determine the pointing of the image and updates the metadata appropriately.

Parameters:
  • data_object (PUNCHData) – data object to align

  • mask (Callable | None) – function accepting coordinates and returning them only if they are not masked out

Returns:

a modified version of the input with the WCS more accurately determined

Return type:

PUNCHData