Find the affine transformation which transforms from the initial to final scan positions.
Approach
Use RANSAC and linear least squares to estimate the global position transformation from initial to final positions. This transformation is then decomposed into scale, shear, rotation, translation and is stored as a new AffineTransform dataclass.
Pre-Merge Checklists
Submitter
[x] Write a helpfully descriptive pull request title.
[x] Organize changes into logically grouped commits with descriptive commit messages.
[ ] Document all new functions.
[x] Click 'details' on the readthedocs check to view the updated docs.
[x] Write tests for new functions or explain why they are not needed.
[ ] Address any complaints from pep8speaks.
Reviewer
[x] Actually read all of the code.
[x] Run the new code yourself; the included tests should make this easy.
[x] Write a summary of the changes as you understand them.
Purpose
Find the affine transformation which transforms from the initial to final scan positions.
Approach
Use RANSAC and linear least squares to estimate the global position transformation from initial to final positions. This transformation is then decomposed into scale, shear, rotation, translation and is stored as a new AffineTransform dataclass.
Pre-Merge Checklists
Submitter
Reviewer