A python tool for implementing the Autonomous Gaussian Decomposition algorithm.
Robert R. Lindner, Carlos Vera-Ciro, Claire E. Murray, Elijah Bernstein-Cooper
You will need the following packages to run GaussPy. We list the version of each package which we know to be compatible with GaussPy.
If you do not already have Python 2.7, you can install the Anaconda Scientific Python distribution, which comes pre-loaded with numpy, scipy, and h5py.
If you wish to use GaussPy's plotting capabilities you will need to install matplotlib:
If you wish to use optimization with Fortran code you will need
Download GaussPy using git $ git clone git://github.com/gausspy/gausspy.git
You will need several libraries which the GSL, h5py, and scipy libraries
depend on. Install these required packages with:
sudo apt-get install libblas-dev liblapack-dev gfortran libgsl0-dev libhdf5-serial-dev
sudo apt-get install hdf5-toolsInstall pip for easy installation of python packages:
sudo apt-get install python-pipThen install the required python packages:
sudo pip install scipy numpy h5py lmfitInstall the optional dependencies for plotting and optimization:
sudo pip install matplotlib
sudo apt-get install libgsl0-devInstallation on OSX can be done easily with homebrew. Install pip for easy installation of python packages:
sudo easy_install pipThen install the required python packages:
sudo pip install numpy scipy h5py lmfitInstall the optional dependencies for plotting and optimization:
sudo pip install matplotlib
sudo brew install gslTo install make sure that all dependences are already installed and properly linked to python --python has to be able to load them--. Then cd to the local directory containing GaussPy and install via
python setup.py installIf you don't have root access and/or wish a local installation of GaussPy then use
python setup.py install --userTo contribute to GaussPy, see Contributing to GaussPy