Docs @ Psychtoolbox Wiki : PsychOneliners

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [14099]

Last edited on 2011-07-05 09:13:45 by DocBot
Additions:
MergeCell - Concatenates contents of input cells element-wise.


Revision [13471]

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


Revision [12013]

Edited on 2010-10-30 13:01:26 by DocBot
Additions:
BackupCluts - Make internal backup of (given) Cluts, for later restoration via RestoreCluts.
GetKbChar - Simple, limited replacement for GetChar(), using KbCheck for character input.


Revision [11493]

Edited on 2010-09-09 16:08:25 by DocBot
Additions:
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/Contents.m?view=markup">WebSVN with changelog</a></span>
Deletions:
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/Contents.m?view=markup">WebSVN with changelog</a></span>


Revision [9899]

Edited on 2010-07-10 08:47:14 by DocBot
Additions:
GetWithDefault - Get string or number with prompt and default value.


Revision [9806]

Edited on 2010-01-11 08:44:30 by DocBot
Additions:
PsychGPUControl - Control low-level operating parameters of certain supported GPU's.


Revision [9748]

Edited on 2009-10-27 09:41:33 by DocBot
Additions:
==[[Psychtoolbox]]==
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/Contents.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/Contents.m?view=markup">WebSVN with changelog</a></span>
<code>Psychtoolbox/Contents.m</code>
Deletions:
==[[src]] › [[Matlab]] › [[toolbox]] › [[Psychtoolbox]]==
"http://svn.berlios.de/svnroot/repos/osxptb/beta/src/Matlab/toolbox/Psychtoolbox/Contents.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/src/Matlab/toolbox/Psychtoolbox/Contents.m?view=markup">WebSVN with changelog</a></span>
<code>src/Matlab/toolbox/Psychtoolbox/Contents.m</code>


Revision [9701]

Edited on 2009-10-27 09:35:35 by DocBot
Additions:
==[[src]] › [[Matlab]] › [[toolbox]] › [[Psychtoolbox]]==
SaveIdentityClut - Store current or given CLUT as identity LUT for use with LoadIdentityClut.
"http://svn.berlios.de/svnroot/repos/osxptb/beta/src/Matlab/toolbox/Psychtoolbox/Contents.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/src/Matlab/toolbox/Psychtoolbox/Contents.m?view=markup">WebSVN with changelog</a></span>
<code>src/Matlab/toolbox/Psychtoolbox/Contents.m</code>
Deletions:
==[[Psychtoolbox]]==
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/Contents.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/Contents.m?view=markup">WebSVN with changelog</a></span>
<code>Psychtoolbox/Contents.m</code>


Revision [9644]

Edited on 2009-08-18 05:22:13 by DocBot
Additions:
PsychDebugWindowConfiguration - Enable special debug window configuration to aid single display debugging.
Speek - Use speech synthesis output to speak a given text. Mac OS/X only.


Revision [9495]

Edited on 2009-02-21 09:57:41 by DocBot
Additions:
[[Circle]] - Returns a boolean mask in the shape of a [[Circle]].
CreateUniformDotsIn3DFrustum - [[Sample]] dots in 3D frustum uniformly.
[[Ellipse]] - Returns a boolean mask in the shape of a (super-) [[Ellipse]].
[[Explode]] - Splits a numeric or character array by a delimiter or delimiter-pattern.
[[hexstr]] - Hex string of lowest 32 bits of any number.
[[Interleave]] - Interleaves any number of arrays. Can handle different data types.
[[log10nw]] - Compute log base 10 without annoying warnings.
Magnify2DMatrix - [[Expand]] the size of a two-dimensional matrix via entry replication.
[[OSName]] - Convential English-language name of your operating system.
[[Replace]] - Perform exact [[Replace]] on strings or numeric arrays.
[[Resolute]] - Cuts from and adds to a matrix to make it the specified dimensions.
[[Stopwatch]] - Time intervals.
Deletions:
Circle - Returns a boolean mask in the shape of a Circle.
CreateUniformDotsIn3DFrustum - Sample dots in 3D frustum uniformly.
Ellipse - Returns a boolean mask in the shape of a (super-) Ellipse.
Explode - Splits a numeric or character array by a delimiter or delimiter-pattern.
hexstr - Hex string of lowest 32 bits of any number.
Interleave - Interleaves any number of arrays. Can handle different data types.
log10nw - Compute log base 10 without annoying warnings.
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
OSName - Convential English-language name of your operating system.
Replace - Perform exact Replace on strings or numeric arrays.
Resolute - Cuts from and adds to a matrix to make it the specified dimensions.
Stopwatch - Time intervals.


