wristpy.core.exceptions

Custom exceptions for wristpy.

Exceptions

CalibrationError(message)

Custom exception for failures in calibration.

EmptyDirectoryError(message)

No .gt3x or .bin files were found in the directory.

InvalidFileTypeError(message)

Wristpy did not expect this file extension.

LoggedException(message)

Base class that automatically logs messages.

NoMotionError(message)

No epochs with zero movement could be found in the data.

SphereCriteriaError(message)

Data did not meet the sphere criteria.

exception wristpy.core.exceptions.CalibrationError(message: str)[source]

Bases: LoggedException

Custom exception for failures in calibration.

exception wristpy.core.exceptions.EmptyDirectoryError(message: str)[source]

Bases: LoggedException

No .gt3x or .bin files were found in the directory.

exception wristpy.core.exceptions.InvalidFileTypeError(message: str)[source]

Bases: LoggedException

Wristpy did not expect this file extension.

exception wristpy.core.exceptions.LoggedException(message: str)[source]

Bases: Exception

Base class that automatically logs messages.

exception wristpy.core.exceptions.NoMotionError(message: str)[source]

Bases: LoggedException

No epochs with zero movement could be found in the data.

exception wristpy.core.exceptions.SphereCriteriaError(message: str)[source]

Bases: LoggedException

Data did not meet the sphere criteria.