Description Usage Arguments Examples
View source: R/extract_full_pulse.R
Extract full pulses of a spectrogram
1 2 | extract_full_pulse(spectrogram, threshold_amplitude = 10,
min_peak_amplitude = 30, max_peak_amplitude = Inf, dimensions = 32)
|
spectrogram |
a |
threshold_amplitude |
relevant regions have an amplitude above the |
min_peak_amplitude |
the maximum amplitude in a relevant region must be above |
max_peak_amplitude |
ignore regions where the maximum amplitude is above |
dimensions |
the number of rows and columns used to resample the shape. Must be a single number and a power of 2. Will be altered to the next power of 2. |
1 2 3 4 5 6 7 | wav <- sound_wav(
system.file("demo.wav", package = "soundcluster"),
te_factor = 10,
max_length = 0.1
)
spectrogram <- sound_spectrogram(wav)
extract_full_pulse(spectrogram, min_peak_amplitude = 20, dimensions = 16)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.