ComputeTransformXYShift#

class prose.blocks.geometry.ComputeTransformXYShift(reference_image: Image, n=10, discard=True, **kwargs)[source]#

Compute translational transform of a target image to a reference image

read Image.sources on both reference and input image

write Image.transform

Parameters:
  • ref (Image) – image containing detected sources

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