Halostack Align module¶
Module for coaligning images
-
class
halostack.align.
Align
(img, cor_th=70.0, mode='simple', nprocs=1)¶ Bases:
object
Class to coalign images
Parameters: - img (halostack.image) – reference image
- ref_loc (3-tuple or None) – reference location
- srch_area (3-tuple or None) – reference search area
- cor_th – correlation threshold
- mode (str) – alignment method
- nprocs (int) – number or parallel processes used for finding best fit
Available alignment methods are:
'simple'
-
align
(img)¶ Align the given image with the reference image.
Parameters: img (halostack.image.Image) – image to align with the reference
-
set_reference
(area)¶ Set the reference area area.
Parameters: area (list or tuple) – 3-tuple of the form (x, y, radius)
-
set_search_area
(area)¶ Set the reference search area area.
Parameters: area (list or tuple) – 3-tuple of the form (x, y, radius)