[visionegg] [visionegg]the time in the demo
- From: Lili Wu <wull1982@xxxxxxxxxxxx>
- To: vision eeg maillist <visionegg@xxxxxxxxxxxxx>
- Date: Mon, 16 Jul 2007 23:09:03 +0800 (CST)
Hi all,
I have two questions when running the demo of makemovie.py and I am looking
for some help.
When I changed the presentation time in the command
p = Presentation(go_duration=(1,'seconds'),viewports=[viewport])
in fact,the duration of the stimulus is more than 1 seconds(about 4 s).
Another question is in the follow commands:
# define position as a function of time
def get_target_position(t):
global mid_x, mid_y, max_vel
return ( max_vel*sin(0.1*2.0*pi*t) + mid_x , # x
max_vel*sin(0.1*2.0*pi*t) + mid_y ) # y
in the programe, the t has not been defined, and I can not export its value.
Could anyone tell me that how the value of 't' has been setted?
Thanks a lot!
Lili Wu
---------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件!
- Follow-Ups:
- [visionegg] Re: [visionegg]the time in the demo
- From: Andrew Straw
Other related posts:
- » [visionegg] [visionegg]the time in the demo
- » [visionegg] Re: [visionegg]the time in the demo
- [visionegg] Re: [visionegg]the time in the demo
- From: Andrew Straw