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.24.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for npc_session-0.1.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 617e29289328d84d696a9ec67e6bd21fe80edc4e49ab4acc499e216d5f67019a |
|
MD5 | ccf4fc636ae937781cac1caf30259c01 |
|
BLAKE2b-256 | 9ae6c77df0b049fa6557ab674ba0655d811fd2aef00a6f8dc21d8b87699c3672 |