Bases: nitime.descriptors.ResetMixin
Analyzer object for reverse-correlation/event-related analysis.
Note: right now, this class assumes the input time series is only two-dimensional. If your input data is something like (nchannels,nsubjects, ...) with more dimensions, things are likely to break in hard to understand ways.
Parameters : | time_series : a time-series object
events_time_series : a TimeSeries object or an Events object
len_et : int
zscore : a flag to return the result in zscore (where relevant) correct_baseline : a flag to correct the baseline according to the first point in the event-triggered average (where possible) : offset : the offset of the beginning of the event-related time-series, relative to the event occurence : |
---|
Calculate the FIR event-related estimated of the HRFs for different kinds of events
Returns : | A time-series object, shape[:-2] are dimensions corresponding to the to : shape[:-2] of the EventRelatedAnalyzer data, shape[-2] corresponds to : the different kinds of events used (ordered according to the sorted : order of the unique components in the events time-series). shape[-1] : corresponds to time, and has length = len_et : |
---|
Calculate back the LTI estimate of the time-series, from FIR
The event-triggered data (all occurences).
This gets the time-series corresponding to the inidividual event occurences. Returns a list of lists of time-series. The first dimension is the different channels in the original time-series data and the second dimension is each type of event in the event time series
The time-series itself has the first diemnsion of the data being the specific occurence, with time 0 locked to the that occurence of the event and the last dimension is time.e
This complicated structure is so that it can deal with situations where each channel has different events and different events have different # of occurences
The event-triggered average activity.
The event-triggered standard error of the mean
Compute the normalized cross-correlation estimate of the HRFs for different kinds of events
Returns : | A time-series object, shape[:-2] are dimensions corresponding to the to : shape[:-2] of the EventRelatedAnalyzer data, shape[-2] corresponds to : the different kinds of events used (ordered according to the sorted : order of the unique components in the events time-series). shape[-1] : corresponds to time, and has length = len_et (xcorr looks both back : and forward for half of this length) : |
---|