From 8abfd8b925726a2f108250a3601e9cbbc72db9e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Le=20Guyader?= <loic.le.guyader@xfel.eu>
Date: Fri, 12 Apr 2019 14:17:44 +0200
Subject: [PATCH] Adds FastCCD charge split classified and multiplicity
 patterns keys

---
 Load.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Load.py b/Load.py
index 4c81f83..f526067 100644
--- a/Load.py
+++ b/Load.py
@@ -123,6 +123,20 @@ mnemonics = {
     "fastccd": {'source':'SCS_CDIDET_FCCD2M/DAQ/FCCD:daqOutput',
                 'key':'data.image.pixels',
                 'dim':['x', 'y']},
+    # FastCCD charge split correction in very low photon count regime
+    "fastccd_classified": {'source':'SCS_CDIDET_FCCD2M/DAQ/FCCD:daqOutput',
+                'key':'data.image.pixels_classified',
+                'dim':['x', 'y']},
+    # FastCCD event multiplicity from the charge split correction:
+    # 0: no events
+    # 100, 101: single events
+    # 200-203: charge split into two pixels in four different orientations
+    # 300-303: charge split into three pixels in four different orientations
+    # 400-403: charge split into four pixels in four different orientations
+    # 1000: charge in more than four neighboring pixels. Cannot be produced by a single photon alone.
+    "fastccd_patterns": {'source':'SCS_CDIDET_FCCD2M/DAQ/FCCD:daqOutput',
+                'key':'data.image.patterns',
+                'dim':['x', 'y']},
 
     # TIM
     "MCP1apd": {'source':'SCS_UTC1_ADQ/ADC/1:network',
-- 
GitLab