Various helper utilities for meeg-cfin
-related scripts and notebooks.
After Installation (see below) you can, e.g.,
from meeg import extract_delays
# to plot trigger-to-light-flash delays and correct the associated events
events = extract_delays(fname_raw, return_values='events')
To permanently install a version into your personal python path, execute this in a terminal:
cd /path/to/meeg-python
pip install .
Note that the above needs to be executed every time you download a new version of the code. Since the code may change a lot, you may want to do this instead:
cd /path/to/meeg-python
pip install -e .
This way, if you update (e.g., by pulling changes from github) the meeg-python
repository, the changes will be available to all of your scripts.