Giter Site home page Giter Site logo

uwtoolbox's Introduction

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]

uwtoolbox's People

Contributors

kellychang4 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.