Installing astropath¶
This document describes how to install the astropath repository.
Installing Dependencies¶
We have and will continue to keep the number of dependencies low. There are a few standard packages that must be installed and little more.
In general, we recommend that you use Anaconda or pip for the majority of these installations.
Detailed installation instructions are presented below:
Dependencies¶
astropath depends on the following list of Python packages.
We recommend that you use Anaconda to install and/or update these packages.
python versions 3.8 or later
numpy version 1.18 or later
astropy version 4.3 or later
scipy version 1.4 or later
pandas version 0.25 or later
photutils version 1.0.1 or later
healpy version 1.14 or later
astropy-healpix version 0.5 or later
ligo.skymap version 0.5 or later
If you are using Anaconda, you can check the presence of these packages with:
conda list "^python|numpy|astropy|scipy|pandas"
If the packages have been installed, this command should print out all the packages and their version numbers.
Installing astropath¶
Presently, you must download the code from github:
#go to the directory where you would like to install specdb.
git clone https://github.com/FRBs/astropath.git
From there, you can build and install with:
cd astropath
python setup.py install # or use develop
This should install the package and any related scripts. Make sure that your PATH includes the standard location for Python scripts (e.g. ~/anaconda/bin)