ReproNim / reprostim

Automated capture of audio-visual stimuli into BIDS datasets
5 stars 2 forks source link

Develop a script to "slice" videos to "match" DICOM series timing #14

Open yarikoptic opened 3 years ago

yarikoptic commented 3 years ago
yarikoptic commented 3 years ago

Might be worth aiming right away for BIDS datasets - information from _scans.tsv an possibly side car .json files (on duration).

yarikoptic commented 5 months ago

Script (ideally in python) should take

example:

reprostim-slice --buffer-before 10 --buffer-after 10 --start 2024-02-02T17:30:00 --duration P3M  --input $VIDEOS/2024.02.02.17.20.38.680_2024.02.02.17.20.44.774.mkv --output $BIDS/sub-01/func/sub-01_task-rest_bold.mkv 

in case of input filename not satisfying the pattern to have starting time -- error

@jwodder -- please provide guidance on the python project template to start with, or tools to use. I would expect you to provide review of this work in the future.

jwodder commented 5 months ago

@yarikoptic

please provide guidance on the python project template to start with, or tools to use

What kind of guidance? Most decisions about Python project tooling are ultimately opinion-based, as there is no One True Packaging Tool.