class prose.blocks.geometry.ComputeTransformTwirl(reference_image: Image, n=10, rtol=0.02, **kwargs)[source]#

Compute transformation of an image to a reference image

read Image.sources on both reference and input image

write Image.transform

  • ref (Image) – Image containing detected sources

  • n (int, optional) – Number of stars to consider to compute transformation, by default 10


SingularMatrix – Transformation matrix could not be computed. Check the sources in both the reference and input image.