EventName

class EventName[source]

Bases: BaseEventName

Input event codes These values must be set according to Bpod firmware specification.

__init__()

Methods

__init__()

is_condition(event_name)

is_global_counter_end(event_name)

is_global_timer_cancel(event_name)

is_global_timer_end(event_name)

is_global_timer_start(event_name)

is_global_timer_trigger(event_name)

is_state_timer(event_name)

Attributes

BNC1High

BNC

BNC1Low

BNC2High

BNC2Low

Condition1

Condition

Condition10

Condition11

Condition12

Condition13

Condition14

Condition15

Condition16

Condition2

Condition3

Condition4

Condition5

Condition6

Condition7

Condition8

Condition9

GlobalCounter1End

GlobalCounter_End

GlobalCounter2End

GlobalCounter3End

GlobalCounter4End

GlobalCounter5End

GlobalTimer1End

GlobalTimer_End

GlobalTimer1Start

GlobalTimer_Start

GlobalTimer2End

GlobalTimer2Start

GlobalTimer3End

GlobalTimer3Start

GlobalTimer4End

GlobalTimer4Start

GlobalTimer5End

GlobalTimer5Start

PA1_Port1In

Extension in port1

PA1_Port1Out

PA1_Port2In

PA1_Port2Out

PA1_Port3In

PA1_Port3Out

PA1_Port4In

PA1_Port4Out

Port1In

Port

Port1Out

Port2In

Port2Out

Port3In

Port3Out

Port4In

Port4Out

Port5In

Port5Out

Port6In

Port6Out

Port7In

Port7Out

Port8In

Port8Out

Serial1_1

Serial1_10

Serial1_11

Serial1_12

Serial1_13

Serial1_14

Serial1_15

Serial1_16

Serial1_17

Serial1_18

Serial1_19

Serial1_2

Serial1_20

Serial1_21

Serial1_22

Serial1_23

Serial1_24

Serial1_25

Serial1_26

Serial1_27

Serial1_28

Serial1_29

Serial1_3

Serial1_30

Serial1_31

Serial1_32

Serial1_33

Serial1_34

Serial1_35

Serial1_36

Serial1_37

Serial1_38

Serial1_39

Serial1_4

Serial1_40

Serial1_41

Serial1_42

Serial1_43

Serial1_44

Serial1_45

Serial1_46

Serial1_47

Serial1_48

Serial1_49

Serial1_5

Serial1_50

Serial1_51

Serial1_52

Serial1_53

Serial1_54

Serial1_55

Serial1_56

Serial1_57

Serial1_58

Serial1_59

Serial1_6

Serial1_60

Serial1_7

Serial1_8

Serial1_9

Serial2_1

Serial2_10

Serial2_11

Serial2_12

Serial2_13

Serial2_14

Serial2_15

Serial2_16

Serial2_17

Serial2_18

Serial2_19

Serial2_2

Serial2_20

Serial2_21

Serial2_22

Serial2_23

Serial2_24

Serial2_25

Serial2_26

Serial2_27

Serial2_28

Serial2_29

Serial2_3

Serial2_30

Serial2_31

Serial2_32

Serial2_33

Serial2_34

Serial2_35

Serial2_36

Serial2_37

Serial2_38

Serial2_39

Serial2_4

Serial2_40

Serial2_41

Serial2_42

Serial2_43

Serial2_44

Serial2_45

Serial2_46

Serial2_47

Serial2_48

Serial2_49

Serial2_5

Serial2_50

Serial2_51

Serial2_52

Serial2_53

Serial2_54

Serial2_55

Serial2_56

Serial2_57

Serial2_58

Serial2_59

Serial2_6

Serial2_60

Serial2_7

Serial2_8

Serial2_9

Serial3_1

Serial3_10

Serial3_11

Serial3_12

Serial3_13

Serial3_14

Serial3_15

Serial3_16

Serial3_17

Serial3_18

Serial3_19

Serial3_2

Serial3_20

Serial3_21

Serial3_22

Serial3_23

Serial3_24

Serial3_25

Serial3_26

Serial3_27

Serial3_28

Serial3_29

Serial3_3

Serial3_30

Serial3_31

Serial3_32

Serial3_33

Serial3_34

Serial3_35

Serial3_36

Serial3_37

Serial3_38

Serial3_39

Serial3_4

Serial3_40

Serial3_41

Serial3_42

Serial3_43

Serial3_44

Serial3_45

Serial3_46

Serial3_47

Serial3_48

Serial3_49

Serial3_5

Serial3_50

Serial3_51

Serial3_52

Serial3_53

Serial3_54

Serial3_55

Serial3_56

Serial3_57

Serial3_58

Serial3_59

Serial3_6

Serial3_60

Serial3_7

Serial3_8

Serial3_9

SoftCode1

SoftCode10

SoftCode11

SoftCode12

SoftCode13

SoftCode14

SoftCode15

SoftCode16

SoftCode17

SoftCode18

SoftCode19

SoftCode2

SoftCode20

SoftCode21

SoftCode22

SoftCode23

SoftCode24

SoftCode25

SoftCode26

SoftCode27

SoftCode28

SoftCode29

SoftCode3

SoftCode30

SoftCode31

SoftCode32

SoftCode33

SoftCode34

SoftCode35

SoftCode36

SoftCode37

SoftCode38

SoftCode39

SoftCode4

SoftCode40

SoftCode41

SoftCode42

SoftCode43

SoftCode44

SoftCode45

SoftCode46

SoftCode47

SoftCode48

SoftCode49

SoftCode5

SoftCode50

SoftCode51

SoftCode52

SoftCode53

SoftCode54

SoftCode55

SoftCode56

SoftCode57

SoftCode58

SoftCode59

SoftCode6

SoftCode60

SoftCode7

SoftCode8

SoftCode9

Tup

Tup

Wire1High

Wire

Wire1Low

Wire2High

Wire2Low

BNC1High = 'BNC1High'

BNC

Condition1 = '_Condition1'

Condition

GlobalCounter1End = '_GlobalCounter1_End'

GlobalCounter_End

GlobalTimer1End = '_GlobalTimer1_End'

GlobalTimer_End

GlobalTimer1Start = '_GlobalTimer1_Start'

GlobalTimer_Start

PA1_Port1In = 'PA1_Port1In'

Extension in port1

Port1In = 'Port1In'

Port

Tup = '_Tup'

Tup

Wire1High = 'Wire1High'

Wire

static is_condition(event_name)
Parameters:

event_name (str)

Return type:

bool

static is_global_counter_end(event_name)
Parameters:

event_name (str)

Return type:

bool

static is_global_timer_cancel(event_name)
Parameters:

event_name (str)

Return type:

bool

static is_global_timer_end(event_name)
Parameters:

event_name (str)

Return type:

bool

static is_global_timer_start(event_name)
Parameters:

event_name (str)

Return type:

bool

static is_global_timer_trigger(event_name)
Parameters:

event_name (str)

Return type:

bool

static is_state_timer(event_name)
Parameters:

event_name (str)

Return type:

bool