关键词不能为空

当前您在: 主页 > 英语 >

E-PRIME的时间精度问题(操作)

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-10 20:11
tags:

-

2021年2月10日发(作者:细皮嫩肉)




E-Prime


程 序中如何提高时间精度



——操作部分



张豹



2006-2-22


提高和检验时间精度的六个步骤:



Step




Task



and


tune the


e^permeri^ computer for research timing.


Run test experin'kenl io d^emnine the refresh rate of


the


display and general tirr pg


capabil ties


of


the


camputer.


thrs


must



for


configuration end


not


to



done for


each


expenment but should be reputed if any


significant hardware


or



LVMQ


change


is


madQ to


machine


Se


ect


and


irrtplemen:


a parad


fir


tming


model


tr at best


after initia! losing.



natd'es ttie crtica timing requ rements of the psrad


gm.



Action



Record c ock and refresh miss rates an2


refresh frequency; set


up


the machine to


perforri


1



mill


second tirnir^.





3.



4.



5”




Cache or pre oad stimulus files being loaded from disk a




needed to miriimize read times.



Test and che



k the


tirnng da



a of the paracigm.



Run pilot experrnents to collect timing and behavioral data


and ana yze the tinning data.



Identify and nnpf^m^nt


OHQ


of th&


common paradigm models:



?



sirige


stimulus


event to response


timing



?



critical sequence of events



?



cntical


seguencE


of


events wrlh


varying


duratiorr of


probe



?



cumulative timing of a repeating


sequence of events



?



continuous sequence of events at


high


rate with short stimulus times.



Preload stimuli to minimize generate tine


and operating system delays.



Record timing da:a and review/ or plot


stimulus durations, onset tnrte$$


f


and


onset de sys. Verify refresh


rspsrted



Record su



ect and expefirrent tin^ng


data” Check timing data ard reoart critic


a timing data.



步骤一、测试和调整实验所用的计算机的时间



如果计算机的硬件不支持毫秒的精度,软件在运行实验程序时就会产生误差。所以在运行程序之前必须测 试计算机是



否支持毫秒级的精度。



E-Prime


提供了测试程序来确定计算机是否支持毫秒级的 精度。



[refer to


Appe ndix A: Timing Test Results


page 217 ]


当计算机安装新的硬件或是软件时有必要运行时间测试程序,



时间测试能保证桌面



PC

< p>
硬件为


Pentium




120MHz



更高时


E-Prime


会达到毫秒级的精度


.


当实验用键盘或



PST< /p>


反应盒外部设备进行反应时能达到毫秒级,但是一有般不



推荐作鼠标作为



E-Prime


实验程序的反应装置来保证毫秒级的精度。



[Using a quality name brand PCI audio card , E-Prime


can achieve con siste nt low late ncy playback of digital audio



e.g., late ncy < 1 scree n refresh



. We


do n ot recomme nd using a


legacy ISA audio card for experiments that require optimal and consistent playback latency.]


一个好的实验时计算 机必须有最小数量的程序同时运行,在数据收集时没有其他的应用程序程序运行。理想状态是在

< br>


收集数据的时候除了



E-R un


之外在窗口工具栏中没有其他任务程序运行,而是运行背景程序(其他操作系统的程 序)也



应最少。(按


Ctrl+Al t+Del


可以显示当前运行的程序)




运行刷新时钟测试


(


RefreshClockTest


)



PST


提供有测试软件来收集和分析在



度,可以从上下载。



WINDOWS95/98/ME


的计算机上的时间数据,目的是评估研究所用的计算机的时间精



测试实验的步骤:



1.


Dow nl oad and un zip the test ().


下载软件



2.


Close all other open applications (i.e., no running applications present on the taskbar).


关闭其他的应用程序



3.


Launch E-Studio from the E-Prime menu via the Start menu.


打开



E-Studio


程序



4.


Open in E-Studio.




E-Studio


中打开的






5.


Gen erate and run the experime nt by press ing the {F7} key. When E-Prime prompts for Subject, Sessi on, and Group values, it is


