From cfd87beab9d2bd816bcaac1ea9433265b84b4406 Mon Sep 17 00:00:00 2001
From: Paul Chote
Date: Mon, 24 Jun 2024 10:59:22 +0100
Subject: [PATCH] Report binning method in header.
---
rockit/camera/qhy/outputprocess.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/rockit/camera/qhy/outputprocess.py b/rockit/camera/qhy/outputprocess.py
index 60e11c3..6415fb7 100644
--- a/rockit/camera/qhy/outputprocess.py
+++ b/rockit/camera/qhy/outputprocess.py
@@ -280,6 +280,7 @@ def output_process(process_queue, processing_framebuffer, processing_framebuffer
('CAM-PRES', round(frame['cooler_pressure'], 1),
'[hPa] sensor pressure at end of exposure'),
('CAM-BIN', frame['binning'], '[px] binning factor'),
+ ('CAM-BMET', frame['binning_method'].upper(), 'binning method (SUM or MEAN)'),
('CAM-WIND', format_sensor_region(window_region), '[x1:x2,y1:y2] readout region (detector coords)'),
image_region_header,
bias_region_header,