Tools and interfaces for working with behavior and epyhys sessions from the Mindscope Neuropixels team, in the cloud.
Project description
npc_sessions
neuropixels cloud sessions
Tools for accessing data and metadata for behavior and epyhys sessions from the Mindscope Neuropixels team - in the cloud.
quickstart
Make a conda environment with python>=3.9 and simply pip install the npc_sessions package:
conda create -n npc_sessions python>=3.9
conda activate npc_sessions
pip install npc_sessions
Get some minimal info on all the tracked sessions available to work with:
>>> from npc_sessions import tracked as tracked_sessions;
# each record in the sequence has info about one session:
>>> tracked_sessions[0]._fields
('session', 'subject', 'date', 'idx', 'project', 'is_ephys', 'is_sync', 'allen_path')
>>> tracked_sessions[0].is_ephys
True
>>> all(s.date.year >= 2022 for s in tracked_sessions)
True
to develop with conda
To install with the intention of contributing to this package:
- create a conda environment:
conda create -n npc_sessions python>=3.9
conda activate npc_sessions
- clone npc_sessions from github:
git clone git@github.com:AllenInstitute/npc_sessions.git
- pip install all dependencies:
cd npc_sessions
pip install -e .
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
npc_sessions-0.0.32.tar.gz
(56.8 kB
view hashes)
Built Distribution
Close
Hashes for npc_sessions-0.0.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a129f9a1463e1265e9ab3f332f8a1750adf2c5f88d3896660cdb5a6d6a2c3f6 |
|
MD5 | 5b5c75782a6871e8992eaeffbcaa06d8 |
|
BLAKE2b-256 | 69d3bcdd5b2b1b7db69e7063076b8a4c0ba1dc47ef686e1344368efffd7bf177 |