human
I wrote the below code

    def fl(gf, t):
        tt = np.linspace((t - d), (t + d), nframes)
        avg = np.mean((1.0 * np.array([gf(t_) for t_ in tt], dtype='uint16')), axis=0)
        return avg.astype('uint8')
    return clip.fl(fl)

What's a good function header?
assistant
#Here's a good function header.

def supersample(clip, d, nframes):