suggested that a machine ID be entered as the Subject number, the sequential run number be entered as the Session number, and the


test ID (see #6) be en tered as the Group nu mber. It is also suggested that the user keep a writte n log of the results.


运行



程序



6.


Read through the prompts and the n select the durati on of the test: En ter


minu tes, or



test for 1 minu te,1



to run'th^ to run for 25



3



to run the test for 6


输入运行时间,


1




1


分钟,


2




25


分钟,


3




6


小时。




Test #50



Result s



Test TD: 1234567B9A1234567 fl9B123456789C1234S6709D123456789E



1%





■++++++++++++++++++




+ + + + + *





Ms



Rule




<+=GOOD, ?^MARG




14


型卄



X=HAD


)




____



-


T -i m i inri


fZCidVl





Clock Testi.





Extra Tria


J s


Required


f


+


+


,


??



0


T


00027


Timing Dias


0067ms





Missed Ticks


..................



0.67%


(


should be


<




0.10^)



Detected Ticks


...................



9933



Missed Ticks


....................



67



Maximum Missed Tick


.............



4 ms < should be


<




5)



T ±m±ng Vaxrxance



......................


0.0266


ns2




.................



Squared Error


...................



0.0266767



Refresh Cycle Test





Refresh Missed



..........


.





1.


(should be



0.10^)



Refresh Missed Coun




...................



10



Refresh Rate


....................



85.1395 Hz



Refresh Dur at ion .



.....


.






11.7454 ms




...................



Refx'esh Dur at ion SD*,.



0-01 ms



Refresh Duration Max


............



11 * 930 ms



Vert ical Blank Durat ion


.......



0


.


719H ms (shouId



be


>


0.05)



Vert±cal Blank Mln Duration


.


.



0


T


527ms (should be



>


0.05)



0.0 Estiiniated Minutes Remaining































Figure 2 E-Pnme Refresh Clock Test display


after


50 runs.



E-Prime


提供了很 多时间精度的测试,但最重要的是



CLOCK TEST


,时钟测试连续监控计算机时钟


10000ms



E-Prime




够检测到读取时钟时是否有中止以跳过



clock tick


(


例如值是< /p>


2001,2002,2005,2006


,这表明在

< p>
2002,2005


之间有


3ms



tick


)




这表明在实验


过程中操作系统有时间误差。





另一个测试是


Refresh Test


,这个测试有三个功能:



如在刷新时 光栅从屏幕底部到顶部时的时间


)




号很短


(


10ms


)


,这样短的信号不能被



用垂直空格模拟编码时要小于



50


%




此,为了保持同步,



在不用垂直空格模拟编码时



影响时间精度测试不合格的因素:



1 ,


检测显卡硬件是否提供垂直空格信号


