python
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Run file single_pitch for an example of using the compiled library ../cpp/lib/single_pitch.so - Example: python single_pitch.py - Import the module as import single_pitch - Possible calling sequence import numpy as np import single_pitch N = 500 L = 15 pitch_bounds = np.array([0.01, 0.45]) sp = single_pitch(N, L, pitch_bounds) lnBFZeroOrder = 10.0 .... data in numpy array .... omega_h = sp.est(data, lnBFZeroOrder=lnBFZeroOrder)