Revision [9487]

Edited on 2009-02-21 09:39:42 by DocBot
Additions:
AddStructs - Merges input structs into one struct.
AltSize - ALTSIZE is an extension of SIZE, it supports querying the size of multiple dimensions of a variable in one call.
CenterMatOnPoint - Returns indices to center a matrix on a point.
Circle - Returns a boolean mask in the shape of a Circle.
CleanStruct - Deletes all empty structs and fields from a struct array, optionally recursively.
CreateUniformDotsIn3DFrustum - Sample dots in 3D frustum uniformly.
CropBlackEdges - Detects if there are any black edges around an image and returns indices that can be used to cut away these edges.
DeEmptify - Deletes empty cells or rows from cellarray.
DotOffset - Calculate offsets for a 3D movement. Various per-dot options.
Ellipse - Returns a boolean mask in the shape of a (super-) Ellipse.
Explode - Splits a numeric or character array by a delimiter or delimiter-pattern.
FillEmptyFields - Fill all empty fields of a struct(array) or all empty elements of a cellarray with specified value.
FindInd - Returns indices in all dimensions to non-zero elements in matrix.
FindRepeatAlongDims - Find repeated rows or columns in a matrix.
Ind2Str - Converts numbers to characters (decimal to base 26 conversion). Useful for character indices.
Interleave - Interleaves any number of arrays. Can handle different data types.
IsACell - Tests (recursively--cells in cells) if a cell satisfies a user-supplied condition.
KbMapKey - Checks if any of specified keys is depressed in a vector returned by KbCheck, KbWait etc.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'.
MakeGrid - Makes raster of elements centered on screen / in image (leftover space is divided equally over the edges).
ProgressBar - Displays a progress bar in MATLAB's command window.
PsychNumel - Drop-in replacement for numel() on old Matlab versions that don't support it.
Replace - Perform exact Replace on strings or numeric arrays.
Resolute - Cuts from and adds to a matrix to make it the specified dimensions.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut().
Rot3d - Rotates a matrix in 3D space (around the x, y or z axis) in 90 degrees steps.
SaveMovieFrames - Displays a GUI in which a movie can be played and from which screenshots can be saved.
SmartVec - Creates a vector/sequence that satisfies certain conditions.
SortCell - Sorts cell matrices containing different data types in different columns.
StrPad - Makes a string a specified length, either by pre-padding it with a specified character or cutting from its beginning.
Struct2Vect - Returns (cell-) array with all values in a specified field of a structure array.
WinDesk - Sends command to windows shell to minimize all Windows, equal to Windows+M.
Deletions:
addstructs - Merges input structs into one struct.
centermatonpoint - Returns indices to center a matrix on a point.
circle - Returns a boolean mask in the shape of a circle.
cleanstruct - Deletes all empty structs and fields from a struct array, optionally recursively.
cropblackedges - Detects if there are any black edges around an image and returns indices that can be used to cut away these edges.
deemptify - Deletes empty cells or rows from cellarray.
dotoffset - Calculate offsets for a 3D movement. Various per-dot options.
ellipse - Returns a boolean mask in the shape of a (super-) ellipse.
explode - Splits a numeric or character array by a delimiter or delimiter-pattern.
fillemptyfields - Fill all empty fields of a struct(array) or all empty elements of a cellarray with specified value.
findind - Returns indices in all dimensions to non-zero elements in matrix.
ind2str - Converts numbers to characters (decimal to base 26 conversion). Useful for character indices.
interleave - Interleaves any number of arrays. Can handle different data types.
isacell - Tests (recursively--cells in cells) if a cell satisfies a user-supplied condition.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
makegrid - Makes raster of elements centered on screen / in image (leftover space is divided equally over the edges).
progressbar - Displays a progress bar in MATLAB's command window.
replace - Perform exact replace on strings or numeric arrays.
resolute - Cuts from and adds to a matrix to make it the specified dimensions.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut()
rot3d - Rotates a matrix in 3D space (around the x, y or z axis) in 90 degrees steps.
savemovieframes - Displays a GUI in which a movie can be played and from which screenshots can be saved.
smartvec - Creates a vector/sequence that satisfies certain conditions.
sortcell - Sorts cell matrices containing different data types in different columns.
strpad - Makes a string a specified length, either by pre-padding it with a specified character or cutting from its beginning.
struct2vect - Returns (cell-) array with all values in a specified field of a structure array.
windesk - Sends command to windows shell to minimize all Windows, equal to Windows+M.


