Coder Social home page Coder Social logo

psignifit's People

Contributors

felixwichmann avatar heikoschuett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

psignifit's Issues

Remove toolbox dependencies

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);

extra.zip

Patch to support old version of matlab

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

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.