Skip to main content

OHBA Software Library (OSL)

Tools for MEG/EEG analysis.

Documentation: https://osl.readthedocs.io/en/latest/.

Installation

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.

Linux

git clone https://github.com/OHBA-analysis/osl.git
cd osl
conda env create -f envs/linux.yml
conda activate osl
pip install -e .

Mac

git clone https://github.com/OHBA-analysis/osl.git
cd osl
conda env create -f envs/mac.yml
conda activate osl
pip install -e .

Oxford-specific computers

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 .

Removing OSL

Simply removing the conda environment and delete the repository:

conda env remove -n osl
rm -rf osl

For Developers

Run tests:

cd osl
pytest tests

or to run a specific test:

cd osl/tests
pytest test_file_handling.py

Build documentation (if build_sphinx is not recognised, first try pip install sphinx==5.3.0):

python setup.py build_sphinx

Compiled docs can be found in doc/build/html/index.html.

Metadata

Release files for osl 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for osl 1.1.0
File Size Uploaded
osl-1.1.0.tar.gz 11.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for osl 1.1.0
File Interpreter ABI Platform
osl-1.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 22.0 MB

Release files / osl-1.1.0.tar.gz

Download URL osl-1.1.0.tar.gz
Size 11.0 MB
Tags Source
SHA-256 checksum
How to use checksums
7b36f8719c3bf4c8027712c014ea7c540f77a836ff3e9e9a1787e32e10d6761e
BLAKE2b-256 checksum
How to use checksums
457b233e5b65733c71eff2defeceae4a61554aeaefcd45057835b4d5f8620bf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.16

Release files / osl-1.1.0-py2.py3-none-any.whl

Download URL osl-1.1.0-py2.py3-none-any.whl
Size 11.0 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f75550cf3d356cdba4a6deebcb1c31f78acd0c596cf0d189b2873b2a6ecd655f
BLAKE2b-256 checksum
How to use checksums
b2b66452006a30a7a1d99b7bf898adf152f6baeaff7581d003822c72ab7857aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.16

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page