TMSiSDK.tmsi_utilities.mask_type.MaskType.REVERSE

TMSiSDK.tmsi_utilities.mask_type.MaskType.REVERSE#

MaskType.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