コード例 #1
0
def fit(row, names, outliers=False, full=True):
    """ Wrapper function of the exponential sinusoid fitting function """
    return fit_data(row.values, names.iloc[row.name].sampling_period,
                    outliers=outliers, full=full)
コード例 #2
0
def fit_full(row):
    return fit_data(row.values, sampling_period, outliers=False, full=True)
コード例 #3
0
def estimate_decaying_sinusoid(series, full=False):
    """ Function to call the decaying sinusoid estimation """

    sampling_period = (series.index[1] - series.index[0]) * 24.
    return fit_data(series.values, sampling_period, full=full)