.. image:: https://img.shields.io/pypi/v/trialexp.svg :target: https://pypi.python.org/pypi/trialexp
.. image:: https://img.shields.io/travis/juliencarponcy/trialexp.svg :target: https://travis-ci.com/juliencarponcy/trialexp
.. image:: https://readthedocs.org/projects/trialexp/badge/?version=latest :target: https://trialexp.readthedocs.io/en/latest/?version=latest :alt: Documentation Status
Package to analyze PyControl and PyPhotometry experiments by trials, and integrate with other data such as DeepLabCut or spikes data
git clone https://github.com/juliencarponcy/trialexp
cd trialexp
conda env create -f trialexp.yaml
conda activate trialexp
pip install -e .
Edit config files
`workflow/conf/config.yaml
.env
setting the directory for snakehelper to switch to automatically (i.e. project root folder)workflow/settings.py
setting the debug session folder during developmentLaunch Jupyter
jupyter-notebook
In the /notebooks
folder, you can then open the different templates notebooks, create your own notebook or copy and edit the different workflow notebooks.
You can alternatively open the different workflow notebooks in a code editor which support jupyter notebooks.
Or you can create a new python script or notebook and import trialexp modules
Copy extern_scripts\sessionTemplate_nxp.m
to the Cell explorer folder calc_CellMetrics
This package is an extension on the work of Thomas Akam for:
PyControl (Open source, Python based, behavioural experiment control)
PyPhotometry (Open source, Python based, fiber photometry data acquisition)
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage
project template.
audreyr/cookiecutter-pypackage
: https://github.com/audreyr/cookiecutter-pypackage