Skip to content
A Matlab toolbox for psychophysical and fMRI research
MATLAB HTML M
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
UWToolbox
tests
tutorials
.gitattributes
.gitignore
.travis.yml
README.md

README.md

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 - gboynton@uw.edu

Ione Fine - @ionefine - ionefine@uw.edu

Kelly Chang - @kellychang4 - kchang4@uw.edu

You can’t perform that action at this time.