vpclab / QuickCSF

A fast, adaptive approach to estimating contrast sensitivity function parameters
GNU General Public License v3.0
12 stars 5 forks source link
contrast-sensitivity psychometrics vision

QuickCSF

A fast, adaptive approach to estimating contrast sensitivity function parameters.

This implmentation is based on:

Lesmes, L. A., Lu, Z. L., Baek, J., & Albright, T. D. (2010). Bayesian adaptive estimation of the contrast sensitivity function: The quick CSF method. Journal of vision, 10(3), 17-17.

Special thanks to Dr. Tianshi Lu at Wichita State University for providing a Matlab implemenation of the fundamental algorithm and Dr. Rui Ni at Wichita State University for the motivation.

Dependencies

$ pip3 install -e .

Requires:

Optional (for simulation visuals):

Usage

Measuring CSF

Run:

$ python -m QuickCSF.app

A settings dialog will appear; session ID and viewing distance are required. Arguments can also be specified on the command line. Use the --help flag to see all options:

$ python -m QuickCSF.app --help

Simulate and visualize an evaluation

Run:

$ python -m QuickCSF.simulate

A settings dialog will appear; the number of trials is required. Arguments can also be specified on the command line. use the --help flag to see all options:

$ python -m QuickCSF.simulate --help