LivTel / ETC_calcs

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

Usability for objects with known magnitudes #9

Open cylammarco opened 4 years ago

cylammarco commented 4 years ago

The current implementation is set up for survey mode. It is not the most straight forward to use the calculator for objects with know magnitudes, a.k.a. follow-up mode.

blancmatter commented 4 years ago

I've just had a think. What Iain was asking for was;

Quick Implementation

This could be added below the instrument options, and would need to be an auto updating table which lists exposure time against the (in the case below) 5 seeing values. If the user selects the Plot mode to be SNR or Sky brightness, then the table would update to reflect these values.

image

Best Implementation

We should really refactor the Calculation code (same calculation for spectroscopy and imaging, but with different mode calls in the function) and store the Instrument ReadNoise, Zeropoints, Filter Options, etc in a JSON structure. We can have a single point of modification of parameters, then build a couple of different visualisations of the ETC (i.e. the Graph based 'Survey Mode', and a more table based Calculator) which are calling this singular piece of js.

In short re-structure rather than add on!