ee723d05e9cf56fa26a33735ee7bc2be882e0683,pliers/extractors/base.py,ExtractorResult,resample,#ExtractorResult#Any#Any#Any#,210
Before Change
// What does first sample correspond to? Only one
f = interp1d(x, ts, kind=kind)
x_new = np.linspace(0, n - 1, num=num)
resampled[f_name] = f(x_new)
new_dur = 1 / sampling_rate
new_onsets = np.arange(0, math.ceil(max_duration), new_dur)
After Change
ts[_onset:_offset] = val
f = interp1d(x, ts, kind=kind)
x_new = np.arange(0, max_dur_bin_sr, step=interval * bin_sr)
resampled[f_name] = f(x_new)
new_onsets = np.arange(0, max_dur_bin_sr / bin_sr, interval)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances Project Name: tyarkoni/pliers
Commit Name: ee723d05e9cf56fa26a33735ee7bc2be882e0683
Time: 2020-11-04
Author: aleph4@gmail.com
File Name: pliers/extractors/base.py
Class Name: ExtractorResult
Method Name: resample
Project Name: mne-tools/mne-python
Commit Name: 02c924a4bfbddd05e30318af3f318319c38c93ce
Time: 2019-04-26
Author: alexandre.gramfort@m4x.org
File Name: examples/simulation/plot_source_simulator.py
Class Name:
Method Name:
Project Name: librosa/librosa
Commit Name: 4234f0694336f03d554c5c18ed1a81f2ff934ae7
Time: 2015-01-21
Author: ebattenberg@gracenote.com
File Name: librosa/filters.py
Class Name:
Method Name: constant_q
Project Name: librosa/librosa
Commit Name: c18f5c4bf4e6ed16fa82264636d440174c59fbca
Time: 2013-11-15
Author: brm2132@columbia.edu
File Name: librosa/core.py
Class Name:
Method Name: ifgram