https://github.com/alleninstitute/npc_mvr
Tools for reading raw video data from MindScope Neuropixels experiments, compatible with data in the cloud.
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.7%) to scientific vocabulary
Repository
Tools for reading raw video data from MindScope Neuropixels experiments, compatible with data in the cloud.
Basic Info
- Host: GitHub
- Owner: AllenInstitute
- License: mit
- Language: Python
- Default Branch: main
- Size: 458 KB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
npc_mvr
Tools for reading raw video data from MindScope Neuropixels experiments, compatible with data in the cloud.
Usage
bash
conda create -n npc_mvr python>=3.9
conda activate npc_mvr
pip install npc_mvr
Python
```python
import npc_mvr
d = npcmvr.MVRDataset('s3://aind-ephys-data/ecephys6702482023-08-0312-04-15/behavior')
get paths
d.videopaths['behavior'] S3Path('s3://aind-ephys-data/ecephys6702482023-08-0312-04-15/behavior/Behavior20230803T120430.mp4') d.infopaths['behavior'] S3Path('s3://aind-ephys-data/ecephys6702482023-08-0312-04-15/behavior/Behavior20230803T120430.json')
get data
type(d.videodata['behavior'])
type(d.info data['behavior'])type(d.syncdata) <class 'npcsync.sync.SyncDataset'>
get frame times for each camera on sync clock
- nans correspond to frames not recorded on sync
- first nan is metadata frame
d.frame_times['behavior'] array([ nan, 14.08409, 14.10075, ..., 5084.4582 , 5084.47487, 5084.49153])
d.validate() ```
Development
See instructions in https://github.com/AllenInstitute/npc_mvr/CONTRIBUTING.md and the original template: https://github.com/AllenInstitute/copier-pdm-npc/blob/main/README.md
Owner
- Name: Allen Institute
- Login: AllenInstitute
- Kind: organization
- Location: Seattle, WA
- Website: https://alleninstitute.org
- Repositories: 184
- Profile: https://github.com/AllenInstitute
Please visit http://alleninstitute.github.io/ for more information.
GitHub Events
Total
- Push event: 12
- Create event: 4
Last Year
- Push event: 12
- Create event: 4
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| bjhardcastle | b****e@a****g | 56 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 1,794 last-month
- Total dependent packages: 3
- Total dependent repositories: 0
- Total versions: 13
- Total maintainers: 1
pypi.org: npc-mvr
Tools for reading raw video data from MindScope Neuropixels experiments, compatible with data in the cloud.
- Documentation: https://npc-mvr.readthedocs.io/
- License: MIT
-
Latest release: 0.1.13
published 11 months ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- pdm-project/setup-pdm main composite
- peaceiris/actions-gh-pages v3 composite
- actions/checkout v4 composite
- codecov/codecov-action v3 composite
- pdm-project/setup-pdm v4 composite
- npc-io >=0.1.20
- npc-sync >=0.1.2
- opencv-python-headless >=4.9.0.80
- typing-extensions >=4.9.0