sync_acquisition_for_streams#
- ethograph.io.nwb_alignment.sync_acquisition_for_streams(nwbfile, stream_rates)[source]#
Create ImageSeries acquisition items for ALL external media streams.
Reads the trials table to discover
{stream}_{device}columns. For each stream+device pair, creates anImageSeriesinnwbfile.acquisitionwithexternal_file,starting_frame, andrate(ortimestampsif offsets are present).- Parameters:
nwbfile (NWBFile) – NWB file with a populated trials table.
stream_rates (dict[str, float]) – Mapping of stream name to sampling rate, e.g.
{"video": 30.0, "audio": 44100.0, "pose": 30.0}.
- Return type:
None