diff --git a/CITATION.cff b/CITATION.cff index dbb78f14..b4b6578c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -23,7 +23,7 @@ abstract: >- pattern recognition methods geared towards the analysis of biosignals. license: BSD-3-Clause -version: 2.2.1 +version: 2.2.2 date-released: '2024-04-23' preferred-citation: type: article diff --git a/biosppy/__init__.py b/biosppy/__init__.py index 408a0ac0..2143cc6c 100644 --- a/biosppy/__init__.py +++ b/biosppy/__init__.py @@ -18,5 +18,5 @@ # allow lazy loading from .signals import acc, abp, bvp, ppg, pcg, ecg, eda, eeg, emg, resp, tools, hrv from .synthesizers import ecg, emg -from .inter_plotting import ecg, acc +# from .inter_plotting import ecg, acc from .features import frequency, time, time_freq, cepstral, phase_space diff --git a/biosppy/signals/acc.py b/biosppy/signals/acc.py index 75eb5a4d..f9bb4055 100644 --- a/biosppy/signals/acc.py +++ b/biosppy/signals/acc.py @@ -25,7 +25,6 @@ # local from .. import plotting, utils -from biosppy.inter_plotting import acc as inter_plotting def acc(signal=None, sampling_rate=100.0, units=None, path=None, show=True, interactive=False): @@ -88,6 +87,7 @@ def acc(signal=None, sampling_rate=100.0, units=None, path=None, show=True, inte # plot if show: if interactive: + from biosppy.inter_plotting import acc as inter_plotting inter_plotting.plot_acc( ts=ts, # plotting.plot_acc raw=signal, diff --git a/biosppy/signals/ecg.py b/biosppy/signals/ecg.py index 133a7e96..f6aad168 100644 --- a/biosppy/signals/ecg.py +++ b/biosppy/signals/ecg.py @@ -26,7 +26,6 @@ # local from . import tools as st from .. import plotting, utils -from biosppy.inter_plotting import ecg as inter_plotting from scipy.signal import argrelextrema @@ -123,6 +122,7 @@ def ecg(signal=None, sampling_rate=1000.0, units=None, path=None, show=True, int # plot if show: if interactive: + from biosppy.inter_plotting import ecg as inter_plotting inter_plotting.plot_ecg( ts=ts, raw=signal, diff --git a/docs/conf.py b/docs/conf.py index dab257c2..8c103245 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -89,7 +89,7 @@ def __getattr__(cls, name): # built documents. # # The short X.Y version. -version = '2.2.1' +version = '2.2.2' # The full version, including alpha/beta/rc tags. release = version diff --git a/setup.py b/setup.py index 83f12d15..898faae5 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ EMAIL = 'developer@scientisst.com' AUTHOR = 'Instituto de Telecomunicacoes' REQUIRES_PYTHON = '>3.5.2' -VERSION = '2.2.1' +VERSION = '2.2.2' LICENSE = 'BSD 3-clause' # What packages are required for this module to be executed?