Parallelize computations applied for `ForEachObject`
Functions applied to ForEachMOSA
and ForEachSC
objects are applied independently to each of the values (often Numpy arrays). In particular, we generate noise time series, filter, resample, etc. This means that this is an embarrassingly parallel problem that can be speed up using parallelization. An easy solution is to use a thread pool from the multiprocessing or future.concurrent standard packages.
We should investigate and implement such a solution, and check the gain in runtime.
Edited by Jean-Baptiste Bayle