-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path__init__.py
More file actions
33 lines (25 loc) · 1.08 KB
/
__init__.py
File metadata and controls
33 lines (25 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
__docformat__ = "restructuredtext"
# Let users know if they're missing any of our hard dependencies
hard_dependencies = ("numpy", "pandas", "mne")
missing_dependencies = []
for dependency in hard_dependencies:
try:
__import__(dependency)
except ImportError as e:
missing_dependencies.append(f"{dependency}: {e}")
if missing_dependencies:
raise ImportError(
"Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
)
del hard_dependencies, dependency, missing_dependencies
from bbtools.io import *
from bbtools.mne import *
# module level doc-string
__doc__ = """
bbtools - a library to manage and wrangle Bitbrain devices' EEG data
====================================================================
**bbtools** is a Python package providing tools to handle and transform EEG data generated from Bitbrain devices with ease. It's useful to transform raw capture data (typically in `csv` format) to more standard formats in the BCI industry, such as `MNE` objects.
Main Features
-------------
- Transform `csv` EEG capture data into an MNE `raw` object
"""