guaix-ucm / megaradrp

MEGARA (Multi-Espectrógrafo en GTC de Alta Resolución para Astronomía) is a facility instrument designed for the 10.4m GTC telescope in La Palma (Spain).
https://guaix.fis.ucm.es/megara/
GNU General Public License v3.0
12 stars 6 forks source link

Master_sensitivity has wrong units #272

Closed acasmor closed 5 years ago

acasmor commented 5 years ago

If the parameter "degrade_resolution_method:" is set to "auto" the master_sensitivity.fits has wrong units.

sergiopasra commented 5 years ago

In auto mode, the code just computes the sigma and then generates the sensitivity with the same code as in fixed mode. This means that you should get the same result with fixed and auto if you use the same sigma

sergiopasra commented 5 years ago

Well, actually not true. compute_broadening normalizes its inputs, so it should get a copy