Unit tests for the Unitary Events analysis
elephant.test.test_unitary_event_analysis.
UETestCase
(methodName='runTest')[source]¶Bases: unittest.case.TestCase
Methods
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