stereo.algorithm.paste.Paste.main#

Paste.main(method='pairwise', initial_slice=None, slices=None, *args, **kwargs)[source]#

Calculates and returns optimal alignment of two slices or computes center alignment of slices.

Parameters:
  • method (str) – pairwise or center, defaults to ‘pairwise’

  • initial_slice (Union[str, int, None]) – slice to use as the initialization for center alignment, defaults to None

  • slices (Optional[List[Union[str, int]]]) – list of slices to align, defaults to None

Other parameters refer to algorithm.paste.pairwise_align and algorithm.paste.center_align