BPt.Dataset.apply_exclusions#

Dataset.apply_exclusions(subjects, inplace=False)[source]#

This method will drop all subjects that overlap with the passed subjects to this function.

Parameters
subjectsSubjects

This argument can be any of the BPt accepted subject style inputs. E.g., None, ‘nan’ for subjects with any nan data, or ‘not not’ for subjects without any, the str location of a file formatted with one subject per line, or directly as an array-like of subjects, to list a few options.

See Subjects for all options, and a more detailed description of the already mentioned options.

inplacebool, optional

If True, perform the current function inplace and return None.

default = False