def load_all_training_data(freq):
    
    print(''.join(['\nBeginning load of all training data for frequency ', str(freq), ' Hz']))
    
    preictal_file_list = ls.get_file_list(get_scal_subject_dir(freq, 'preictal'))
    interictal_file_list = ls.get_file_list(get_scal_subject_dir(freq, 'interictal'))
    
    preictal_data = [load_scaleogram(p)[0] for p in preictal_file_list]
    interictal_data = [load_scaleogram(i)[0] for i in interictal_file_list]
    
    print(''.join(['Completed load of all training data for frequency ', str(freq), ' Hz']))
    
    return [preictal_data, interictal_data]
def load_all_test_data(freq):
    
    print(''.join(['\nBeginning load of all test data for frequency ', str(freq), ' Hz']))
    
    test_file_list = ls.get_file_list(get_scal_subject_dir(freq, 'test'))
    
    test_data = [load_scaleogram(t) for t in test_file_list]
    
    print(''.join(['Completed load of all test data for frequency ', str(freq), ' Hz']))
    
    return test_data