desihub/fastspecfit

Add the `templates ` module into setup.py

Closed this issue · 1 comments

The templates file is not included in setup.py and could not be properly installed using pip or easy_install.

@WenkeRen, apologies for the incomplete documentation. The code base has not yet been uploaded to PyPi (see #83) and in any case the file containing the templates is large enough that they need to be downloaded "by hand". Please see the installation instructions here:
https://fastspecfit.readthedocs.io/en/latest/install.html#laptop-installation

Specifically, in order to download the latest version of the templates you would execute this command:
wget -O ftemplates-chabrier-1.1.0.fits https://data.desi.lbl.gov/public/external/templates/fastspecfit/1.1.0/ftemplates-chabrier-1.1.0.fits

And see here for documentation regarding the templates:
https://data.desi.lbl.gov/desi/public/external/templates/fastspecfit/README.txt

If you have any further questions please don't hesitate to reopen this ticket.