Closed Timothysit closed 2 years ago
Try/catch in spike detection is now removed (see 6276bf3f83237b72d36d16e0cd5a528ab78308f6), and I now print out the available wavelets if the user specifies an invalid one (see 94f6830ab14e812c166c8dba974df655640e4d81)
Example
Currently, the try/catch block starting from line 138 of
detectSpikesCWT.m
here prints out 'Spike detection failed for some reason...' if the wavelet specified is not a valid wavelet name supported by Matlab, it will be good to specify this type of error and more generally make this try/catch more specific / eliminate it entirely if possible.