Revision [9349]

Edited on 2009-01-13 17:22:25 by DocBot
Additions:
addstructs - Merges input structs into one struct.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
[[Ask]] - Display message, get user's response.
AssertGLSL - Require the OpenGL shading language is supported.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
centermatonpoint - Returns indices to center a matrix on a point.
circle - Returns a boolean mask in the shape of a circle.
cleanstruct - Deletes all empty structs and fields from a struct array, optionally recursively.
cropblackedges - Detects if there are any black edges around an image and returns indices that can be used to cut away these edges.
deemptify - Deletes empty cells or rows from cellarray.
DescribeComputer - Print a description of the environment.
dotoffset - Calculate offsets for a 3D movement. Various per-dot options.
ellipse - Returns a boolean mask in the shape of a (super-) ellipse.
EnforcePos - Truncate negative values of a vector to 0.
explode - Splits a numeric or character array by a delimiter or delimiter-pattern.
fillemptyfields - Fill all empty fields of a struct(array) or all empty elements of a cellarray with specified value.
findind - Returns indices in all dimensions to non-zero elements in matrix.
FunctionFolder - Get full path to folder containing passed function.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetMyCaller - Returns the name of the calling function.
GetNumber - Get a number typed at the keyboard.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
ind2str - Converts numbers to characters (decimal to base 26 conversion). Useful for character indices.
interleave - Interleaves any number of arrays. Can handle different data types.
isacell - Tests (recursively--cells in cells) if a cell satisfies a user-supplied condition.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
makegrid - Makes raster of elements centered on screen / in image (leftover space is divided equally over the edges).
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
progressbar - Displays a progress bar in MATLAB's command window.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
replace - Perform exact replace on strings or numeric arrays.
resolute - Cuts from and adds to a matrix to make it the specified dimensions.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut()
rot3d - Rotates a matrix in 3D space (around the x, y or z axis) in 90 degrees steps.
savemovieframes - Displays a GUI in which a movie can be played and from which screenshots can be saved.
[[sca]] - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
ShrinkMatrix - Shrinks a 2-D or 3-D matrix (an image) by a factor.
smartvec - Creates a vector/sequence that satisfies certain conditions.
sortcell - Sorts cell matrices containing different data types in different columns.
Stopwatch - Time intervals.
streq - strcmp.
strpad - Makes a string a specified length, either by pre-padding it with a specified character or cutting from its beginning.
struct2vect - Returns (cell-) array with all values in a specified field of a structure array.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
windesk - Sends command to windows shell to minimize all Windows, equal to Windows+M.
WrapString - Word wrap (break into lines).
Deletions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
[[Ask]] - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut()
[[sca]] - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
ShrinkMatrix - Shrinks a 2-D or 3-D matrix (an image) by a factor.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
NearestResolution - Returns the screen resolution most similar to your wish.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.


Revision [7318]

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


Revision [7231]

Edited on 2008-09-16 12:00:03 by DocBot
Additions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
[[Ask]] - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut()
[[sca]] - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
ShrinkMatrix - Shrinks a 2-D or 3-D matrix (an image) by a factor.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
The following is a list of old one-liners that might some day be updated
from PTB-2, but haven't been yet.
BlankingInterruptRate - Used by PsychBasic FrameRate.
ClutDefault - Returns standard clut for screen at any pixelSize.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
DescribeScreen - Print a description of the screen's video driver.
DescribeScreenPrefs - Print more about the screen's video driver.
GammaIdentity - Returns an identity gamma table appropriate to the screen's dacSize.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
IsDownArrow - Is char the down arrow?
IsLeftArrow - Is char the left arrow?
IsRightArrow - Is char the right arrow?
IsUpArrow - Is char the up arrow?
IsInOrder - Are the two strings in alphabetical order?
IsPopCharProInstalled - Is the Control Panel "PopChar Pro" installed?
MaxPriorityGetSecs - Figure out the maximum priority compatible with GetSecs. Slow.
NearestResolution - Returns the screen resolution most similar to your wish.
ScreenClutSize - How many entries in the graphic card Color Lookup Table?
ScreenUsesHighGammaBits - Does this card use the high 10 bits of the gamma values?
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.
ShowTiff - Show a TIFF file, calibrated.
Deletions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
Ask - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut()
sca - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
ShrinkMatrix - Shrinks a 2-D or 3-D matrix (an image) by a factor.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
The following is a list of old one-liners that might some day be updated
from PTB-2, but haven't been yet.
BlankingInterruptRate - Used by PsychBasic FrameRate.
ClutDefault - Returns standard clut for screen at any pixelSize.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
DescribeScreen - Print a description of the screen's video driver.
DescribeScreenPrefs - Print more about the screen's video driver.
GammaIdentity - Returns an identity gamma table appropriate to the screen's dacSize.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
IsDownArrow - Is char the down arrow?
IsLeftArrow - Is char the left arrow?
IsRightArrow - Is char the right arrow?
IsUpArrow - Is char the up arrow?
IsInOrder - Are the two strings in alphabetical order?
IsPopCharProInstalled - Is the Control Panel "PopChar Pro" installed?
MaxPriorityGetSecs - Figure out the maximum priority compatible with GetSecs. Slow.
NearestResolution - Returns the screen resolution most similar to your wish.
ScreenClutSize - How many entries in the graphic card Color Lookup Table?
ScreenUsesHighGammaBits - Does this card use the high 10 bits of the gamma values?
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.
ShowTiff - Show a TIFF file, calibrated.


