eelbrain.load.fiff.DatasetSTCLoader.make_dataset¶
-
DatasetSTCLoader.
make_dataset
(load_stcs=True, subject='fsaverage', src='ico-4', **stc_kwargs)¶ Load stcs into a Dataset with columns for subject and experimental factors
Dataset contains one case per condition per subject, and source estimates loaded as an NDVar. Any additional keyword arguments are passed to
eelbrain.load.fiff.stc_ndvar()
. IfSUBJECTS_DIR
is not set in your environment, it should be provided here.- Parameters
- Returns
ds – Dataset with columns ‘subject’ (random factor), ‘src’ (NDVar of stc data), and one Factor for each item in
self.factors
.- Return type