LivTel / ETC_calcs

Basic Webpage source of the Exposure Time calculator for LT, adapted for limiting magnitude
1 stars 1 forks source link

ETC Calcs

Basic Webpage source of the Exposure Time calculator (ETC) for the Liverpool Telescope, adapted for limiting magnitude.

Version 2 Calculator

Deployment to Telescope webserver

Modifications for the ETC should always be made and tested locally (not on telescope)

mv content.html content_old.html
mv etc.js etc_old.js
wget https://raw.githubusercontent.com/LivTel/ETC_calcs/master/etc.js
wget https://raw.githubusercontent.com/LivTel/ETC_calcs/master/content.html
wget https://raw.githubusercontent.com/LivTel/ETC_calcs/master/jquery.chained.js

Once the deployment is tested and confirmed remove the old files to tidy up (they'll still be in the github repository should we need to roll back for any reason)

Future refactoring

Refactoring should be done of the 'inline' javascript with the Spectroscopic and Imaging calculations, and moved to the etc.js file. The instrument characteristics (e.g. Pixelscale, Readnoise, Zeropoints) should be restructured in a JSON format.