ReproNim / reprostim

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

High level interface with easy to use in 3rd party stimulation scripts to embed qrcodes #117

Open yarikoptic opened 3 weeks ago

yarikoptic commented 3 weeks ago

addition to

so e.g. in the case of PsychoPy scripts, they could easily add smth like

import reprostim

## setup of their scripts
## right after getting trigger pulse:
reprostim.video_timestamp(experiment="1070_spacetop", id="the-beginning")  # or alike

...

and so on. This way we could then detect those QR codes in the videos, potentially associate with specific experiments etc, and thus avoid the need for absolute synchronization with MRI clock (we have an issue #TODO) ...