# Display blank screen.
#
# Copyright (C) 2010-2012 Huang Xin
#
# See LICENSE.TXT that came with this file.

from __future__ import division
from StimControl.LightStim.FrameControl import FrameSweep
from StimControl.LightStim.Core import DefaultScreen

DefaultScreen(['left','right'])

duration = 15.0

sweep = FrameSweep()
sweep.parameters.go_duration = (duration, 'seconds')
sweep.go(prestim=5.0,poststim=5.0,RSTART=True)
@@ -244,16 +244,31 @@
 ltScreen
+,Dummy_Stimulus
 %0A%0ADefaul
@@ -315,27 +315,97 @@
 .0%0A%0A
-sweep = FrameSweep(
+dummy_stimulus = Dummy_Stimulus()%0A%0Asweep = FrameSweep()%0Asweep.add_stimulus(dummy_stimulus
 )%0Asw

add dummy stimulus in sweep