added correct decoder for ADC-SAR-05-06-07-08 ASIC (#266)

Adding function to correctly decode the ADC-SAR-05-06-07-08 Chip. 

Co-authored-by: Erik Fröjdh <erik.frojdh@psi.ch>
This commit is contained in:
siebsi
2026-01-20 16:38:06 +01:00
committed by GitHub
parent f79ee55430
commit 31f3a60cd3
4 changed files with 66 additions and 1 deletions
+6 -1
View File
@@ -10,6 +10,10 @@ class AdcSar04Transform64to16:
class AdcSar05Transform64to16:
def __call__(self, data):
return _aare.adc_sar_05_decode64to16(data)
class AdcSar05060708Transform64to16:
def __call__(self, data):
return _aare.adc_sar_05_06_07_08decode64to16(data)
class Moench05Transform:
#Could be moved to C++ without changing the interface
@@ -93,4 +97,5 @@ moench05_1g = Moench05Transform1g()
moench05_old = Moench05TransformOld()
matterhorn02 = Matterhorn02Transform()
adc_sar_04_64to16 = AdcSar04Transform64to16()
adc_sar_05_64to16 = AdcSar05Transform64to16()
adc_sar_05_64to16 = AdcSar05Transform64to16()
adc_sar_05_06_07_08_64to16 = AdcSar05060708Transform64to16()