TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
|
Checks that the signal given on the input is of the type nameWanted This function is mainly used by SSS_assert_type(Sig), with params Sig and SSS. More...
Go to the source code of this file.
Functions | |
function | Signal__assert_type (in Signal, in nameWanted) |
Checks that the signal given on the input is of the type nameWanted This function is mainly used by SSS_assert_type(Sig), with params Sig and SSS.
Definition in file Signal__assert_type.m.
function Signal__assert_type | ( | in | Signal, |
in | nameWanted | ||
) |
Signal | The signal you want to make sure of the type (can be a BULK signal, in that case, will take the component. Bulk: if the input is a bulk than the bulk is also returned to keep a backup of it. An empty vector is returned if the input is not a Bulk |
nameWanted | the type the signal must be of (ex: 'GSR'). |
Signal | the signal. Can be the same as the input if single signal, or the signal from the bulk if the input signal is a bulk one. |