psychopy_ext.fmri.Analysis.extract_samples

Analysis.extract_samples(subjid, runtype, ROIs, values='raw')[source]

Produces a detrended dataset with info for classifiers.

Args:
  • subjid (str)

    participant ID

  • runtype (str)

    run type (useful if, for example, you also have localizer runs which you probably want to analyze separately from the experimental runs)

  • ROIs (list)

    A pattern of ROI file patterns to be combined into one ROI

Kwargs:
values (str, default: ‘raw’)

What kind of values should be used. Usually you have ‘raw’, ‘beta’, and ‘t’.

Returns:

ds (Dataset)