class prose.blocks.alignment.AlignReferenceWCS(reference: Image, name=None, verbose=False, n=6)[source]#

Create WCS based on a reference containing a valid WCS.

To use this block, Image sources must match the sources from the reference (e.g. using AlignReferenceSources), i.e. same sources should be found at a given index in both images.

read Image.sources

write Image.wcs

  • reference (Image) – reference image containing a valid WCS

  • n (int, optional) – number of stars used to match WCS, by default 6