Thank you so much for your sharing this wonderful code. I am still struggling with the prefilter. First, after upgrading to razorback-0.3.0.4, there is no bcoher_filter in the razorback.prefilters. I went into the file and found the bcoher_filter was changed to cod_filter. I got the same error when I had the prefilter on. Here are error messages of M-Estimator run.
SignalSet: 9 channels, 1 run
tags: {'site004_Ex': (0,), 'site004_Ey': (1,),
'site004_Hx': (2,), 'site004_Hy': (3,),
'site004_Hz': (4,), 'site099_Hx': (5,),
'site099_Hy': (6,), 'site100_Hx': (7,),
'site100_Hy': (8,), 'B': (2, 3),
'E': (0, 1), 'Bremote': (6, 7, 5, 8)}
sampling start stop
128 2016-04-28 19:00:00 2016-04-29 07:00:00
starting frequency 0.001
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0012879
arrays used as indices must be of integer (or boolean) type
starting frequency 0.00165868
arrays used as indices must be of integer (or boolean) type
starting frequency 0.00213622
arrays used as indices must be of integer (or boolean) type
starting frequency 0.00275123
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0035433
arrays used as indices must be of integer (or boolean) type
starting frequency 0.00456342
arrays used as indices must be of integer (or boolean) type
starting frequency 0.00587722
arrays used as indices must be of integer (or boolean) type
starting frequency 0.00756926
arrays used as indices must be of integer (or boolean) type
starting frequency 0.00974845
arrays used as indices must be of integer (or boolean) type
starting frequency 0.012555
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0161696
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0208248
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0268202
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0345417
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0444862
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0572938
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0737886
arrays used as indices must be of integer (or boolean) type
starting frequency 0.0950322
arrays used as indices must be of integer (or boolean) type
starting frequency 0.122392
arrays used as indices must be of integer (or boolean) type
starting frequency 0.157628
arrays used as indices must be of integer (or boolean) type
starting frequency 0.203009
arrays used as indices must be of integer (or boolean) type
starting frequency 0.261455
arrays used as indices must be of integer (or boolean) type
starting frequency 0.336728
arrays used as indices must be of integer (or boolean) type
starting frequency 0.433672
arrays used as indices must be of integer (or boolean) type
starting frequency 0.558525
arrays used as indices must be of integer (or boolean) type
starting frequency 0.719324
arrays used as indices must be of integer (or boolean) type
starting frequency 0.926416
arrays used as indices must be of integer (or boolean) type
starting frequency 1.19313
arrays used as indices must be of integer (or boolean) type
starting frequency 1.53663
arrays used as indices must be of integer (or boolean) type
starting frequency 1.97902
arrays used as indices must be of integer (or boolean) type
starting frequency 2.54878
arrays used as indices must be of integer (or boolean) type
starting frequency 3.28257
arrays used as indices must be of integer (or boolean) type
starting frequency 4.22762
arrays used as indices must be of integer (or boolean) type
starting frequency 5.44475
arrays used as indices must be of integer (or boolean) type
starting frequency 7.01229
arrays used as indices must be of integer (or boolean) type
starting frequency 9.03112
arrays used as indices must be of integer (or boolean) type
starting frequency 11.6312
arrays used as indices must be of integer (or boolean) type
starting frequency 14.9798
arrays used as indices must be of integer (or boolean) type
starting frequency 19.2924
arrays used as indices must be of integer (or boolean) type
starting frequency 24.8467
arrays used as indices must be of integer (or boolean) type
starting frequency 32
arrays used as indices must be of integer (or boolean) type
(42, 2, 2)