-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update of the MICADO detector file for quantum efficiency #153
Conversation
As from MICADO FDR plots
Update of the name of the file where the Quantum Efficiency of the detector is defined. From the H2RG to the H4RG.
Thanks @carmeloarci ! After some thoughts (the rest of this comment), I think we should merge this. I'd like to get @astronomyk opinion first though, because I recall Kieran having thought about the MICADO QC curve before. We now have three different references for the QE curves, and they are not consistent. They are plotted in the figure below. The I-long filter throughput is also plotten, and indeed half of the i-band flux seems to be blocked by the current QE curve.
Some points of concern, in decreasing importance:
Script to create the figure: from scopesim.effects.ter_curves import TERCurve, QuantumEfficiencyCurve
from matplotlib import pyplot as plt
fn2 = 'MICADO/QE_detector_H2RG.dat'
fn4 = 'MICADO/QE_detector_H4RG.dat'
qe2 = QuantumEfficiencyCurve(filename=fn2)
qe4 = QuantumEfficiencyCurve(filename=fn4)
fni = "MICADO/filters/TC_filter_I-long.dat"
teri = TERCurve(filename=fni)
QEat800nm = [0.79, 0.87, 0.91, 0.75, 0.76, 0.82]
QEat1230nm = [0.89, 0.88, 0.85, 0.74, 0.74, 0.82]
QEat2000nm = [0.91, 0.88, 0.98, 0.78, 0.81, 0.87]
waves = [0.8,] * 6 + [1.230,] * 6 + [2.0,] * 6
QEs = QEat800nm + QEat1230nm + QEat2000nm
fig, ax = plt.subplots(1, 1, figsize=(12,6))
qe2.plot(axes=ax)
qe4.plot(axes=ax)
ax.scatter(waves, QEs, color="k")
teri.plot(axes=ax)
ax.legend(["H2RG (Finger+ 2008)", "H4RG (ELT-TRE-MCD-56309-0004)", "Measurements (ELT-TRE-MCD-56300-0173)", "I-long"])
ax.set_title("Different QE Curves")
ax.set_xlim(0, 3)
fig.savefig("Different_QE_Curves.png") |
@carmeloarci I would also be interested in the reason why the H4RG doesn't go to zero QE in the blue end. Is this a new "feature" of the latest HAWAII chips? @hugobuddel, I'd say we leave the H2RG file for now, but without a reference in the yaml files, just so that we can still test things using the "old" QE. In a future release, when we're sure that everything is ok with the H4RG curve, we can remove the H2RG one. |
The regular tests work (did not test the notebooks), so if we are in agreement, then I'll merge this. We can update the curve later if necessary. |
I'll merge this, as this is clearly an improvement and it doesn't have to perfect. Others will be able to find this PR and the associated issue The test failures are unrelated to this. It is also indeed not necessary to have the curve go to zero. Thanks @carmeloarci , much appreciated /closes #152 |
The MICADO detector yaml now points to the H4RG description and not to the H2RG (previous). The quantum efficiency file is brand new and taken from MICADO FDR data.
/closes #152