def get_test_dataframe(speakers=8): """Generate a test dataframe.""" df = generate_data_frame(speakers=speakers, genders=['M', 'F'], factors=dict(group=['HV', 'LV'], test=['pre', 'post'], vowel=['a', 'e', 'i', 'o', 'u'])) return df
def setUp(self): df = generate_data_frame(speakers=8, genders=['M', 'F'], factors=dict(group=['HV', 'LV'], test=['pre', 'post'], vowel=['a', 'e', 'i', 'o', 'u'])) self.df = df.copy() self.kwargs = {} self.formants = ['f0', 'f1', 'f2', 'f3']