Decoding for ADC SAR 05 64->16bit (#124)

Co-authored-by: Patrick <patrick.sieberer@psi.ch>
This commit is contained in:
Erik Fröjdh
2025-02-05 14:40:26 +01:00
committed by GitHub
parent 078e5d81ec
commit 5a3ca2ae2d
5 changed files with 79 additions and 1 deletions
+6 -1
View File
@@ -2,6 +2,10 @@ import numpy as np
from . import _aare
class AdcSar05Transform64to16:
def __call__(self, data):
return _aare.adc_sar_05_decode64to16(data)
class Moench05Transform:
#Could be moved to C++ without changing the interface
def __init__(self):
@@ -45,4 +49,5 @@ class Matterhorn02Transform:
moench05 = Moench05Transform()
moench05_1g = Moench05Transform1g()
moench05_old = Moench05TransformOld()
matterhorn02 = Matterhorn02Transform()
matterhorn02 = Matterhorn02Transform()
adc_sar_05_64to16 = AdcSar05Transform64to16()