Revision [7228]

Edited on 2008-09-16 11:55:58 by DocBot
Additions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
Ask - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut()
sca - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
ShrinkMatrix - Shrinks a 2-D or 3-D matrix (an image) by a factor.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
The following is a list of old one-liners that might some day be updated
from PTB-2, but haven't been yet.
BlankingInterruptRate - Used by PsychBasic FrameRate.
ClutDefault - Returns standard clut for screen at any pixelSize.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
DescribeScreen - Print a description of the screen's video driver.
DescribeScreenPrefs - Print more about the screen's video driver.
GammaIdentity - Returns an identity gamma table appropriate to the screen's dacSize.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
IsDownArrow - Is char the down arrow?
IsLeftArrow - Is char the left arrow?
IsRightArrow - Is char the right arrow?
IsUpArrow - Is char the up arrow?
IsInOrder - Are the two strings in alphabetical order?
IsPopCharProInstalled - Is the Control Panel "PopChar Pro" installed?
MaxPriorityGetSecs - Figure out the maximum priority compatible with GetSecs. Slow.
NearestResolution - Returns the screen resolution most similar to your wish.
ScreenClutSize - How many entries in the graphic card Color Lookup Table?
ScreenUsesHighGammaBits - Does this card use the high 10 bits of the gamma values?
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.
ShowTiff - Show a TIFF file, calibrated.
Deletions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
Ask - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut()
sca - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
The following is a list of old one-liners that might some day be updated
from PTB-2, but haven't been yet.
BlankingInterruptRate - Used by PsychBasic FrameRate.
ClutDefault - Returns standard clut for screen at any pixelSize.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
DescribeScreen - Print a description of the screen's video driver.
DescribeScreenPrefs - Print more about the screen's video driver.
GammaIdentity - Returns an identity gamma table appropriate to the screen's dacSize.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
IsDownArrow - Is char the down arrow?
IsLeftArrow - Is char the left arrow?
IsRightArrow - Is char the right arrow?
IsUpArrow - Is char the up arrow?
IsInOrder - Are the two strings in alphabetical order?
IsPopCharProInstalled - Is the Control Panel "PopChar Pro" installed?
MaxPriorityGetSecs - Figure out the maximum priority compatible with GetSecs. Slow.
NearestResolution - Returns the screen resolution most similar to your wish.
ScreenClutSize - How many entries in the graphic card Color Lookup Table?
ScreenUsesHighGammaBits - Does this card use the high 10 bits of the gamma values?
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.
ShowTiff - Show a TIFF file, calibrated.


Revision [5910]

