HANDY - Install
Table of Contents
- Conda - recommended but not necessary
- Clone the repository or download it as the .zip file:
- Clone by:
git clone https://github.com/RozanskiT/HANDY.git
- Download zip from: HANDY-master.zip
- Clone by:
- Download and untar folders with grids in your project catalog, eg.
- Can be downloaded from : Grids
You need Python3 with all needed packages.
The easiest way to work with HANDY is with Conda enviroment manager:
Run in HANDY catalog, eg.
conda env create -f environment.yml
Activate the HANDY-env enviroment:
source activate HANDY-env
Verify if enviroment is installed correctly:
Now you have to clone submodule VidmaPy by calling (from HANDY catalogue):
git submodule update --init
It should clone the vidmapy in to HANDY/vidmapy. The next step is the installation of VidmaPy that enable HANDY to use ATLAS/SYNTHE. To install the vidmapy in HANDY-env environment (you want that), you need to follow the description from VidmaPy README.
- download atomic data and place in directory (three distinct directories: ODF, molecules, and lines):
- run from HANDY/vidmapy directory:
pip install .
After that you may want to make symbolic link in your ~/bin/ directory to HANDY.sh file to be able to easly run the program in whole system. Eg. on my system:
ln -s ~/repos/HANDY/HANDY.sh ~/bin/HANDY
Then you should be able to simply run the program by executing:
in your terminal.
If you used git to install HANDY you can easy update HANDY just by pulling changes from remote:
Otherwise you need to re-install HANDY from newly downloaded .zip file.