Exclude#

class pypillometry.datasets.Exclude[source]#

Bases: Exception

Exclude a recording while preprocessing it.

Raised in Dataset.preprocess() with the reason, e.g. raise Exclude("missing data > 50%"); the recording is then left out of the preprocessed dataset (see Dataset.preprocessed()).

Details

add_note(object, /)#

Exception.add_note(note) – add a note to the exception

with_traceback(object, /)#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.