Skip to main content

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.

PyPI Python version

CI/CD GitHub issues

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:

  1. install JupyterLab desktop (Win 64-bit)
  2. clone np_notebooks (not np_workflows) cd c:\Users\svc_neuropix\Documents\github & git clone https://github.com/AllenInstitute/np_notebooks
  3. find the path to python.exe 3.11.*, or install it manually
  4. create a new venv in the np_notebooks dir: cd np_notebooks & path-to-python.exe -m venv .venv
  5. activate venv: .venv\scripts\activate (terminal should now report (np_notebooks-3.11))
  6. install PDM in venv: path-to-python.exe -m pip install pdm
  7. install np_notebooks requirements: pdm install
  8. in JupyterLab, set the default to Python environment to use c:\Users\svc_neuropix\Documents\github\np_notebooks\.venv\scripts\python.exe
  9. open up any workflow in the np_notebooks dir 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

np_workflows-1.6.103.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

np_workflows-1.6.103-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

File details

Details for the file np_workflows-1.6.103.tar.gz.

File metadata

  • Download URL: np_workflows-1.6.103.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for np_workflows-1.6.103.tar.gz
Algorithm Hash digest
SHA256 9627812c6bdd9018244081d93400feea12074f449410ad1a74fd3338d5829304
MD5 95ff746f98e6a0d7da3cda777a2606db
BLAKE2b-256 96ef49e2f1cc7f26c3d94b9ad8a64d55011db5e733a33ce22daf137a8a458f44

See more details on using hashes here.

File details

Details for the file np_workflows-1.6.103-py3-none-any.whl.

File metadata

  • Download URL: np_workflows-1.6.103-py3-none-any.whl
  • Upload date:
  • Size: 71.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for np_workflows-1.6.103-py3-none-any.whl
Algorithm Hash digest
SHA256 3cdcc863d454132910b35a847cbea379282b235f121a85ee391710c53bd5fc09
MD5 abe05728abf25355979ff5f2b86725b4
BLAKE2b-256 a95abffa1a10a9c197b890b54361aa734049ac412b4311ae8ce368c0fb5e3913

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page