Merge pull request #97 from markstrefford/master

Updated link to Scipy ndimage iterate_structure page
This commit is contained in:
Will Drevo 2019-05-27 00:17:18 -07:00 committed by GitHub
commit e0f2577718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ def fingerprint(channel_samples, Fs=DEFAULT_FS,
def get_2D_peaks(arr2D, plot=False, amp_min=DEFAULT_AMP_MIN): def get_2D_peaks(arr2D, plot=False, amp_min=DEFAULT_AMP_MIN):
# http://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.morphology.iterate_structure.html#scipy.ndimage.morphology.iterate_structure # http://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.iterate_structure.html#scipy.ndimage.iterate_structure
struct = generate_binary_structure(2, 1) struct = generate_binary_structure(2, 1)
neighborhood = iterate_structure(struct, PEAK_NEIGHBORHOOD_SIZE) neighborhood = iterate_structure(struct, PEAK_NEIGHBORHOOD_SIZE)