Docs @ Psychtoolbox Wiki : FrameRate

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [14163]

Last edited on 2011-07-27 11:54:53 by DocBot
Additions:
""<div class="subfct" id="Screen">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""
Deletions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of FrameRate.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view WebSVN <a href=
"http://svn.berlios.de/wsvn/osxptb/trunk/Psychtoolbox/PsychOneliners/FrameRate.m?op=log">changelog</a> of trunk branch</span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/FrameRate.m</code>
</div>
""


Revision [14101]

Edited on 2011-07-05 09:14:18 by DocBot
Additions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of FrameRate.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view WebSVN <a href=
"http://svn.berlios.de/wsvn/osxptb/trunk/Psychtoolbox/PsychOneliners/FrameRate.m?op=log">changelog</a> of trunk branch</span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/FrameRate.m</code>
</div>
""
Deletions:
""<div class="subfct" id="Screen">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""


Revision [14005]

Edited on 2011-07-05 05:20:20 by DocBot
Additions:
""<div class="subfct" id="Screen">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""
Deletions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of FrameRate.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view WebSVN <a href=
"http://svn.berlios.de/wsvn/osxptb/trunk/Psychtoolbox/PsychOneliners/FrameRate.m?op=log">changelog</a> of trunk branch</span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/FrameRate.m</code>
</div>
""


Revision [13478]

Edited on 2010-12-06 12:13:32 by DocBot
Additions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view WebSVN <a href=
"http://svn.berlios.de/wsvn/osxptb/trunk/Psychtoolbox/PsychOneliners/FrameRate.m?op=log">changelog</a> of trunk branch</span>
Deletions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view in <a href=
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m?view=markup">WebSVN with changelog</a></span>


Revision [11500]

Edited on 2010-09-09 16:08:36 by DocBot
Additions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of FrameRate.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view in <a href=
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/FrameRate.m</code>
</div>
""
Deletions:
""<div class="subfct" id="Screen">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""


Revision [9225]

Edited on 2008-11-05 06:33:52 by DocBot
Additions:
""<div class="subfct" id="Screen">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""
Deletions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of FrameRate.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/FrameRate.m</code>
</div>
""


Revision [7979]

Edited on 2008-09-25 18:28:21 by DocBot
Additions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of FrameRate.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/FrameRate.m</code>
</div>
""
Deletions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""


Revision [7623]

Edited on 2008-09-25 18:15:24 by DocBot
Additions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""
Deletions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of FrameRate.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/FrameRate.m</code>
</div>
""


Revision [7317]

Edited on 2008-09-25 17:58:12 by DocBot
Additions:
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path  </span> <span class="counter">Retrieve current version of FrameRate.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychOneliners/FrameRate.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychOneliners/FrameRate.m</code>
</div>
""
Deletions:
%%(php;Path)Psychtoolbox/PsychOneliners/FrameRate.m%%


Revision [7227]

Edited on 2008-09-16 11:55:54 by DocBot
Additions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
%%(php;Path)Psychtoolbox/PsychOneliners/FrameRate.m%%
Deletions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""


Revision [7111]

Edited on 2008-07-10 16:14:29 by DocBot
Additions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<""</div>""
Deletions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
%%(php;Path)Psychtoolbox/PsychOneliners/FrameRate.m%%


Revision [5914]

Edited on 2008-06-22 01:43:33 by DocBot
Additions:
===[[FrameRate]]===
==[[Psychtoolbox]] › [[PsychOneliners]]==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
%%(php;Path)Psychtoolbox/PsychOneliners/FrameRate.m%%
Deletions:
===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<


Revision [5052]

Edited on 2008-04-26 21:39:34 by DocBot
Additions:
===[[FrameRate Screen('FrameRate')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);%%
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, [[Screen]] will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use [[Screen]]('GetFlipInterval')
instead.
<<=====See also:=====
FrameRate GetFlipInterval<<
Deletions:
===[[FrameRate]]===
==[[Psychtoolbox]] › PsychOneliners==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
%%(php;Path)Psychtoolbox/PsychOneliners/FrameRate.m%%


Revision [2983]

Edited on 2008-03-21 09:18:35 by DocBot
Additions:
==[[Psychtoolbox]] › PsychOneliners==
hz=FrameRate([windowOrScreenNumber])
Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "[[Screen]] GetFlipInterval?"
%%(php;Path)Psychtoolbox/PsychOneliners/FrameRate.m%%
Deletions:
==ScreenFunctions==
Usage:
hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, Screen will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use Screen('GetFlipInterval')
instead.
ScreenFunctions


Revision [2563]

Edited on 2008-03-15 23:19:25 by DocBot
Additions:
===[[FrameRate]]===
==ScreenFunctions==
Usage:
hz=Screen('NominalFrameRate', windowPtrOrScreenNumber [, mode] [, reqFrameRate]);
Returns or sets the nominal video frame rate in Hz, as reported by your
computer's video driver. 'FrameRate' is an alias for 'NominalFrameRate'. By
default, this function returns the nominal framerate, as reported by your
operating system, rounded to the closest integral value. If you set the optional
'mode' flag to 1, then the framerate is returned without rounding to the closest
integer, but at floating point precision, on systems that support this (MacOS-X
and Linux). GNU/Linux only: If you set the 'mode' flag to 2 and specify
'reqFrameRate', then Psychtoolbox will try to change the current video refresh
rate of the display: If 'reqFrameRate' is above 10.0, Screen will try to switch
to a framerate as close as possible to 'reqFrameRate' Hz. If 'reqFrameRate' is a
positive or negative value smaller than 10.0, then the video setting will be
changed by 'reqFrameRate' system dependent units. The new settings that would
result are validated to make sure they are safe for your display. Invalid
settings are rejected, returning a value of -1. On systems other than Linux, 0
is always returned to signal failure. On successfull framerate change, the new
resulting nominal framerate is returned with double precision. NOTE:
'reqFrameRate' must be pretty close to the initial framerate, e.g. initial +/- 2
Hz. It is not possible to apply big changes, e.g., from 60 Hz to 75 Hz. This
function is meant for fine-tuning the video refresh interval for the purpose of
synchronizing different displays or the display and other stimulation- or
acquisition devices. You can compensate for small phase-shifts or deviations...
Due to manufacturing tolerances and other noise in your system, the real monitor
refresh interval can differ slightly from the nominal values returned by this
function. To query the real, measured framerate use Screen('GetFlipInterval')
instead.
ScreenFunctions
Deletions:
===PsychOneliners===
hz=FrameRate([windowOrScreenNumber])

Returns accurate frame rate of window or screen. Default is the main
screen. The windowOrScreenNumber and frame rate are cached so subsequent
calls after the first take no time at all.
See also "Screen GetFlipInterval?"
PsychOneliners


Revision [713]

The oldest known version of this page was created on 2008-03-15 10:30:04 by DocBot
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1024 seconds