TableAlignment#

class ethograph.io.nwb_alignment.TableAlignment(trials_df)[source]#

Bases: EmpytAlignment

Alignment backed by a tabular dataframe with trial timing columns.

Expected columns are trial, start_time, and stop_time. This is used as a fallback when no suitable alignment NWB is available.

Methods

close()

devices(stream)

electrical_series()

Discover ElectricalSeries in acquisition.

get_media(trial, stream[, device])

get_stream_rate(stream[, device])

print_session()

resolve_media_path(trial, stream[, device, ...])

restrict(obj, trial)

set_stream_rate(rate, stream[, device])

start_time(trial)

stop_time(trial)

stream_offset_for_trial(trial, stream[, device])

trial_epoch(trial)