old_contents: # 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)
new_contents: # 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,Dummy_Stimulus
  
  DefaultScreen(['left','right'])
  
  duration = 15.0
  
  dummy_stimulus = Dummy_Stimulus()
  
  sweep = FrameSweep()
  sweep.add_stimulus(dummy_stimulus)
  sweep.parameters.go_duration = (duration, 'seconds')
  sweep.go(prestim=5.0,poststim=5.0,RSTART=True)
subject: add dummy stimulus in sweep