summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorJon Nordby <jononor@gmail.com>2025-08-09 00:01:44 +0200
committerJon Nordby <jononor@gmail.com>2025-08-09 00:09:19 +0200
commitc479b10723a1a4a5ecbc6e69d3dcc6fc7c23e125 (patch)
tree04f4d3538ec1a7056af26e7c5d969c90548d6924 /bindings
parentaf24fc893090c12af3d8e2a16fb2d86267e0955a (diff)
pdm: Using 255 seems pretty nice
Lower values have much larger DC offsets on output
Diffstat (limited to 'bindings')
-rw-r--r--bindings/test_galearn_pdm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/test_galearn_pdm.py b/bindings/test_galearn_pdm.py
index 6fbbc4c..b55fc53 100644
--- a/bindings/test_galearn_pdm.py
+++ b/bindings/test_galearn_pdm.py
@@ -137,7 +137,7 @@ def test_dc():
out = numpy.zeros(shape=len(pdm_input)//DECIMATION, dtype=numpy.int16)
# Process using filter
- n_samples = galearn_pdm.process(pdm_input, out, 64, 0)
+ n_samples = galearn_pdm.process(pdm_input, out, 255, 0)
out = out / (2**12)
# Compensate for delay through filter