API ReferenceΒΆ

audio.audiocodes

Audiocodes module for reprostim, provides functionality to generate and parse QR-like audiocodes to be included in psychopy based scripts.

bids.inject

Core logic for bids-inject: cross-reference ReproStim videos.tsv with BIDS _scans.tsv files to slice and inject per-acquisition video clips into a BIDS dataset.

bids.inject_sidecar

Core logic for bids-inject-sidecar: extract BIDS media-file metadata from audio/video files and write or update their .json sidecars.

bids.media

BIDS media-file metadata API helpers.

bids.properties

Extraction of BIDS media-file properties (sidecar-JSON-key-keyed values) from ffprobe results, split-video results, and in future from cached VaRecord (videos.tsv) rows and file paths.

capture.disp_mon

Display monitoring service and cross-platform API used to list available GUI displays and monitor information, status and functionality to automatically attach external command for certain screen.

capture.metadata

API to extract REPROSTIM-METADATA-JSON entries embedded in reprostim-videocapture log files.

qr.parse

API to parse (*.mkv) video files recorded by reprostim-videocapture utility and extract embedded video media info, QR-codes and audiocodes into JSONL format.

qr.psychopy

API to generate visual QR-codes and audio codes and embed them into PsychoPy scripts for fMRI experiments

qr.timesync_stimuli

PsychoPy-based script to produce time calibration session with embedded video QR-codes and audiocodes integrated with MRI/BIRCH/Magewell USB capture devices.

qr.timing

ReproNim timing-map (tmap) subsystem.

video.audit

API to analyze video files recorded by reprostim-videocapture, along with their corresponding log files and QR/audio metadata.

video.nosignal

Provides functionality to search no-signal/rainbow frames in the video files (*.mkv) recorded by reprostim-videocapture utility.

video.split

API to split and audit video files recorded by reprostim-videocapture, along with their corresponding log files and QR/audio metadata.