Module TryExcept body Import alias Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Print Str Import alias Import alias ImportFrom alias If CompareEq Call AttributeLoad NameLoad attr Str body Import alias Import alias ImportFrom alias Assign NameStore Dict Str Str Str Str Str Str Str Str TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num Assign NameStore Dict Str Str Str Str Str TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad BinOpLShift Num Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMult NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num TupleLoad Num Num Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq Call NameLoad AttributeLoad NameLoad attr BinOpSub Num AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpAdd BinOpSub NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Return If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num AttributeLoad NameLoad attr For TupleStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore TupleLoad BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Global identifier Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore NameLoad Assign TupleStore NameStore NameStore TupleLoad Num Num For NameStore Call AttributeLoad Str attr Str body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num While AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num NameLoad Num Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Assign NameStore ListLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Num TryExcept body While CompareLt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad Num Call NameLoad NameLoad Num AugAssignSub NameStore AttributeLoad NameLoad attr If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body AugAssignAdd NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Call NameLoad NameLoad Num Expr Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad AugAssignAdd NameStore Num handlers ExceptHandler type NameLoad name NameStore body Print NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Num Num Num TupleLoad BinOpSub NameLoad Num BinOpSub NameLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list TryExcept body Assign NameStore BinOpDiv Num Num Expr Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad
N/A N/A N/A N/A psyco N/A N/A N/A psyco full N/A N/A N/A ImportError N/A N/A No psyco. Expect poor performance. Not really... N/A pygame N/A platform pygame FULLSCREEN N/A N/A N/A N/A platform system Windows N/A N/A socket N/A gevent emokit.emotiv Emotiv N/A quality_color N/A 0 1 2 3 4 5 6 7 N/A 0 0 0 N/A 255 0 0 N/A 255 0 0 N/A 255 255 0 N/A 255 255 0 N/A 0 255 0 N/A 0 255 0 N/A 0 255 0 N/A old_quality_color N/A 0 1 2 3 4 N/A 0 0 0 N/A 255 0 0 N/A 255 255 0 N/A 0 255 0 N/A 0 255 0 Grapher N/A object N/A N/A 
    Worker that draws a line for the sensor value.
     __init__ N/A N/A self screen name i N/A N/A N/A 
        Initializes graph worker
         N/A N/A self screen screen N/A N/A self name name N/A N/A self range N/A float N/A 1 13 N/A N/A self x_offset 40 N/A N/A self y N/A i gheight N/A N/A self buffer N/A N/A font N/A N/A N/A pygame font Font None 24 N/A N/A self text N/A N/A font render N/A self name 1 N/A 255 0 0 N/A N/A self text_pos N/A N/A N/A self text get_rect N/A N/A N/A self text_pos centery N/A N/A self y gheight N/A N/A self first_packet True N/A N/A self y_offset 0 N/A update N/A N/A self packet N/A N/A N/A 
        Appends value and quality values to drawing buffer.
         N/A N/A N/A len N/A self buffer N/A 800 N/A self x_offset N/A N/A N/A self buffer N/A N/A self buffer N/A 1 N/A N/A N/A N/A self buffer append N/A N/A N/A N/A packet sensors N/A N/A self name N/A value N/A N/A N/A packet sensors N/A N/A self name N/A quality N/A packet old_model N/A calc_y N/A N/A self val N/A N/A N/A 
        Calculates line height from value.
         N/A N/A N/A val N/A self y_offset gheight N/A draw N/A N/A self N/A N/A N/A 
        Draws a line from values stored in buffer.
         N/A N/A N/A len N/A self buffer 0 N/A N/A N/A N/A self first_packet N/A N/A N/A self y_offset N/A N/A N/A self buffer N/A 0 N/A 0 N/A N/A self first_packet False N/A pos N/A N/A self x_offset N/A N/A N/A self calc_y N/A N/A N/A self buffer N/A 0 N/A 0 N/A self y N/A N/A i N/A value quality old_model N/A enumerate N/A self buffer N/A N/A y N/A N/A N/A self calc_y value N/A self y N/A old_model N/A N/A color N/A old_quality_color N/A N/A str quality N/A N/A color N/A quality_color N/A N/A str quality N/A N/A N/A N/A pygame draw line N/A self screen color pos N/A N/A N/A self x_offset i y N/A pos N/A N/A N/A self x_offset i y N/A N/A N/A N/A self screen blit N/A self text N/A self text_pos N/A N/A main N/A N/A N/A N/A N/A 
    Creates pygame window and graph drawing workers for each sensor.
     N/A gheight N/A N/A N/A pygame init N/A screen N/A N/A N/A pygame display set_mode N/A 800 600 N/A graphers N/A N/A recordings N/A N/A recording False N/A record_packets N/A N/A updated False N/A N/A cursor_x cursor_y N/A 400 300 N/A name N/A N/A AF3 F7 F3 FC5 T7 P7 O1 O2 P8 T8 FC6 F4 F8 AF4 split N/A N/A N/A N/A graphers append N/A Grapher screen name N/A len graphers N/A fullscreen False N/A emotiv N/A Emotiv display_output True N/A N/A N/A gevent spawn N/A emotiv setup N/A N/A N/A gevent sleep 0 N/A N/A emotiv running N/A N/A event N/A N/A N/A pygame event get N/A N/A N/A N/A event type N/A pygame QUIT N/A N/A N/A N/A emotiv close N/A N/A N/A N/A event type N/A pygame KEYDOWN N/A N/A N/A N/A event key N/A pygame K_ESCAPE N/A N/A N/A N/A emotiv close N/A N/A N/A N/A N/A event key N/A pygame K_f N/A N/A fullscreen N/A N/A screen N/A N/A N/A pygame display set_mode N/A 800 600 N/A fullscreen False N/A N/A screen N/A N/A N/A pygame display set_mode N/A 800 600 FULLSCREEN 16 N/A fullscreen True N/A N/A N/A N/A event key N/A pygame K_r N/A N/A N/A recording N/A N/A record_packets N/A N/A recording True N/A N/A recording False N/A N/A N/A recordings append N/A list record_packets N/A record_packets None N/A packets_in_queue 0 N/A N/A N/A N/A packets_in_queue 8 N/A N/A packet N/A N/A emotiv dequeue N/A N/A N/A abs N/A packet gyro_x 1 N/A N/A cursor_x N/A max 0 N/A min cursor_x 800 N/A cursor_x N/A packet gyro_x N/A N/A N/A abs N/A packet gyro_y 1 N/A N/A cursor_y N/A packet gyro_y N/A cursor_y N/A max 0 N/A min cursor_y 600 N/A N/A map N/A N/A N/A x N/A N/A N/A x update packet graphers N/A recording N/A N/A N/A N/A record_packets append packet N/A updated True N/A packets_in_queue 1 N/A N/A N/A Exception N/A ex N/A N/A ex N/A updated N/A N/A N/A N/A screen fill N/A 75 75 75 N/A N/A map N/A N/A N/A x N/A N/A N/A x draw graphers N/A N/A N/A N/A pygame draw rect screen N/A 255 255 255 N/A N/A cursor_x 5 N/A cursor_y 5 10 10 0 N/A N/A N/A N/A pygame display flip N/A updated False N/A N/A N/A gevent sleep 0 N/A N/A N/A N/A gheight N/A 580 14 N/A N/A main N/A N/A N/A Exception N/A e N/A N/A e