Revision to potentially fix a rare crash with Matlab/Octave when an acquisition is deleted by the user and removed again during a manual clearing with the function mexAtExit.
[UPD] Formula used to compute event’s time added in the Matlab documentation.
[UPD] Tests modified in the Matlab MEX functions to only accept mxArray with the type mxDOUBLE_CLASS as afterwards all the data are converted to double. This will fix potential data corruption when the Matlab data are stored as ‘single’ and are used with the btk* functions.
[FIX] Adapted events’ time are wrongly delayed of +1 frame in the method btk::Acquistion::SetFirstFrame.
[UPD] A warning message is displayed if the sample frequency is not set when the method btk::Acquisition::SetFirstFrame attempts to adapt events’ information.
[FIX] The method btk::Acqusiition::SetFirstFrame is not fully wrapped within Python (missing optional second argument).
[UPD] Documentation detailed for the Matlab function btkCropAcquisition.
Matlab unit tests added for the function btkSetFirstFrame.