Julian Stirling
9ef417971f
Remove a load more /names/
2025-12-14 18:23:33 +00:00
Julian Stirling
7bc4c514a6
Autofix import order
2025-12-02 16:26:15 +00:00
Julian Stirling
d0d30222b4
Update sensor mode picamera test to ensure that camera tests don't use saved settings
2025-11-11 11:20:08 +00:00
Julian Stirling
c0362ee8dd
Make picamera tests compatible with updates
2025-11-11 11:20:08 +00:00
Julian Stirling
13d3871059
Add testing for loading the tuning files in the normal test suite now not tied to picamera
2025-11-11 11:20:08 +00:00
Julian Stirling
7d583dcf94
Apply suggestions from code review of branch dont-mutate-tuning-files
...
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-10-29 13:08:10 +00:00
Julian Stirling
e9c912d910
Add unit test to check tuning is persistent after picamera calibration and modifying LST
2025-10-29 13:08:10 +00:00
Julian Stirling
2010e8eeb2
Further improve picamera tests to reuse fixtures and context managers.
2025-10-29 13:08:10 +00:00
Julian Stirling
995a464ba2
Rearrange Picamera tests to start using server context manager.
2025-10-29 13:08:10 +00:00
Julian Stirling
df979eb3cf
Add checks for new calibration required property to tests
2025-10-26 15:47:41 +00:00
Julian Stirling
b1a70fd399
Apply suggestions from code review of branch picam-test-readme-update
...
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-10-23 15:17:18 +00:00
Julian Stirling
ac1b6549e1
Add section to Picamera tests README on keeping branches up to date
2025-10-23 11:11:30 +01:00
jaknapper
18ad404a57
Set colour correction to interpolate value
...
Update hardware test readme
Add pause between calibrating camera and setting background
2025-10-21 13:37:50 +01:00
Julian Stirling
d7d1f42b2c
Enable PyTest ruff checks
2025-09-18 16:21:45 +01:00
Julian Stirling
f24272bc7f
Set sensor_model as kwarg to SteamingPicameraThing. From this load sensor information.
2025-09-18 13:00:46 +01:00
Julian Stirling
c16a0391df
Divide up tuning file modification from camera actions for recalibration.
...
* Ensure that funtions only called locally by recalibrate utils are private
* Move public API to the top of the recalibrate utils file
* Move files that only alter the tuning dictionary to their own file
This makes the recalibration API used by PiCamera much more clearly defined, which
helps to plan out how to allow for different models.
2025-09-18 13:00:46 +01:00
Julian Stirling
23a3a5b464
Update argument names in picamera tests
2025-08-27 17:14:49 +01:00
Julian Stirling
4e5317291f
Improve robustness of the full_auto_calibrate test on PiCamera
2025-08-21 12:44:57 +01:00
Julian Stirling
0a9b6be9bd
Raise error if tuning algorithm cannot be returned, unless explicityly asked not to
2025-08-21 12:44:57 +01:00
Julian Stirling
677fb8d988
Add more checks to the calibration test
2025-08-20 14:55:02 +01:00
Julian Stirling
fdae0b9226
Add get_tuning_algo method to StreamingPiCamera2
2025-08-20 14:53:53 +01:00
Julian Stirling
46be94383a
Add more testing to aquisition test
2025-08-20 14:52:37 +01:00
Julian Stirling
c209d524c5
Split calibration and aquisition tests
2025-08-20 14:52:35 +01:00
Julian Stirling
469562df4b
Add failing unit test as default tuning is updated during calibration
2025-08-20 14:51:18 +01:00
Julian Stirling
6142a267db
Add flake8 bugbear checks
2025-08-12 13:09:43 +01:00
Julian Stirling
3b563a9987
Improve hardware specific tests README
2025-07-30 14:48:09 +01:00
Julian Stirling
e7d5b8bd1f
Improve README a for hardware specific tests, and make fixes to picamera_tests script
2025-07-29 18:42:15 +01:00
Julian Stirling
727d683c48
Add zip of picamera coverage and update CI to use it
2025-07-29 18:21:20 +01:00
Julian Stirling
9f38b041a6
Create script to zip up picamera tests and hashes of releavant source files
2025-07-29 18:21:20 +01:00
Julian Stirling
f0c6ded1b6
Apply suggestions from code review of branch Camera-tweaks
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-29 16:34:38 +00:00
Julian Stirling
f710612a51
Refactor exposure tests to minimise repitition on set-up. Fix typehints and docstrings
2025-07-29 17:24:43 +01:00
Julian Stirling
bcfe8c1eb5
Apply suggestions from code review of branch Camera-tweaks
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-29 15:17:45 +00:00
Julian Stirling
38f4a745c3
Fix bug with setting exposure time on load, add associated test
2025-07-29 14:05:12 +01:00
Julian Stirling
b90b02cf7d
Better fix for exposure drift with more complete testing. Also fix return value for capture_to_memory
2025-07-29 12:11:45 +01:00
Julian Stirling
14359e73bb
Add public method docstrings.
2025-07-10 15:12:28 +01:00
Julian Stirling
2cb4003835
Add module level docstrings.
2025-07-10 09:24:50 +01:00
Julian Stirling
80beeea07b
Add punctuation to docstrings
2025-07-10 09:24:50 +01:00
Julian Stirling
4dc41bb008
Single line summaries of docstrings
2025-07-10 09:24:49 +01:00
Julian Stirling
35d47fe3ed
Starting docstring on the same lines as the quotations
2025-07-10 09:24:49 +01:00
Julian Stirling
f51dae7b3a
Doc strings to imperative mood
2025-07-10 09:24:49 +01:00
Julian Stirling
0751457ed3
Remove rednundant if __main__ from hardware tests
2025-06-25 16:01:59 +01:00
Julian Stirling
0933ece63a
Apply suggestions from code review of branch jpeg-capture-in-stacking
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-25 15:39:36 +01:00
Julian Stirling
59d15fb186
Add further comment to picamera tests
2025-06-25 10:18:43 +01:00
Julian Stirling
4e78f3d104
Fix exposure time adjusting when setting the same value and add test
...
Closes #433
2025-06-24 17:01:16 +01:00
jaknapper
9966cb0fbb
Longer wait in exposure time test with fewer loops and lower exposure time
2025-06-24 15:55:19 +01:00
jaknapper
83832bf375
Update import name of recalibrate_utils
2025-06-24 15:53:57 +01:00
Julian Stirling
a43a82213d
Improve docs for hardware specific tests
2025-06-24 14:07:58 +01:00
Julian Stirling
4368dc3d90
Consolidate functionality into BaseCamera from Capture Thing and StreamingPicamera2
2025-06-23 11:26:22 +01:00
Julian Stirling
b5606984ae
Consolidate the BaseCamera, CameraStub, and CameraProtocol, move StreamingPiCamera2 to this repo
2025-06-23 11:25:49 +01:00