added cherby2 filter, probably better in general
re-written spindle detection, based on scripts in other papers. It doesn't work at the moment, because I'm still working on it, there is code to read variable. More methods should be included as well, but the framework is very stable.
improved on Wamsley2012, the threshold is too high for our data
clean up spindle detection, works pretty well now with some methods implemented. It needs tests
added resampling, but it needs quite some testing, to check that the frequency content is intact
test also frequency content of resampling, seems to work fine in my tests
do not import visvis if you don't plan to plot
detection at the borders was a bit unstable. bool was not correct (in the case of 0) and we should keep the last value. Let's be consistent with Python. The first value is included, the last is not
Merge branch 'detsp0' into detsp
fix indeces for spindles. We should try to be consistent about beginning and end of spindles, if they are inclusive or not
new version, as we broke API with previous spindle detection