Tools for MEG/EEG analysis.
Documentation: https://osl.readthedocs.io/en/latest/.
See the official documentation for recommended installation instructions.
Alternatively, OSL can be installed from source code within a Miniconda (or Anaconda) environment using the following.
git clone https://github.com/OHBA-analysis/osl.git
cd osl
conda env create -f envs/linux.yml
conda activate osl
pip install -e .
git clone https://github.com/OHBA-analysis/osl.git
cd osl
conda env create -f envs/mac.yml
conda activate osl
pip install -e .
If you are installing on an OHBA workstation computer (HBAWS) use:
git clone https://github.com/OHBA-analysis/osl.git
cd osl
conda env create -f envs/hbaws.yml
conda activate osl
pip install -e .
pip install spyder==5.1.5
Or on the BMRC cluster:
git clone https://github.com/OHBA-analysis/osl.git
cd osl
conda env create -f envs/bmrc.yml
conda activate osl
pip install -e .
Simply removing the conda environment and delete the repository:
conda env remove -n osl
rm -rf osl
Run tests:
cd osl
pytest tests
or to run a specific test:
cd osl/tests
pytest test_file_handling.py
Build documentation:
python setup.py build_sphinx
Compiled docs can be found in doc/build/html/index.html
.