OHBA Software Library for the analysis of electrophysiological data
Project description
OSL: Electrophysiological Data Analysis Toolbox
Tools for analysing electrophysiological (M/EEG) data.
Documentation: https://osl-ephys.readthedocs.io/en/latest/.
Installation
We recommend installing osl-ephys in a conda environment.
Conda / mamba
Miniforge (conda) can be installed with:
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
rm Miniforge3-$(uname)-$(uname -m).sh
Mamba (mamba) can be installed with:
conda install -n base -c conda-forge mamba
osl-ephys
osl-ephys can be installed from source code in a conda environment using the following.
git clone https://github.com/OHBA-analysis/osl-ephys.git
cd osl-ephys
mamba env create -f envs/osle.yml
conda activate osle
pip install -e .
Note, on a headless server you may need to set the following environment variable:
export PYVISTA_OFF_SCREEN=true
Oxford-specific computers
If you are installing on an OHBA workstation computer (hbaws) use:
git clone https://github.com/OHBA-analysis/osl-ephys.git
cd osl-ephys
mamba env create -f envs/hbaws.yml
conda activate osle
pip install -e .
Or on the BMRC cluster:
git clone https://github.com/OHBA-analysis/osl-ephys.git
cd osl-ephys
mamba env create -f envs/bmrc.yml
conda activate osle
pip install -e .
Remember to set the following environment variable:
export PYVISTA_OFF_SCREEN=true
Removing osl-ephys
Simply remove the conda environment and delete the repository:
conda env remove -n osle
rm -rf osl-ephys
For developers
Install all the requirements:
pip install -r requirements.txt
Run tests:
cd osl_ephys
pytest tests
or to run a specific test:
cd osl_ephys/tests
pytest test_file_handling.py
Build documentation locally:
sphinx-build -b html doc/source build
Compiled docs can be found in doc/build/html/index.html.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osl_ephys-2.4.0.tar.gz.
File metadata
- Download URL: osl_ephys-2.4.0.tar.gz
- Upload date:
- Size: 11.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9d2b29fe57b961f315e582364a599261b18503828c573fe209ee16fd6d91800
|
|
| MD5 |
fd565bf99ba94df7fccea9b292ce211a
|
|
| BLAKE2b-256 |
f52df9aee093db94df2370ac2bcd96e9e83977febb05090e1303de8796bc6839
|
File details
Details for the file osl_ephys-2.4.0-py2.py3-none-any.whl.
File metadata
- Download URL: osl_ephys-2.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 17.7 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02d4b60cf3075789d19c12e032bcf1cb9c453b74684dfcfccdb290fb1d8288cd
|
|
| MD5 |
7de8c813cea4b7392ab53e44ef0ff7a9
|
|
| BLAKE2b-256 |
46051661a8862721e8d21248cf30994ed458946f68810ef030a52bae8e2eb94c
|