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)