From 62b3ee291695ebf25bc336dd990cede44c0bc98f Mon Sep 17 00:00:00 2001
From: David Hammer <dhammer@mailbox.org>
Date: Wed, 20 Apr 2022 13:48:48 +0200
Subject: [PATCH] DSSC: Remove unused constant parameters

---
 src/calng/DsscCorrection.py | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/src/calng/DsscCorrection.py b/src/calng/DsscCorrection.py
index 7aa604e4..21b2df28 100644
--- a/src/calng/DsscCorrection.py
+++ b/src/calng/DsscCorrection.py
@@ -129,25 +129,6 @@ class DsscCalcatFriend(base_calcat.BaseCalcatFriend):
             .setNewDefaultValue(100)  # TODO: proper
             .commit()
         )
-        (
-            DOUBLE_ELEMENT(schema)
-            .key(f"{param_prefix}.pulseIdChecksum")
-            .assignmentOptional()
-            .defaultValue(2.8866323107820637e-36)
-            .commit(),
-
-            DOUBLE_ELEMENT(schema)
-            .key(f"{param_prefix}.acquisitionRate")
-            .assignmentOptional()
-            .defaultValue(4.5)
-            .commit(),
-
-            DOUBLE_ELEMENT(schema)
-            .key(f"{param_prefix}.encodedGain")
-            .assignmentOptional()
-            .defaultValue(67328)
-            .commit(),
-        )
 
         base_calcat.add_status_schema_from_enum(schema, status_prefix, DsscConstants)
 
@@ -157,9 +138,6 @@ class DsscCalcatFriend(base_calcat.BaseCalcatFriend):
         res["Sensor Bias Voltage"] = self._get_param("biasVoltage")
         res["Pixels X"] = self._get_param("pixelsX")
         res["Pixels Y"] = self._get_param("pixelsY")
-        # res["Pulse id checksum"] = self._get_param("pulseIdChecksum")
-        # res["Acquisition rate"] = self._get_param("acquisitionRate")
-        # res["Encoded gain"] = self._get_param("encodedGain")
         return res
 
 
-- 
GitLab