eelbrain.pipeline.UTSPredictor
- class eelbrain.pipeline.UTSPredictor(resample=None, sampling=None)[source]
Uniform time series predictor, stored as
NDVarfiles- Parameters:
resample (Literal['bin', 'resample']) –
How to resample the predictor when an analysis is done at a lower sampling rate than the stored
NDVar:bin: averaging the values in time binsresample: use appropriate filter followed by decimation
For predictors with non-continuous information, such as impulses, binning is more appropriate.
sampling (Literal['continuous', 'discrete']) – Whether the predictor is continuous or discrete. Used to decide whether to filter this predictor with
filter_x='continuous'(default'continuous').
Notes
UTS predictors are stored as
NDVarobjects with time dimension matching the data (seeFilePredictorBasefor the file location). The file name after{key}can be extended freely ({stimulus}~{key}-{variant}) to manage multiple predictor variants with the sameUTSPredictorinstance.