Edited on 2008-06-22 01:43:19 by DocBot
Additions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
Ask - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
RestoreCluts - Restore original CLUT's for all monitors from backups made during LoadIdentityClut()
sca - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
The following is a list of old one-liners that might some day be updated
from PTB-2, but haven't been yet.
BlankingInterruptRate - Used by PsychBasic FrameRate.
ClutDefault - Returns standard clut for screen at any pixelSize.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
DescribeScreen - Print a description of the screen's video driver.
DescribeScreenPrefs - Print more about the screen's video driver.
GammaIdentity - Returns an identity gamma table appropriate to the screen's dacSize.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
IsDownArrow - Is char the down arrow?
IsLeftArrow - Is char the left arrow?
IsRightArrow - Is char the right arrow?
IsUpArrow - Is char the up arrow?
IsInOrder - Are the two strings in alphabetical order?
IsPopCharProInstalled - Is the Control Panel "PopChar Pro" installed?
MaxPriorityGetSecs - Figure out the maximum priority compatible with GetSecs. Slow.
NearestResolution - Returns the screen resolution most similar to your wish.
ScreenClutSize - How many entries in the graphic card Color Lookup Table?
ScreenUsesHighGammaBits - Does this card use the high 10 bits of the gamma values?
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.
ShowTiff - Show a TIFF file, calibrated.
Deletions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
Ask - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
sca - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
The following is a list of old one-liners that might some day be updated
from PTB-2, but haven't been yet.
BlankingInterruptRate - Used by PsychBasic FrameRate.
ClutDefault - Returns standard clut for screen at any pixelSize.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
DescribeScreen - Print a description of the screen's video driver.
DescribeScreenPrefs - Print more about the screen's video driver.
GammaIdentity - Returns an identity gamma table appropriate to the screen's dacSize.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
IsDownArrow - Is char the down arrow?
IsLeftArrow - Is char the left arrow?
IsRightArrow - Is char the right arrow?
IsUpArrow - Is char the up arrow?
IsInOrder - Are the two strings in alphabetical order?
IsPopCharProInstalled - Is the Control Panel "PopChar Pro" installed?
MaxPriorityGetSecs - Figure out the maximum priority compatible with GetSecs. Slow.
NearestResolution - Returns the screen resolution most similar to your wish.
ScreenClutSize - How many entries in the graphic card Color Lookup Table?
ScreenUsesHighGammaBits - Does this card use the high 10 bits of the gamma values?
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.
ShowTiff - Show a TIFF file, calibrated.


Revision [3023]

Edited on 2008-03-21 09:21:35 by DocBot
Additions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
Ask - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
sca - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
The following is a list of old one-liners that might some day be updated
from PTB-2, but haven't been yet.
BlankingInterruptRate - Used by PsychBasic FrameRate.
ClutDefault - Returns standard clut for screen at any pixelSize.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
DescribeScreen - Print a description of the screen's video driver.
DescribeScreenPrefs - Print more about the screen's video driver.
GammaIdentity - Returns an identity gamma table appropriate to the screen's dacSize.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
IsDownArrow - Is char the down arrow?
IsLeftArrow - Is char the left arrow?
IsRightArrow - Is char the right arrow?
IsUpArrow - Is char the up arrow?
IsInOrder - Are the two strings in alphabetical order?
IsPopCharProInstalled - Is the Control Panel "PopChar Pro" installed?
MaxPriorityGetSecs - Figure out the maximum priority compatible with GetSecs. Slow.
NearestResolution - Returns the screen resolution most similar to your wish.
ScreenClutSize - How many entries in the graphic card Color Lookup Table?
ScreenUsesHighGammaBits - Does this card use the high 10 bits of the gamma values?
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.
ShowTiff - Show a TIFF file, calibrated.
Deletions:
AppleVersion - Get Apple OS version information.
AreStructsEqualOnFields - Are two structures the same on the passed list of fields?
Ask - Display message, get user's response.
AssertMex - Detect missing mex file and exit with error.
AssertOpenGL - Require that Psychtoolbox be based on OpenGL.
AssertGLSL - Require the OpenGL shading language is supported.
AssertOSX - Require that Psychtoolbox be based on OS X.
BlackIndex.m - Returns number that will produce the color black.
CatStr - Concatenate array or cell array of strings.
DescribeComputer - Print a description of the environment.
EnforcePos - Truncate negative values of a vector to 0.
FunctionFolder - Get full path to folder containing passed function.
GetMyCaller - Returns the name of the calling function.
GetString - Get a string typed at the keyboard.
GetSubversionPath - Return path required to invoke snv.
GrayIndex - Any graylevel from black (0) to white (1).
GroupStructArrayByFields - An aid to sorting data kept in structure arrays.
hexstr - Hex string of lowest 32 bits of any number.
ImageToVec - Convert a grayscale image to vector format.
IsLinux - Shorthand for testing whether running under Linux.
IsMinimumOSXVersion - Query if this is a specific OS/X version or higher.
IsOctave - Shortand for testing whether running under Octave.
IsOS9 - Shorthand for streq(computer,'MAC2').
IsOSX - Shorthand for streq(computer,'MAC').
IsWin - Shorthand for streq(computer,'PCWIN').
LoadIdentityClut - Loads the identity CLUT on a specified monitor.
log10nw - Compute log base 10 without annoying warnings.
MacModelName - Mac model name, e.g. 'PowerBook G4 15"'
Magnify2DMatrix - Expand the size of a two-dimensional matrix via entry replication.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
MakeCosImage - Make a cosinusoidal image.
MakeSincImage - Make a sinc image.
MakeSineImage - Make a sinusoidal image.
MapIndexColorThroughClut - Convert an index color image and clut to a true color image.
NameBytes - Nicely format memory size for human readers.
NameFrequency - Nicely format clock rate for human readers.
NearestResolution - Find a screen resolution that most closely matches a requested resolution.
OSName - Convential English-language name of your operating system.
PackColorImage - Pack three color planes into one m by n by three matrix.
PsychtoolboxRoot - Robust way to get path to Psychtoolbox folder, even if renamed.
RemoveSVNPaths - Removes .svn folders from the path.
sca - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
ScreenDacBits - What is precision of the graphics boardDACs. Currently returns 8 always.
SetResolution - Change display resolution, refresh rate and color depths to requested values.
Stopwatch - Time intervals.
streq - strcmp.
TextBounds - Draw string, return enclosing rect.
TextCenteredBounds - Draw string, centered, return enclosing rect.
UnpackColorImage - Extract three color planes from an m by n by 3 color image.
VecToImage - Convert a grayscale image from vector to image format.
WhiteIndex - Returns number that will produce the color white.
WrapString - Word wrap (break into lines).
The following is a list of old one-liners that might some day be updated
from PTB-2, but haven't been yet.
BlankingInterruptRate - Used by PsychBasic FrameRate.
ClutDefault - Returns standard clut for screen at any pixelSize.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
DescribeScreen - Print a description of the screen's video driver.
DescribeScreenPrefs - Print more about the screen's video driver.
GammaIdentity - Returns an identity gamma table appropriate to the screen's dacSize.
GetEchoNumber - Get a number typed on-screen.
GetEchoString - Get a string typed on-screen.
GetNumber - Get a number typed at the keyboard.
IsDownArrow - Is char the down arrow?
IsLeftArrow - Is char the left arrow?
IsRightArrow - Is char the right arrow?
IsUpArrow - Is char the up arrow?
IsInOrder - Are the two strings in alphabetical order?
IsPopCharProInstalled - Is the Control Panel "PopChar Pro" installed?
MaxPriorityGetSecs - Figure out the maximum priority compatible with GetSecs. Slow.
NearestResolution - Returns the screen resolution most similar to your wish.
ScreenClutSize - How many entries in the graphic card Color Lookup Table?
ScreenUsesHighGammaBits - Does this card use the high 10 bits of the gamma values?
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
SetResolution - Sets the screen resolution: width, height, hz, and pixelSize.
ShowTiff - Show a TIFF file, calibrated.


