Closed wtbarnes closed 1 year ago
Regarding the detector efficiency, it seems that the curve that is in the genx file can be reproduced by the absorption of Si with a width of 33 microns,
The code to reproduce this image is,
si_thinfilm = ThinFilmFilter('Si', thickness=33*u.micron)
si_trans = si_thinfilm.transmissivity(const.h * const.c / chan.wavelength)
si_absor = 1-si_trans
plt.plot(chan.wavelength,si_absor, label=Channel('filtergram_1',si_thinfilm).filter_label)
plt.plot(struc['WAVE'], struc['DET'], label='from genx')
plt.legend()
This is one of the few pieces that we are still pulling from the genx file. It would be good to figure out how to compute it from "first principles."