Did I find the right examples for you? yes no

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/s/c/scipy-0.13.3/scipy/signal/tests/test_peak_finding.py   scipy(Download)
    assert_almost_equal, assert_array_equal, assert_array_almost_equal, \
    assert_raises, assert_
from scipy.signal._peak_finding import argrelmax, find_peaks_cwt, _identify_ridge_lines
from scipy.lib.six.moves import xrange
 
        test_data[act_locs + order] = test_data[act_locs]*0.99999
        test_data[act_locs - order] = test_data[act_locs]*0.99999
        rel_max_locs = argrelmax(test_data, order=2, mode='clip')[0]
        #rel_max_locs = np.where(rel_max_matr)[0]
 
        #rel_max_matr = argrelmax(test_data_2, axis=1, order=1)
        #rel_max_rows, rel_max_cols = np.where(rel_max_matr)
        rel_max_rows, rel_max_cols = argrelmax(test_data_2, axis=1, order=1)
 
        for rw in xrange(0, test_data_2.shape[0]):

src/s/c/scipy-HEAD/scipy/signal/tests/test_peak_finding.py   scipy(Download)
    assert_almost_equal, assert_array_equal, assert_array_almost_equal, \
    assert_raises, assert_
from scipy.signal._peak_finding import argrelmax, find_peaks_cwt, _identify_ridge_lines
 
 
        test_data[act_locs + order] = test_data[act_locs]*0.99999
        test_data[act_locs - order] = test_data[act_locs]*0.99999
        rel_max_locs = argrelmax(test_data, order=2, mode='clip')[0]
        #rel_max_locs = np.where(rel_max_matr)[0]
 
        #rel_max_matr = argrelmax(test_data_2, axis=1, order=1)
        #rel_max_rows, rel_max_cols = np.where(rel_max_matr)
        rel_max_rows, rel_max_cols = argrelmax(test_data_2, axis=1, order=1)
 
        for rw in xrange(0, test_data_2.shape[0]):