(


vertical blanking signal


)(




2,


检测硬件的


missed refreshes


的速度,有的显卡的垂直空白之间呈现的信



missed refreshes


的速度

< br>(


RefreshMissedPercent)


的检测必须小于



0.10


%


,在



E- Prime


稳定地检测到,而要维持刺激与显卡的同步必须要检测到垂直空格事件。因< /p>



1.


Failure to exit all programs (other tha n E-Ru n) before the test


。其他应用程序



病毒软件以及背景程序



2.


Virus-sca n programs and backgrou nd programs (e.g., MS Office Assista nt?)


3.


Network traffic or shared disk activity in terrupt ing the computer


。网络或共享



4.


A slow mach ine (e.g., below 120MHz) that is un able to provide good timi ng


。机器太慢不能提供好的时间



为了达 到稳定的结果,要关闭所有的其他应用程序


(


亦可包括杀毒软件 和网络,共享等


)


,重新运行时间测试,运行一分钟

< p>


的直到稳定,然后再是二


十五分钟的,再是六个 小时的。



测试结果解释


:



Test


ID



1%


Rule


L


绿


+


代表达到毫秒级;




X


代表没有达到; 黄



色?代


表边缘达到。



通常第一次测试结果较




这是由于启动测试程



序操


作系统不稳定






Test number in lhe series. Letters indicate multiples of 10.


The number of extra trials necessary


in


order to compensate for the tinning errors that


occurred from a less than perfect machine.


Results


from


the


dock testing


rtir^ as


shown


in


Figure 2


r



indicating whether a greater


than billisecond


error


occurred.


A green


indicates


that the


results suggest


the


machine


can deliver millisecond accuracy (as defined


in


Chapter 3-


Cntical Timiiig).



A


red


X'


indicates that


the


test


failed


to reach


the


specific criterio


rt


(%


Missed


Ticks


>1% or


Maximum Missed Tick


>


10ms)


;


therefore,


the


computer could produce serious timing


or display problems.


A


yellow


L


?


JI


indicates timing concerns


(1%>


% Missed Ticks


>


0


1%


or


10ms >


Maximum


Missed


Tick


>


5ms).


The status


bar


moves across


the


screen as the test proceeds. Ideally,


the


result will


be


a


III green


Typically,


the


first test is poor because


the


operating system


stabilizes itself


after the launch


and incremental loading


of


the test program.





Clock Test



% Extra Trials



Required: Timing Bias



Mi ssTick Percent


Detected Ticks



Missed Ticks


Maximum Missed Tick


Maximum duraton of missed ticks. This value shows


:


in the worst



ase


:


what the


timing error would be during a WOOOms span. This should be small (e g.


h


less than or


equal to 5ms). Numbers over 10ms should be viewed as a serious timing problem.


Timing Variance; Squared


Observed timing variance and the measurement enor variance (difference between


Error


expected and actual duration variance). If the measurement error variance is below 1 it


is negligible.


Percentage of extra trials that would need to be


run


in order to compensate for the


timing Errors.



Percentage of missed millisecond dock licks. This should be below 0.1%.



Total number of detected and missed millisecond clock ticks



Total number of missed millisecond clock ticks




Refresh Cycle Test





% Refresh Missed


Percentage of refresh cycles that were missed (i.e,. percentage of time that the onset


of


the


vertical blank signal was not detected).


This


value should


be


below


or


_


equal to


0.1% (one miss


测到的垂直空格信号



的启动的


in


1000 refreshes).


If


the


vertical


blank


simulation code


is


;


then this value


次数。如果太太,



则重新设置


should be below or equal to 50%.


A


miss is defined as


a vertical


blanking period that is not


屏幕参数(分



辨率,颜色深


between


5 and 20ms at 50Hz to


2


00Hz (i e.


r



a miss is


considered to


have


occurred).


If the


%


Refresh


Missed


is greater than 0.1% then the Refresh Rate underestimates the refresh rate.


If


度,刷新周



期),或更换显


the %


Refresh


Mussed is


above


0.1 %


and


the very top portion


of the screen


must


be


updated


卡。



on


single refreshes, adjust


the screen


parameters (i.e.


r


screen


resol


utia


n’


color depth, refresh


rate), or switch to a different video card.


Refresh Missed Count


The actual number of times the onset of the refresh cycle was missed.


缺失的刷新周期,比如没



有检


Refresh Rate


Refresh Duration


Refresh Duration SD


Refresh Duration Max


Refresh frequency in Hertz (cycles per second).


Mean time


(in


milliseconds) bet wee n refresh cycles.


S



dard deviation (in milliseconds) of the refresh duration,


Maximum duration observed of a single relresh cycle This should be very close in value to the


Refresh Duration. It is often a multiple of the refresh cycle due to missing 1, 2 etc. vertical


blank signals.


Vertical Blank Duration



Mean time (in mi Illi seconds) in which the vertical blank hardware bit was set.


Vertical Blank Min Duration



Time (in milliseconds) in which the


vertical


blank hardware bit was set.


E-Pirime


monitors


this


bit


in


order to determine


when


the


refresh cycle begins in order


to


synchronize stimulus


onsets



nd to


keep the


monitor from flashing when updates


are done in


the middle of


the


refresh E-Prime


runs well on Pentium 120 class


ma


chi nes and


above


when


the


vertical blank


period


is greater than


0.05ms.



需要分析的时间数据:




Shows the missed tick percentage by test run. This value should be below 0.1% . You may see a larger


number of misses on the initial test runs as the operating system finishes loading and initializing the test software. If this is the only


problem, it can usually be overcome by running a short block of practice at the begi nning of the experime nt. If you have large spikes


during subsequent runs, it indicates that the operating system, other applications, drivers, or hardware are tak ing executio n cycles from


the experime nt. You should attempt to review the state of your system to ide ntify other programs or hardware that may be causing


delays in the experiment.


用来显示



missed tick


的百分比。如果在几次测试之后还是有比较



大的峰,这表明有其他的应用程序,或其他原因造成


在实验时不能达到毫 秒级精度。




Shows the maximum missed tick durati on


by test run. This provides a good measure of the


worst-case time delays caused by the operating system, other applications, drivers, or hardware. It should be < 10ms.


BinCoun


Shows the distributi on of missed ticks across all test runs. Each bin holds the count of observed delays of a specified duration. Bin #1 is


the count of the detected ticks (1ms). Bins 2-20 are the counts of greater delays (respectively). Bin 21 is the count of all delays greater


than 20ms. Bin 22 is the count of any delay that was negative in duration (should not happe n). You can use the bin pro determ ine if


other programs or hardware are consuming time.


RefreshMissedPerce


Shows the perce ntage of missed refresh cycles (i.e., on set of vertical bla nk even ts). This value


should be less than 0.10% . If it is higher, the vertical blank simulation feature of E-Prime should be used (this feature is on by default in


E-Prime). If the rate is > 50% , you should re-run the test using different display parameters (e.g., resolution, color depth, refresh rate) to


see if the results can be improved. If the rate cannot be reduced below 50%, you should con sider changing the video display adapter or


possibly not using the computer for experiments requiring short duration, precise visual


stimulus presentations.


-


-


-


-


-


-


-


-



本文更新与2021-02-10 20:11,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/631452.html

E-PRIME的时间精度问题(操作)的相关文章

  • 爱心与尊严的高中作文题库

    1.关于爱心和尊严的作文八百字 我们不必怀疑富翁的捐助,毕竟普施爱心,善莫大焉,它是一 种美;我们也不必指责苛求受捐者的冷漠的拒绝,因为人总是有尊 严的,这也是一种美。

    小学作文
  • 爱心与尊严高中作文题库

    1.关于爱心和尊严的作文八百字 我们不必怀疑富翁的捐助,毕竟普施爱心,善莫大焉,它是一 种美;我们也不必指责苛求受捐者的冷漠的拒绝,因为人总是有尊 严的,这也是一种美。

    小学作文
  • 爱心与尊重的作文题库

    1.作文关爱与尊重议论文 如果说没有爱就没有教育的话,那么离开了尊重同样也谈不上教育。 因为每一位孩子都渴望得到他人的尊重,尤其是教师的尊重。可是在现实生活中,不时会有

    小学作文
  • 爱心责任100字作文题库

    1.有关爱心,坚持,责任的作文题库各三个 一则150字左右 (要事例) “胜不骄,败不馁”这句话我常听外婆说起。 这句名言的意思是说胜利了抄不骄傲,失败了不气馁。我真正体会到它

    小学作文
  • 爱心责任心的作文题库

    1.有关爱心,坚持,责任的作文题库各三个 一则150字左右 (要事例) “胜不骄,败不馁”这句话我常听外婆说起。 这句名言的意思是说胜利了抄不骄傲,失败了不气馁。我真正体会到它

    小学作文
  • 爱心责任作文题库

    1.有关爱心,坚持,责任的作文题库各三个 一则150字左右 (要事例) “胜不骄,败不馁”这句话我常听外婆说起。 这句名言的意思是说胜利了抄不骄傲,失败了不气馁。我真正体会到它

    小学作文