Skip to content

Commit a8e3e82

Browse files
committed
Update dot.py
1 parent b396954 commit a8e3e82

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ethopy/stimuli/dot.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)