EmpytAlignment#

class ethograph.io.nwb_alignment.EmpytAlignment[source]#

Bases: object

Base session metadata interface with null-object defaults.

NWBAlignment overrides these with real NWB-backed implementations. When no NWB file is available, the base class is used directly.

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)

electrical_series()[source]#

Discover ElectricalSeries in acquisition. Returns list of {name, path, n_channels, rate}.

Return type:

list[dict]

property trials_ep: Any#

Pynapple IntervalSet built from trials_df start/stop times.