Commit Graph
4 Commits
Author SHA1 Message Date
Malcolm Reynolds 042b75d05f FIX: changed xrange to range so Python 3 works. 2013-03-18 15:31:45 +00:00
Malcolm Reynolds 920e41398d FIX: move corner detection outside loop in test_num_peaks. 2013-03-18 15:23:35 +00:00
Malcolm Reynolds 0fde67bb56 TEST: added test for num_peaks kwarg in peak_local_max. 2013-03-18 15:13:18 +00:00
Malcolm Reynolds 44095eef81 FIX: number of peaks returned from feature.corner_peaks
corner_peaks accepted a num_peaks argument, but the call
to peak_local_max inside the function used np.inf instead
of the value of this keyword argument, leading to an unbounded
number of peaks being returned.
2013-03-15 18:50:43 +00:00