Skip to content

mbruno46/chiexp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChiExp

Test Octave Test Python Build Doc License: GPL v2

Python Matlab Octave

A package to compute the expectation value of the chi squared defined from arbitrary regularizations of the inverse covariance matrix.

If you use this library in your publications please consider citing:

  • [1] M. Bruno, R. Sommer, In preparation.

Authors

Copyright (C) 2017-20 Mattia Bruno, Rainer Sommer

Installation

A MATLAB version of the package can be found in the directory /lib/matlab; it can be imported in any script by typing

>> addpath '/path/to/chiexp/directory/lib/matlab'
>> help chiexp

We also provide a Python module contained in the directory lib/python, that can be easily imported with

>>> import sys
>>> sys.path.append('/path/to/chiexp/directory/lib/python')
>>> from chiexp import chisquare
>>> help(chisquare)

To build the documentation locally download the git repository and run make html or make latexpdf from the doc folder. It requires the sphinx-build command so make sure that sphinx is properly installed (pip install sphinx).