class prose.blocks.alignment.AlignReferenceSources(reference: Image, name=None, verbose=False, discard_tolerance=0.5, match_tolerance=5)[source]#

Set Image sources to reference sources (from a reference Image) aligned to the Image

read Image.transform, Image.sources

write Image.sources

  • reference (Image) – reference image containing sources

  • name (_type_, optional) – _description_, by default None

  • verbose (bool, optional) – _description_, by default False

  • discard_tolerance (float, optional) – fraction of sources that needs to be matched before discarding image

  • match_tolerance (float, optional) – maximum distance between matched sources in pixels, default 5