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
dataobtained by calling.pluck_timeseries_objectin EpochUnraveller, cut for indices between thestart_timeandstop_timeobtained by calling.pull_indices_timeseries_for_epochin 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 returnsdata.
- For most practical purposes here the given epoch will be one of the elements in the list returned by calling
-
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 nwbfileNWBFIle regionstring; 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
timestampsobtained by calling.pluck_timeseries_objectin EpochUnraveller, cut for indices between thestart_timeandstop_timeobtained by calling.pull_indices_timeseries_for_epochin 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_regionin EpochUnraveller.NOTE:
- this one takes the
nwbfile(return ofload_nwbfile()) - while
.total_epochs_this_regiontakes anepoch(say, any oneepochin the list returned by callingorder_all_epochs_for_region())
- this one takes the
-
static