asrpy
asrpy copied to clipboard
Artifact Subspace Reconstruction for Python
Minor changes as pip installation not working from git main branch.
https://github.com/DiGyt/asrpy/blob/14956f46e86667931ed9b56aaa15d6eb8151a7dd/asrpy/asr_utils.py#L504 When data has shape of (4,17302), window = 100 gives error ```python ValueError: cannot reshape array of size 2768 into shape (174,16) ``` And it does the same with...
https://github.com/DiGyt/asrpy/blob/15cda1913fd822da9794c69240ff08f58fbfddc4/asrpy/asr.py#L782 An additional line ``` clean = X.copy() ``` should probably added after line 782 in asr.py. Otherwise, the variable ```clean``` will be missing when the whole data is clean.
Hi! Thanks for your code. I was wondering if it is possible to exclude bad channels in ASR fit/transform method (to be compatible with MNE python workflow). Best, Velu