Skip to content

autism-research-centre/convert-visangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

convert-visangle

Converts Visual Angle to Pixel & Reverse

A pretty simple set of functions. Require the psychtoolbox.

Simply run:

visual_angle2pixel(visual_angle, screen_diagonal, distance, screen_no)

The function will take your screen number and use psychtoolbox to find the dimensions of that screen. It will then use the physical dimensions you provide (screen_diagonal and distance) to work out the stimulus size in pixels.

You can do the same in reverse, although that's not as useful :)

About

Converts Visual Angle to Pixel & Reverse

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages