From a84d14d263ad63a6223251cd6bca6dd2178a7dcb Mon Sep 17 00:00:00 2001 From: Peter H Charlton Date: Tue, 7 May 2024 22:09:13 +0100 Subject: [PATCH] fixing style: line lengths and unused packages --- neurokit2/ppg/ppg_methods.py | 4 +++- neurokit2/ppg/ppg_quality.py | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/neurokit2/ppg/ppg_methods.py b/neurokit2/ppg/ppg_methods.py index b91a59cebd..83506e9f75 100644 --- a/neurokit2/ppg/ppg_methods.py +++ b/neurokit2/ppg/ppg_methods.py @@ -66,7 +66,9 @@ def ppg_methods( import neurokit2 as nk - methods = nk.ppg_methods(sampling_rate=100, method="elgendi", method_cleaning="nabian2018", method_quality="templatematch") + methods = nk.ppg_methods( + sampling_rate=100, method="elgendi", + method_cleaning="nabian2018", method_quality="templatematch") print(methods["text_cleaning"]) print(methods["references"][0]) diff --git a/neurokit2/ppg/ppg_quality.py b/neurokit2/ppg/ppg_quality.py index 2ff0fa8ae2..c53a609f94 100644 --- a/neurokit2/ppg/ppg_quality.py +++ b/neurokit2/ppg/ppg_quality.py @@ -1,14 +1,9 @@ # - * - coding: utf-8 - * - -from warnings import warn import numpy as np -import scipy from ..epochs import epochs_to_df -from ..misc import NeuroKitWarning from ..signal import signal_interpolate -from ..signal.signal_power import signal_power -from ..stats import distance, rescale from .ppg_peaks import ppg_peaks from .ppg_segment import ppg_segment