Installation¶
Download Options¶
Download the latest version from http://galpak3d.univ-lyon1.fr/downloads.html.
Clone the repository using git (up coming)
Download from the Astro Common Library (up coming)
If you want to contribute, write to Nicolas Bouché.
Setup¶
Since v1.30, simply do
pip install galpak
If you download the latest from http://galpak3d.univ-lyon1.fr/downloads.html,
unpack and run
pip install .
Add the galpak parent directory to your PYTHONPATH. (Not recommanded)
Dependencies¶
The galpak
package has been has been tested with Python 3.6
3.7
3.8
3.9
3.10
The following are mandatory python modules that galpak
depends upon :
numpy>=1.14
scipy
astropy>=2.0
matplotlib>=2.0
pyfits
and asciitable
are now obsolete since v1.8.7
The following are optional python modules that improves galpak
performances :
pyfftw
: https://pypi.python.org/pypi/pyFFTW
bottleneck
: https://pypi.python.org/pypi/Bottleneck/
The following are optional python modules that improves galpak
functionalities :
corner
: https://pypi.python.org/pypi/corner
emcee
: https://pypi.org/project/emcee/ (>3.0 in python>3.5)
pymultinest
: http://johannesbuchner.github.io/PyMultiNest/
Development environment¶
This module also depends on unittest
and nose
for unit-testing.
The benchmark
module is used in benchmarking.
The sphinx
module is used to generate this documentation.