https://github.com/alleninstitute/npc_mvr

Tools for reading raw video data from MindScope Neuropixels experiments, compatible with data in the cloud.

https://github.com/alleninstitute/npc_mvr

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
Last synced: 9 months ago · JSON representation

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
Created over 2 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog Contributing License

README.md

npc_mvr

Tools for reading raw video data from MindScope Neuropixels experiments, compatible with data in the cloud.

PyPI Python version

Coverage CI/CD GitHub issues

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.infodata['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

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

All Time
  • Total Commits: 56
  • Total Committers: 1
  • Avg Commits per committer: 56.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 44
  • Committers: 1
  • Avg Commits per committer: 44.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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.

  • Versions: 13
  • Dependent Packages: 3
  • Dependent Repositories: 0
  • Downloads: 1,794 Last month
Rankings
Dependent packages count: 9.9%
Average: 37.7%
Dependent repos count: 65.5%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/docs.yml actions
  • actions/checkout v3 composite
  • pdm-project/setup-pdm main composite
  • peaceiris/actions-gh-pages v3 composite
.github/workflows/publish.yml actions
  • actions/checkout v4 composite
  • codecov/codecov-action v3 composite
  • pdm-project/setup-pdm v4 composite
pyproject.toml pypi
  • npc-io >=0.1.20
  • npc-sync >=0.1.2
  • opencv-python-headless >=4.9.0.80
  • typing-extensions >=4.9.0