ReadManager

class managers.read.ReadManager

Available methods:

Method name Method type
load_nwbfile() static method
timestamps_for_epoch() static method
data_for_epoch() static method
total_epochIDs() static method
order_all_epochs_for_region() static method
static data_for_epoch(an_epoch)

For a given epoch this function returns the snippet of the full data obtained by calling .pluck_timeseries_object in EpochUnraveller, cut for indices between the start_time and stop_time obtained by calling .pull_indices_timeseries_for_epoch in EpochUnraveller.

NOTE:

  • For most practical purposes here the given epoch will be one of the elements in the list returned by calling order_all_epochs_for_region().
  • similarity with timstamps_for_epoch(), the difference being this one returns data.
static load_nwbfile(fullname)

Returns an NWBFIle for a given fullname (filepath + filename; string).

static order_all_epochs_for_region(nwbfile=None, region=None)

For a given region (model region; e.g. cell region like “soma”) and the NWBFIle, this function returns an ordered list of epochs.

Keyword Arguments:

Key Value type
nwbfile NWBFIle
region string; name of the model region, say, cell region like “soma” or “axon”
static timestamps_for_epoch(an_epoch)

For a given epoch this function returns the snippet of the full timestamps obtained by calling .pluck_timeseries_object in EpochUnraveller, cut for indices between the start_time and stop_time obtained by calling .pull_indices_timeseries_for_epoch in EpochUnraveller.

NOTE: For most practical purposes here the given epoch will be one of the elements in the list returned by calling order_all_epochs_for_region().

static total_epochIDs(nwbfile)

Alternative to .total_epochs_this_region in EpochUnraveller.

NOTE: