branelab / SimMEEG

Software for simulating MEG and EEG event-related responses. functional connectivity, and phase-amplitude coupling
Other
3 stars 5 forks source link

Toolbox dependencies #7

Open ftadel opened 2 years ago

ftadel commented 2 years ago

At the moment, SimMEEG wouls crash if any of the commercial toolboxes below are not available. For increasing the portability of the software, it would be interesting to provide alternatives when the toolboxes are not available.

  1. Parallel Computing Toolbox All the calls to parfor would crash if the toolbox is not installed. Using this toolbox could be made an option (maybe with an input parameter, possibly in the bst structure), with alternative code that is safe for execution without the toolbox (using for loops instead).

  2. Curve fitting toolbox: Function fit

  3. Wavelet toolbox: Function cwt

rcassani commented 10 months ago

Additional required toolboxes are:

  1. Signal Processing Toolbox: Function filtfilt

  2. Statistics Toolbox normrnd

PR #5 proposes a check for all the required toolboxes