From 5cdd6e15fc44aa9b23a6a528dc1e6793d883fe99 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Tue, 13 Feb 2024 12:40:08 +0100 Subject: [PATCH] Updates RX sampling rate specs --- ohmpi/hardware_components/mb_2023_0_X.py | 2 +- ohmpi/hardware_components/mb_2024_0_2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ohmpi/hardware_components/mb_2023_0_X.py b/ohmpi/hardware_components/mb_2023_0_X.py index 3fdf4a2e..4788f54f 100644 --- a/ohmpi/hardware_components/mb_2023_0_X.py +++ b/ohmpi/hardware_components/mb_2023_0_X.py @@ -14,7 +14,7 @@ from ohmpi.utils import enforce_specs # hardware characteristics and limitations # voltages are given in mV, currents in mA, sampling rates in Hz and data_rate in S/s SPECS = {'rx': {'model': {'default': os.path.basename(__file__).rstrip('.py')}, - 'sampling_rate': {'min': 2., 'default': 10., 'max': 100.}, + 'sampling_rate': {'min': 0., 'default': 100., 'max': 500.}, 'data_rate': {'default': 860.}, 'bias': {'min': -5000., 'default': 0., 'max': 5000.}, 'coef_p2': {'default': 2.50}, diff --git a/ohmpi/hardware_components/mb_2024_0_2.py b/ohmpi/hardware_components/mb_2024_0_2.py index 05883eb8..5b9f4509 100644 --- a/ohmpi/hardware_components/mb_2024_0_2.py +++ b/ohmpi/hardware_components/mb_2024_0_2.py @@ -14,7 +14,7 @@ from ohmpi.hardware_components.mb_2023_0_X import Rx as Rx_mb_2023 # hardware characteristics and limitations # voltages are given in mV, currents in mA, sampling rates in Hz and data_rate in S/s SPECS = {'rx': {'model': {'default': os.path.basename(__file__).rstrip('.py')}, - 'sampling_rate': {'min': 2., 'default': 10., 'max': 100.}, + 'sampling_rate': {'min': 0., 'default': 100., 'max': 500.}, 'data_rate': {'default': 860.}, 'bias': {'min': -5000., 'default': 0., 'max': 5000.}, 'coef_p2': {'default': 1.00}, -- GitLab