Skip to content

Repackaging of AllenSDK.SyncDataset with extra functionality, compatible with data in the cloud.

License

Notifications You must be signed in to change notification settings

AllenInstitute/npc_sync

Repository files navigation

npc_sync

Repackaging of AllenSDK.SyncDataset with extra functionality, compatible with data in the cloud.

PyPI Python version

Coverage CI/CD GitHub issues

Usage

conda create -n npc_sync python>=3.9
conda activate npc_sync
pip install npc_sync

Python

>>> import npc_sync

>>> d = npc_sync.SyncDataset('s3://aind-ephys-data/ecephys_676909_2023-12-14_12-43-11/behavior_videos/20231214T124311.h5')
>>> d.line_labels[0]
'barcode_ephys'
>>> d.validate(opto=True, audio=True)

# note: some methods from the original `SyncDataset` are now property getters, including `line_labels`

Development

See instructions in https://github.com/AllenInstitute/npc_sync/CONTRIBUTING.md and the original template: https://github.com/AllenInstitute/copier-pdm-npc/blob/main/README.md

About

Repackaging of AllenSDK.SyncDataset with extra functionality, compatible with data in the cloud.

Resources

License

Stars

Watchers

Forks

Languages