amica-python 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- amica/__init__.py +5 -0
- amica/_batching.py +194 -0
- amica/_newton.py +77 -0
- amica/_sklearn_interface.py +387 -0
- amica/_types.py +44 -0
- amica/conftest.py +30 -0
- amica/constants.py +47 -0
- amica/core.py +1165 -0
- amica/datasets.py +15 -0
- amica/kernels.py +1308 -0
- amica/linalg.py +349 -0
- amica/state.py +385 -0
- amica/tests/test_amica.py +497 -0
- amica/utils/__init__.py +36 -0
- amica/utils/_logging.py +64 -0
- amica/utils/_progress.py +34 -0
- amica/utils/_verbose.py +14 -0
- amica/utils/fetch.py +274 -0
- amica/utils/fortran.py +387 -0
- amica/utils/imports.py +46 -0
- amica/utils/mne.py +74 -0
- amica/utils/parallel.py +72 -0
- amica/utils/simulation.py +36 -0
- amica/utils/tests/test_fetch.py +9 -0
- amica/utils/tests/test_fortran.py +47 -0
- amica/utils/tests/test_imports.py +0 -0
- amica/utils/tests/test_logger.py +29 -0
- amica/utils/tests/test_mne.py +27 -0
- amica_python-0.1.0.dist-info/METADATA +196 -0
- amica_python-0.1.0.dist-info/RECORD +33 -0
- amica_python-0.1.0.dist-info/WHEEL +5 -0
- amica_python-0.1.0.dist-info/licenses/LICENSE +25 -0
- amica_python-0.1.0.dist-info/top_level.txt +1 -0
amica/datasets.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Functions for accessing AMICA datasets."""
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
|
|
4
|
+
from amica.utils import fetch_datasets
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def data_path() -> Path:
|
|
8
|
+
"""Get the path to the directory containing AMICA's test data.
|
|
9
|
+
|
|
10
|
+
Returns
|
|
11
|
+
-------
|
|
12
|
+
pathlib.Path
|
|
13
|
+
Path to the directory containing the EEGLAB test data and fortran outputs.
|
|
14
|
+
"""
|
|
15
|
+
return fetch_datasets()
|