Commit graph

11 commits

Author SHA1 Message Date
Joe Knapper
07cbef0536 Reimplement tie breaking by distance between 2025-04-17 10:25:40 +01:00
jaknapper
c895383a83 Remove repeated moves_from_centre() code 2025-04-17 10:12:12 +01:00
Joe Knapper
1248c2b7c8 Remove unneeded third sort key 2025-04-17 08:47:24 +00:00
Joe Knapper
b414697cfb Update testing for multiple sample shapes 2025-04-15 16:35:52 +01:00
jaknapper
7373424fcf Ruff formatting 2025-04-15 10:40:45 +01:00
jaknapper
ec25ae7126 Add a scan path planner that prioritises shorter moves 2025-04-14 18:49:35 +01:00
Julian Stirling
06632f195e Spelling corrections and docstring improvements
Co-authored by Joe Knapper <jaknapper@hotmail.com>
2025-04-14 15:46:27 +00:00
Julian Stirling
a0b6dbdfce Add weay to access a copy of the data from a ScanPlanner 2025-04-14 11:27:25 +01:00
Julian Stirling
91073535a8 More tests for scan planners 2025-04-14 11:27:25 +01:00
Julian Stirling
842e196f9b Add some basic tests, and do minor fixes based on tests and MyPy 2025-04-14 11:27:25 +01:00
Julian Stirling
1f66e8bc7a Enormous refactor of the scan code, was hard to find an intermediate working place to commit 2025-04-14 11:27:25 +01:00