Revision [2984]

Edited on 2008-03-21 09:18:36 by DocBot
Additions:
===[[PsychOneliners]]===
==[[Psychtoolbox]]==
Ask - Display message, get user's response.
MakeBeep - Compute a beep of specified frequency and duration, for [[Snd]].
sca - Shorthand for [[Screen]]('CloseAll'). Using this is a good way to make your code obscure.
Stopwatch - Time intervals.
streq - strcmp.
CmdWinToUpperLeft - Bring Command window forward, saving [[Screen]] window.
SCREENWinToFront - Bring [[Screen]] window back in front of Command window.
%%(php;Path)Psychtoolbox/Contents.m%%
Deletions:
===PsychOneliners===
help Psychtoolbox % For an overview, triple-click me & hit enter.

[[Ask]] - Display message, get user's response.
MakeBeep - Compute a beep of specified frequency and duration, for Snd.
[[sca]] - Shorthand for Screen('CloseAll'). Using this is a good way to make your code obscure.
[[Stopwatch]] - Time intervals.
[[streq]] - strcmp.


CmdWinToUpperLeft - Bring Command window forward, saving Screen window.
SCREENWinToFront - Bring Screen window back in front of Command window.
PtbReference


Revision [2624]

Edited on 2008-03-18 22:02:02 by ZweiWolf
Additions:
[[Ask]] - Display message, get user's response.
[[sca]] - Shorthand for Screen('CloseAll'). Using this is a good way to make your code obscure.
[[Stopwatch]] - Time intervals.
[[streq]] - strcmp.
Deletions:
Ask - Display message, get user's response.
sca - Shorthand for Screen('CloseAll'). Using this is a good way to make your code obscure.
Stopwatch - Time intervals.
streq - strcmp.


Revision [671]

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