forked from svalenti/FLOYDS_pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
67 lines (48 loc) · 2 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
###########################################################################
#
# Floyds Pipeline
#
# INSTALLATION
###########################################################################
FURTHER INFORMATION
Go to this document for more instructions on how to run the pipeline:
https://www.authorea.com/users/598/articles/6566/_show_article
And this website gives an overview of the pipeline steps:
https://lco.global/documentation/floyds-pipeline/
##########################################################################
FLOYDS is written in python and requires the following packages:
- Python 2.5 or Python 2.6 or Python 2.7
these modules have to be installed:
- numpy
- pyraf
- matplotlib
- astropy
- Iraf
- xhtml2pdf
(pip install --allow-external pyPdf --allow-unverified pyPdf \
xhtml2pdf was needed to make it install with recent pip versions; your
mileage may vary)
############################################################################
We recommend a installation in something like anaconda python, in a
'clean' conda environment. Note that several commands in the sample
below are for the bash environment. If you have all of the
dependencies mentioned above, you can begin from the 'git clone'
command below.
> conda create -n floyds python=2 numpy astropy ipython matplotlib
> source activate floyds
> conda install -c pkgw pyraf iraf
> mkiraf
> export IRAFARCH=linux64
> export iraf=/home/dsand/.conda/envs/floyds/lib/iraf/
> git clone https://github.com/svalenti/FLOYDS_pipeline.git
> cd FLOYDS_pipeline
> python setup.py install
The FLOYDS pipeline should now be setup. Anytime you want to run it,
you must activate the floyds conda environment, and run the two export
lines above (if you are using bash).
> source activate floyds
> export IRAFARCH=linux64
> export iraf=/home/dsand/.conda/envs/floyds/lib/iraf/
If you want to update your version,
> git pull origin master
> python setup.py install