I am using apply_function() to perform Principle Component Analysis (Optimal Basis Sets) on EEG data to remove cardiac artefact noise and it is working fine with no issues.
However, I’m wondering if there is a way to access the channel this method is currently working on when using the njobs parameter to implement parallelization. It’s convenient for debugging etc. to be able to save parameters from the run, but for these to be useful to me they must be specific to each channel and I can’t quite figure out a way to access this information!
Any information is greatly appreciated
- MNE-Python version: 0.23.4
- operating system: Linux