lib/validator/background.rb in mspire-0.4.2 vs lib/validator/background.rb in mspire-0.4.4

- old
+ new

@@ -27,9 +27,13 @@ smoothed_stdev_derivs = smoothed_stdev.chim last_0_index = index_of_last_0(smoothed_stdev_derivs) min_in_window(data_vec, last_0_index, min_window_pre, min_window_post) end + def plot(vec) + `graph #{vec.join(" ")} -a -T X` + end + # not really working right currently def derivs(avg_points=15, min_window_pre=5, min_window_post=5) data_vec = VecD[*@data] delete_nan!(data_vec) drvs = data_vec.chim