def test_evoked_baseline():
 evoked = read_evokeds(fname, condition=0, baseline=None)
 evoked = EvokedArray(np.ones_like(evoked.data), evoked.info, evoked.times[0])
 evoked.apply_baseline((None, None))
 assert_allclose(evoked.data, np.zeros_like(evoked.data))

def test_evoked_baseline ( ) : evoked = read_evokeds ( fname , condition = 0 , baseline = None ) evoked = EvokedArray ( np . ones_like ( evoked . data ) , evoked . info , evoked . times [ 0 ] ) evoked . apply_baseline ( ( None , None ) ) assert_allclose ( evoked . data , np . zeros_like ( evoked . data ) )
test evoked baseline .