Custom base for decoding ADC data (#163)

New function apply_custom_weights (can we find a better name) that takes
a uint16 and a NDView<double,1> of bases for the conversion. For each
supplied weight it is used as base (instead of 2) to convert from bits
to a double.

---------

Co-authored-by: siebsi <sieb.patr@gmail.com>
This commit is contained in:
Erik Fröjdhandsiebsi authored and GitHub committed 2025-04-22 15:20:46 +02:00
1 parent 84aafa75f6
commit 326941e2b4
8 files changed
+204 -27

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ from ._aare import ClusterFinderMT, ClusterCollector, ClusterFileSink, ClusterVe
from ._aare import fit_gaus, fit_pol1
from ._aare import Interpolator
from ._aare import apply_custom_weights
from .CtbRawFile import CtbRawFile
from .RawFile import RawFile
from .ScanParameters import ScanParameters