Skip to content

A Matlab toolbox for psychophysical and fMRI research

Notifications You must be signed in to change notification settings

woonjupark/UWToolbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

UW Toolbox

This is a work in progress, more functions / folders will be added as they have been tested and are functional.

Kelly is currently in charge of organizing this toolbox, so email her if you have questions!


tutorials

Collection HTML rendered tutorials for various implementations of toolbox scripts.

misc

optimization

plotting

stimulus (WIP)


misc

nansem.m - Calculates the standard error of the mean while ignoring NaNs.

rmspace.m - Removes all whitespace in a string or a cell array.

timeLeftBar.m - Creates and displays a real time based wait bar (instead of progress based).

translateTime.m - Implements the Workman Translating Time Model to translate time across species

xls2struct.m - Reads Microsoft Excel spreadsheet and returns a structure with fields that were the headers of the data or creates headers for the data

MiscDemo.m - raw misc folder tutorial script


optimization

fit.m - Helpful interface to MATLAB's 'fminsearch' function. Performs a non-linear minimization algorithm.

fitcon.m - Helpful interface to MATLAB's 'fmincon' function. Performs a non-linear minimization algorithm within specified constrained boundaries. If problem does not require constraints, use fit.m for efficiency.

Support Function / Dependencies:

FitDemo.m - raw fit/fitcon tutorial script


plotting

logx2raw.m - Converts X-axis labels from log to raw values.

logy2raw.m - Converts Y-axis labels from log to raw values.

widen.m - Speads x-axis limits. Designed to pull extreme data points off of the horizontal axes.

subp.m - Breaks the Figure window into an m-by-n matrix of small axes, selects the p-th axes for the current plot with spacing padding around the axes, and returns the axes handle. A variant of MATLAB's subplot.m but with tighter spacing.

tile.m - Tiles MATLAB figures in the monitor in rows starting at the top-left.

PlotDemo.m - raw plotting tutorial script


stimulus

OpenWindow.m - Calls the Psychtoolbox command Screen('OpenWindow') using a structure convention.

DrawFixation.m - Draws a fixation point (smaller square inside a larger square) in the center of the screen.

angle2pix.m - Converts visual angles in degrees to pixels.

pix2angle.m - Converts monitor pixels into degrees of visual angle.

sec2frame.m - Converts time in seconds to frames.

frame2sec.m - Converts number of frames to time in seconds.

waitTill.m - Waits for a specified amount of time from a starting time. Returns the keys and reaction time pressed during the waiting period.

wait4key.m - Waits for the any specified 'keys' to be pressed.


Contributors

Creator: Geoffrey Boynton - @gboynton - [email protected]

Ione Fine - @ionefine - [email protected]

Kelly Chang - @kellychang4 - [email protected]

About

A Matlab toolbox for psychophysical and fMRI research

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 59.0%
  • HTML 38.9%
  • M 2.1%