Installing ESOAsg

This section 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:

The following packages are required to work on Ligo gravitational wave events, see for instance this notebook:

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, given that the packages is still work in progress and you may want to updated on-the-fly, 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. Run the default tests

In the directory where ESOAsg is installed run:

pytest

You should see that all the current test passed.

2. Ensure that the scripts work

Go to a directory outside of the ESOAsg directory, then type mod_header:

cd
mod_header -h