def __float_window(window_function):

    def _wrap(n, *args, **kwargs):
        '''The wrapped window'''
        n_min, n_max = int(np.floor(n)), int(np.ceil(n))

        window = window_function(n, *args, **kwargs)

        if len(window) < n_max:
            window = np.pad(window, [(0, n_max - len(window))],
                            mode='constant')

        window[n_min:] = 0.0

        return window

    return _wrap
<fromBase> [<toBase>] <number>
dataset/ETHPy150Open bmcfee/librosa/librosa/filters.py/__float_window--crossover with--dataset/ETHPy150Open ProgVal/Limnoria/plugins/Math/plugin.py/Math.base