ethograph.io.nwb_alignment#

Alignment of media streams, feature data and trial timing from alignment.nwb.

Classes

EmpytAlignment

Base session metadata interface with null-object defaults.

NWBAlignment

Session metadata backed by an NWB file.

TableAlignment

Alignment backed by a tabular dataframe with trial timing columns.

Functions

align_media_from_streams

Create an alignment.nwb for unaligned / complex scenarios.

align_media_per_trial

Create an alignment.nwb from a trial table.

discover_nwb

Find an NWB session file near a data file.

edit_nwb

make_nwb_alignment

Create a EmpytAlignment from an NWB path, falling back to base EmpytAlignment.

sync_acquisition_for_streams

Create ImageSeries acquisition items for ALL external media streams.

update_trials_columns