mnefun.get_raw_fnames

mnefun.get_raw_fnames(p, subj, which='raw', erm=True, add_splits=False, run_indices=None)

Get raw filenames.

Parameters:
pinstance of Params

Parameters structure.

subjstr

Subject name.

whichstr

Type of raw filenames. Must be ‘sss’, ‘raw’, or ‘pca’.

ermbool | str

If True, include empty-room files (appended to end). If ‘only’, then only return empty-room files.

add_splitsbool

If True, add split filenames if they exist. This should only be necessary for Maxfilter-related things. Will only return files that actually already exist.

run_indicesarray_like | None

The run indices to include. None will include all.

Returns:
fnameslist

List of filenames.