desihub / fastspecfit

Fast spectral synthesis and emission-line fitting of DESI spectra.
https://fastspecfit.readthedocs.org
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Add the `templates ` module into setup.py #144

Closed WenkeRen closed 10 months ago

WenkeRen commented 1 year ago

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

moustakas commented 10 months ago

@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.