def METHOD_NAME(self):
    self.k0.reset_kernels()
    self.k0.cfg_gain_correction(1)
    self.k0.filter_model_01(
        {'model': 'FIR',
         'real-time': True,
         'params': {'weights': np.linspace(.2, 0, 40)}})
    my_square = np.ones(20)
    distorted_square = self.k0.distort_waveform(my_square)
    assert (my_square == distorted_square[:20]).all()
    self.k0.cfg_awg_channel(1)
    coeffs = self.AWG.sigouts_0_precompensation_fir_coefficients()
    assert (coeffs == np.linspace(.2, 0, 40)).all()
    assert self.AWG.sigouts_0_precompensation_fir_enable() == 1
    # Add tests for enabling realtime fiters