Installing ESOAsg¶
This document describes how to install ESOAsg.
Installing Dependencies¶
There are a few packages that need to be installed before running the package.
We highly recommend that you use Anaconda for the majority of these installations.
Detailed installation instructions are presented below:
python and dependencies¶
ESOAsg runs with python 3.7 and with the following dependencies:
python – version 3.7 or later
astropy – version 4.0 or later
astroquery – version 0.4 or later
IPython – version 7.13 or later
matplotlib – version 3.2 or later
numpy – version 1.18.0 or later
packaging – version 20.0 or later
pytest version 5.0 or later
pyvo – version 1.0 or later
requests – version 2.23 or later
The following packages are required to work on Ligo gravitational wave events, see for instance this notebook:
healpy – version 1.13 or later
ligo.skymap – version 0.3 or later
If you are using Anaconda, you can check the presence of these packages with:
conda list "^python$|astropy$|astroquery$|IPython|matplotlib|numpy|packaging|pytest|pyvo|requests|healpy|ligo.skymap"
If the packages have been installed, this command should print out all the packages and their version numbers.
If any of the packages are out of date, they can be updated with a command like:
conda update astropy
You might have troubles in installing pyvo. In case, you can get it from GitHub running in the directory where you want to install it:
git clone https://github.com/astropy/pyvo.git
cd pyvo
python setup.py install
git clone¶
To install the package via GitHub run:
git clone https://github.com/EmAstro/ESOAsg.git
And we then recommend to install it with the develop option:
cd ESOAsg
python setup.py develop
Testing the Installation¶
In order to assess whether ESOAsg has been properly installed, we suggest you run the following tests:
1. Ensure that the scripts work¶
Go to a directory outside of the ESOAsg directory, then type mod_header:
cd
mod_header -h