Commit graph

3664 commits

Author SHA1 Message Date
Julian Stirling
f1730ff2c0 Tidy up ROM action and add a lock 2025-10-17 15:19:06 +01:00
Julian Stirling
ee76a46882 Move actions to top of ROM thing 2025-10-17 15:19:06 +01:00
Julian Stirling
23c4ac6c18 Adjust data types and remove need to reset tracker 2025-10-17 15:19:06 +01:00
Julian Stirling
9fe6ad8efb Reduce argument numbers with data class and constants 2025-10-17 15:19:06 +01:00
Julian Stirling
8a0836f368 Fix some annotations, arguments, and docstring formatting 2025-10-17 15:19:06 +01:00
jaknapper
19b2afe7d7 Logging fixes 2025-10-17 15:19:06 +01:00
Chish36
3f29e6ccea Changed variable name, fixed parasitic error 2025-10-17 15:19:06 +01:00
Chish36
1e7ad7bf29 Fixed ruff errors 2025-10-17 15:19:06 +01:00
Ben Chisholm
e5b0c7f049 Created function to collate data with unit test for it 2025-10-17 15:19:06 +01:00
Chish36
61167888a6 Fixed pydoctor errors 2025-10-17 15:19:06 +01:00
Chish36
094cb94da8 Ruff formatting 2025-10-17 15:19:06 +01:00
Chish36
773f19ee36 Added unit test for parasitic error 2025-10-17 15:19:06 +01:00
Chish36
e3a17240db Typehint given to data 2025-10-17 15:19:06 +01:00
Chish36
6bed02eccf Removed assert statement and replaced with custom exception 2025-10-17 15:19:06 +01:00
Chish36
1e7f62f8ad 2 unit tests added. Added a dummy matrix to mock_csm and changed position in mock_stage to a dictionary. 2025-10-17 15:19:06 +01:00
Chish36
ab9a324122 Typehint added and import removed. 2025-10-17 15:19:06 +01:00
Chish36
1afaa53413 Removed cv2 resize 2025-10-17 15:19:06 +01:00
Chish36
3a0961e9dc Clearer dictionary keys 2025-10-17 15:19:06 +01:00
Chish36
8dad346320 Made changes to docstrings and a few minor code changes. 2025-10-17 15:19:06 +01:00
Chish36
875bf1a6de Fixed ruff format errors 2025-10-17 15:19:06 +01:00
Chish36
e95f31d832 Resolved data tracking error. 2025-10-17 15:19:06 +01:00
Chish36
f501e7741d More refactoring 2025-10-17 15:19:06 +01:00
Chish36
024c74f67b More docstrings and comments. Removed json dump to openflexure folder. 2025-10-17 15:19:06 +01:00
Chish36
4cde2d5cd1 Changed typehints to literal for axis and direction 2025-10-17 15:19:06 +01:00
Chish36
897cb022b1 Improved code readability 2025-10-17 15:19:06 +01:00
Chish36
d6c47bd43e Ruff formatting stuff 2025-10-17 15:19:06 +01:00
Chish36
6579a65f84 Made changes based on ruff-lint-increased feedback 2025-10-17 15:19:06 +01:00
Chish36
32129125d6 Fixed spelling 2025-10-17 15:19:06 +01:00
Chish36
8ce7f9f779 Removed empty lines 2025-10-17 15:19:06 +01:00
Chish36
d035b186a2 Updated docstrings 2025-10-17 15:19:06 +01:00
Chish36
f0a67bac19 Type set and added default values to data tracker class 2025-10-17 15:19:06 +01:00
Chish36
4106d0348c Delta is tracked with class now 2025-10-17 15:19:06 +01:00
Chish36
63bd34f548 Removed focus_data 2025-10-17 15:19:06 +01:00
Chish36
db0dc11274 Tracking correlations and stage coordinates with class now. 2025-10-17 15:19:06 +01:00
Chish36
47bc1479e2 Changed function names. 2025-10-17 15:19:06 +01:00
Chish36
703e8293d5 Rom data is now saved to settings.json 2025-10-17 15:19:06 +01:00
Chish36
f7264441e1 Updated labthings dependencies 2025-10-17 15:19:06 +01:00
Chish36
38906c8fff Moved quadratic function to utilities file 2025-10-17 15:19:05 +01:00
Chish36
d494761cbb Updated docstrings and fixed ruff errors 2025-10-17 15:19:05 +01:00
Chish36
1c7527c2ef Parisitic motion is now tracked with an exception 2025-10-17 15:19:05 +01:00
Chish36
23d53949b4 Small moves and medium moves are now in separate functions 2025-10-17 15:19:05 +01:00
Chish36
61c3877202 Removed the need for steps_generate function 2025-10-17 15:19:05 +01:00
Chish36
e74ac9d859 Improved docstrings and type hints. 2025-10-17 15:19:05 +01:00
Chish36
e327305549 Docstring added 2025-10-17 15:19:05 +01:00
Chish36
b90ecf8c49 Motion detection is now a function and a few other minor tweaks 2025-10-17 15:19:05 +01:00
Chish36
ada120db9c Minor tweaks to z_pred and lowered tolerance for failure 2025-10-17 15:19:05 +01:00
Chish36
154870142d Optional autofocus and other minor tweaks 2025-10-17 15:19:05 +01:00
Chish36
0bf3b4210a Added stage measure to config list 2025-10-17 15:19:05 +01:00
Chish36
725f993366 Typehints and docstrings added 2025-10-17 15:19:05 +01:00
Chish36
0267251a18 Move and measure and z predict are now separate functions 2025-10-17 15:19:05 +01:00