DiGyt / asrpy

Artifact Subspace Reconstruction for Python
BSD 3-Clause "New" or "Revised" License
41 stars 14 forks source link

Missing a return variable in clean_windows() #3

Open q89123003 opened 2 years ago

q89123003 commented 2 years ago

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.