Setup
Table of contents
Dependencies
Astrocook is written in Python 3 and requires the following packages:
- Astropy 4.0
- SciPy 1.3.1
- Specutils 0.6
- NumPy 1.17.3
- Lmfit 1.0.0
- Cycler 0.10.0
- StatsModels 0.10.1
- matplotlib 3.1.1
- Sphinx 2.2.0
- wxPython 4.0.4
- tqdm 4.36.1
You are suggested to manage the dependencies using Conda. The quickest way to do it is to get the Miniconda installer (instructions here) and to open an environment dedicated to Astrocook:
$ conda create -n astrocook python=3.7
$ source activate astrocook
This is an example of how you can install the required packages from the Conda repository:
$ conda install -c anaconda package-name=package-version
If this doesn’t work, look for the package in the Anaconda Cloud.
Install the package
- Clone the GitHub repository on your local machine:
$ cd /your/path/ $ git clone https://github.com/DAS-OATs/astrocook
- Fetch the last commit of the
develop
branch$ cd /your/path/astrocook/ $ git fetch origin develop $ git checkout develop
❗️ The current documentation applies to v1.0.0, which has not been released yet. You are suggested to work on the develop
branch until it gets merged on the master
branch.