Bayesian Psychometric Curve Fitting Tool
Branch: master
Clone or download
Latest commit 89f2b4d Jan 21, 2019

README.rst

Bayesian Psychometric Curve Fitting tool

BayesFit Logo

pypi version travis-ci build status coverage

Authors:Michael Slugocki

Citation:

Slugocki, M., Sekuler, A.B. and Bennett, P., 2019. BayesFit: A tool for modeling psychophysical data using Bayesian inference. Journal of Open Research Software, 7(1), p.2. DOI: http://doi.org/10.5334/jors.202



API documentation: http://www.slugocm.ca/bayesfit/



Issues? Submit a question here: https://github.com/SlugocM/bayesfit/issues


NEWS:

An article on BayesFit has now been published in the Journal of Open Research Software! See: http://doi.org/10.5334/jors.202

Patch Notes

  • 19/11/2018 - fixed issue arising when user provides priors that are extremely off the mark
  • 15/11/2018 - setup.py file now requires modules to be installed

Release Notes

Release 2.3 (noteable mentions):

  • Now uses numerical integration to avoid convergence errors
  • Removed PyMC3 dependency
  • Mulitple new functions have been written for fitting, plotting, and extracting metrics
  • Full API documentation now available

BayesFit provides a simple and easy to use interface to fit and plot psychometric functions using Bayesian inference via numerical integration.

Important links

Basic Installation [Linux/ Windows/ macOS]

Packages required (versions specified in requirements.txt): Numpy Matplotlib Scipy

To install required packages if the versions are out of date, or not installed in your working environment, first download the requirements.txt file in this repository. Then navigate to the directory that contains the downloaded text file using the command-prompt. Then type:

pip install -r requirements.txt

RECOMMENDED: BayesFit and required packages may be installed from the Python Package Index using pip.

pip install bayesfit

Alternatively, if required packages are already installed on your system, BayesFit can be installed via:

git clone --recursive https://github.com/slugocm/bayesfit.git
cd bayesfit
python setup.py install

Upgrading BayesFit

Simply type:

pip install bayesfit -U