class TMSiSDK.tmsi_utilities.mask_type.MaskType#

Bases: object

This class contains all the allowed masks.

__init__()#

Methods

DEFAULT()

REVERSE()

Robust function to revert a list or a tuple given as input

REVERSE()#

Robust function to revert a list or a tuple given as input

Parameters:

x (list or tuple) – a list or a numpy array containing the signal to reverse.

Returns:

list or tuple reverted. if the wrong datatype is provided, the original input is returned.

Return type:

list or tuple