trftools.pipeline.TRFExperiment.load_predictor
- TRFExperiment.load_predictor(code, tstep=None, n_samples=None, tmin=None, filter_x=False, name=None, **state)
Load predictor NDVar
- Parameters:
code (str) – Code for the predictor to load (using the pattern
{stimulus}~{code}${randomization})tstep (float) – Time-step for the predictor (for
NDVarpredictors, the default is the originaltstep; forDatasetpredictorststepneeds to be specified).n_samples (int) – Number of samples in the predictor (the default returns all available samples).
tmin (float) – First sample time stamp (default is all abailable data).
filter_x (Literal[True, False, 'continuous']) – Filter predictors with the same filter as the M/EEG data.
filter_x=Trueto filter all predictors;filter_x=Falsefilter_x='continuous'to filter time-continuous predictors, but not discrete predictors (seeFilePredictorsamplingparameter).name (str) – Reassign the name of the predictor
NDVar.
See also
load_predictorsload multiple predictors simultaneously