From b5b0197864e9efec0e25aea2a6746feb7c0a9713 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 7 Aug 2017 18:04:15 -0500 Subject: [PATCH] fix(API): Remove irrelevant resamp_rate property This is only relevant to SignalsWaveform and will be re-added by #161. Fixes #121. BREAKING CHANGE: `session.signals` no longer has a `resamp_rate` property. This never worked anyways so it shouldn't impact anyone. --- nixnet/_session/signals.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/nixnet/_session/signals.py b/nixnet/_session/signals.py index ed31b228..f0af203a 100644 --- a/nixnet/_session/signals.py +++ b/nixnet/_session/signals.py @@ -5,7 +5,6 @@ import typing # NOQA: F401 from nixnet import _funcs -from nixnet import _props from nixnet._session import collection @@ -19,20 +18,6 @@ def __repr__(self): def _create_item(self, handle, index, name): return Signal(handle, index, name) - @property - def resamp_rate(self): - # type: () -> float - """float: Rate used to resample frame data to/from signal data in waveforms. - - The units are in Hertz (samples per second). - """ - return _props.get_session_resamp_rate(self._handle) - - @resamp_rate.setter - def resamp_rate(self, value): - # type: (float) -> None - _props.set_session_resamp_rate(self._handle, value) - class SinglePointInSignals(Signals): """Writeable signals in a session."""