wichmann-lab / psignifit Goto Github PK
View Code? Open in Web Editor NEWToolbox for Bayesian inference for psychometric functions
Toolbox for Bayesian inference for psychometric functions
The software requires expensive additional toolboxes (at least for R2012a) for the functions betapdf(), lgamma() and normpdf(). There are free versions of these functions that use the same GPL as this project. Including these would support additional users. One could either add these as direct replacements (though they may or not be as optimized as builtin functions) or put them in an 'extra' folder that is added to the path if and only if the proprietary functions are not found:
function addGplFcns
%adds path to 'extra' if functions not found betapdf(), lgamma() and normpdf()
% Matlab only supplies these with expensive toolboxes.
% The 'extra' folder holds GPL versions of these functions
if exist('betapdf','file') && exist('lgamma','file') && exist('normpdf','file'), return; end;
%at least one function missing
fprintf('x');
extPath = fullfile(fileparts(mfilename('fullpath')), 'extra'); % get the full path to this function, strip away 'ft_defaults'
if ~exist(extPath, 'dir'), warning('Unable to find folder %s', extPath); end;
addpath(extPath);
Current software fails on older versions of Matlab. This can be fixed by changing line 86 of plotPsych from if verLessThan('matlab', 'R2013a')
to read if verLessThan('matlab', '8.1')
, to match the expectation of verLessThan : VERSION must be a string in the form 'major[.minor[.revision]]'
.
>> version
ans = 7.14.0.739 (R2012a)
>> verLessThan('matlab', 'R2013a')
ans = 0
>> verLessThan('matlab', '8.1')
ans = 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.