Ecephys and behavior workflows for the Mindscope Neuropixels team.
Project description
np_workflows
This package contains all the Python code required to run Mindscope Neuropixels experiments.
Experiment workflows and related tasks are coordinated by Jupyter notebooks maintained here: https://github.com/AllenInstitute/np_notebooks
Running the notebooks requires a Python environment with:
- Python >= 3.11
- np_workflows
- Jupyter / JupyterLab
git clone https://github.com/AllenInstitute/np_notebooks
conda create -n workflows python=3.11
pip install np_workflows
pip install jupyterlab
Keep the np_workflows package up-to-date by running pip install np_workflows -U before each use
To develop this package git clone then pdm install
NP. rig setup
.venv is currently used, with PDM to update packages before each experiment:
- install JupyterLab desktop (Win 64-bit)
- clone
np_notebooks(notnp_workflows)cd c:\Users\svc_neuropix\Documents\github & git clone https://github.com/AllenInstitute/np_notebooks - find the path to python.exe 3.11.*, or install it manually
- create a new venv in the
np_notebooksdir:cd np_notebooks & path-to-python.exe -m venv .venv - activate venv:
.venv\scripts\activate(terminal should now report(np_notebooks-3.11)) - install PDM in venv:
path-to-python.exe -m pip install pdm - install
np_notebooksrequirements:pdm install - in JupyterLab, set the default to Python environment to use
c:\Users\svc_neuropix\Documents\github\np_notebooks\.venv\scripts\python.exe - open up any workflow in the
np_notebooksdir and check that the initial cell with imports works
Project details
Release history Release notifications | RSS feed
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 np_workflows-1.6.27.tar.gz.
File metadata
- Download URL: np_workflows-1.6.27.tar.gz
- Upload date:
- Size: 102.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1e66e5cf57c104807e4a1c0292e380258f0af79f65152437961aff99601c492
|
|
| MD5 |
da286c2d124ed998679898e39f882b1f
|
|
| BLAKE2b-256 |
d411f467329eec176f9651f3e52b7aa48ca48d2515f781f15f6dbba306215a97
|
File details
Details for the file np_workflows-1.6.27-py3-none-any.whl.
File metadata
- Download URL: np_workflows-1.6.27-py3-none-any.whl
- Upload date:
- Size: 90.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47147be90170b8cf1fe8c9dacfcd9c6ce54b39e1b753065dec19eb2ec92a5de8
|
|
| MD5 |
b8dfc5dc5a83122a12ef45efb7de4556
|
|
| BLAKE2b-256 |
be33076e39ce54ecfebf669ad336db83fc0e32a01349d5f417f26d4d46af34c0
|