

def generate_data(n_subjects, n_conditions):
    'generate testing data'
    rng = np.random.RandomState(42)
    data = rng.randn((n_subjects * n_conditions)).reshape(n_subjects, n_conditions)
    return data

dataset/ETHPy150Open mne-tools/mne-python/mne/stats/tests/test_parametric.py generate_data/original