From b3470e6c9635768589c91c3132a8691ac1c50cb1 Mon Sep 17 00:00:00 2001 From: Tyler Date: Tue, 19 Aug 2025 14:30:05 -0700 Subject: [PATCH] move import --- fNIRS_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fNIRS_module.py b/fNIRS_module.py index a56826a..c3bcdf1 100644 --- a/fNIRS_module.py +++ b/fNIRS_module.py @@ -24,6 +24,7 @@ from multiprocessing import Queue from typing import Any, Optional, cast, Literal, Iterator, Union # External library imports +import h5py import pywt # type: ignore import qtpy # type: ignore import xlrd # type: ignore @@ -1919,7 +1920,6 @@ def run_GLM_analysis(data: BaseRaw, design_matrix: DataFrame) -> RegressionResul def calculate_dpf(file_path): # order is hbo / hbr - import h5py with h5py.File(file_path, 'r') as f: wavelengths = f['/nirs/probe/wavelengths'][:] print("Wavelengths (nm):", wavelengths)