Skip to content

Commit c13e222

Browse files
Move geq to in full_auto_calibrate()
1 parent b2495c9 commit c13e222

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/labthings_picamera2/thing.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,6 @@ def calibrate_lens_shading(self):
868868
one. This uses the camera's "tuning" file to correct the preview and
869869
the processed images. It should not affect raw images.
870870
"""
871-
self.set_static_green_equalisation()
872871
with self.picamera(pause_stream=True) as cam:
873872
L, Cr, Cb = recalibrate_utils.lst_from_camera(cam)
874873
recalibrate_utils.set_static_lst(self.tuning, L, Cr, Cb)
@@ -935,11 +934,13 @@ def full_auto_calibrate(self):
935934
936935
* `flat_lens_shading` to disable flat-field
937936
* `auto_expose_from_minimum`
938-
* `calibrate_white_balance`
937+
* `set_static_green_equalisation` to set geq offset to max
939938
* `calibrate_lens_shading`
939+
* `calibrate_white_balance`
940940
"""
941941
self.flat_lens_shading()
942942
self.auto_expose_from_minimum()
943+
self.set_static_green_equalisation()
943944
self.calibrate_lens_shading()
944945
self.calibrate_white_balance()
945946

0 commit comments

Comments
 (0)