Basic tools for parsing subject, session, date and time associated with data from the Mindscope Neuropixels team, in the cloud.
Project description
npc_session
neuropixels cloud session
Basic tools for parsing subject, session, date and time associated with data from the Mindscope Neuropixels team, in the cloud.
quickstart
pip install npc_session
Parse a normalized ID from a path or string:
>>> from npc_session import SessionRecord;
>>> s = SessionRecord('//allen/programs/mindscope/workgroups/templeton/TTOC/2022-07-26_14-09-36_366122')
>>> s
'366122_2022-07-26'
>>> s.subject
366122
>>> s.date
'2022-07-26'
>>> s.date.year
2022
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_session-0.1.30.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for npc_session-0.1.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 922dc69683e84b7c96bc378d675c1422bf7b2f01494925fe3333ff889ae21654 |
|
MD5 | 5db0fec1e0bfb37e511c5fb9210caa0d |
|
BLAKE2b-256 | 7623684140e35296a31365b8de3a7da8efc695b93aa90ce8d2dfd111e03d2c20 |