def test04(self):
        ntaps = 5
        # Ideal lowpass: gain is 1 on [0,0.5], and 0 on [0.5, 1.0]
        freq = [0.0, 0.5, 0.5, 1.0]
        gain = [1.0, 1.0, 0.0, 0.0]
        taps = firwin2(ntaps, freq, gain, window=None, nfreqs=8193)
        alpha = 0.5 * (ntaps - 1)
        m = np.arange(0, ntaps) - alpha
        h = 0.5 * sinc(0.5 * m)
        assert_array_almost_equal(h, taps)
Run the mapper and final mapper action for the given step.
dataset/ETHPy150Open scipy/scipy/scipy/signal/tests/test_fir_filter_design.py/TestFirwin2.test04--crossover with--dataset/ETHPy150Open Yelp/mrjob/mrjob/job.py/MRJob.run_mapper