elephant.test.test_unitary_event_analysis module

Unit tests for the Unitary Events analysis

class elephant.test.test_unitary_event_analysis.UETestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Methods

static load_gdf2Neo(fname, trigger, t_pre, t_post)[source]

load and convert the gdf file to Neo format by cutting and aligning around a given trigger # codes for trigger events (extracted from a # documentation of an old file after # contacting Dr. Alexa Rihle) # 700 : ST (correct) 701, 702, 703, 704* # 500 : ST (error =5) 501, 502, 503, 504* # 1000: ST (if no selec) 1001,1002,1003,1004* # 11 : PS 111, 112, 113, 114 # 12 : RS 121, 122, 123, 124 # 13 : RT 131, 132, 133, 134 # 14 : MT 141, 142, 143, 144 # 15 : ES 151, 152, 153, 154 # 16 : ES 161, 162, 163, 164 # 17 : ES 171, 172, 173, 174 # 19 : RW 191, 192, 193, 194 # 20 : ET 201, 202, 203, 204

setUp()[source]
test_Riehle_et_al_97_UE()[source]
test__UE_default()[source]
test__UE_surrogate()[source]
test__bintime()[source]
test__rate_mat_avg_trial_default()[source]
test__winpos()[source]
test_gen_pval_anal_default()[source]
test_hash_ValueError_wrong_entries()[source]
test_hash_ValueError_wrong_orientation()[source]
test_hash_base_not_two()[source]
test_hash_default()[source]
test_hash_default_longpattern()[source]
test_hash_invhash_consistency()[source]
test_invhash_ValueError()[source]
test_invhash_base_not_two()[source]
test_invhash_default_base()[source]
test_invhash_shape_mat()[source]
test_jointJ_default()[source]
test_jointJ_window_analysis()[source]
test_n_emp_mat_default()[source]
test_n_emp_mat_sum_trial_ValueError()[source]
test_n_emp_mat_sum_trial_default()[source]
test_n_exp_mat_default()[source]
test_n_exp_mat_sum_trial_TrialAverage()[source]
test_n_exp_mat_sum_trial_ValueError()[source]
test_n_exp_mat_sum_trial_default()[source]
test_n_exp_mat_sum_trial_surrogate()[source]
elephant.test.test_unitary_event_analysis.suite()[source]