File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ class Dot(Stimulus, dj.Manual):
1010 # This class handles the presentation of area mapping Bar stimulus
1111 -> stimulus.StimCondition
1212 ---
13- bg_level : tinyblob # 0-255
14- dot_level : tinyblob # 0-255
13+ bg_level : tinyblob # 0-255 baground color
14+ dot_level : tinyblob # 0-255 dot color
1515 dot_x : float # (fraction of monitor width, 0 for center, from -0.5 to 0.5) position of dot on x axis
1616 dot_y : float # (fraction of monitor width, 0 for center) position of dot on y axis
1717 dot_xsize : float # fraction of monitor width, width of dots
@@ -47,11 +47,13 @@ def start(self):
4747
4848 def stop (self ):
4949 self .log_stop ()
50+ self .Presenter .fill (self .fill_colors .background )
5051 self .in_operation = False
5152
5253 def present (self ):
5354 if self .timer .elapsed_time () > self .curr_cond ['dot_time' ]* 1000 :
5455 self .in_operation = False
56+ self .Presenter .fill (self .fill_colors .background )
5557
5658 def exit (self ):
5759 self .Presenter .fill (self .fill_colors .background )
You can’t perform that action at this time.
0 commit comments