Stuermer / EchelleSimulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement 'photon' mode

Stuermer opened this issue · comments

'Photon' mode should be implemented:
Instead of warping a slit illumination, a 'single photon' mode should also be implemented.
It is basically a raytracing mode, using the transformation matrix to determine where a photon ends up on the CCD.
The slit illumination provides the probability distribution where the photon starts. The spectrum provides the probability distribution which wavelength the photon has. Not sure how to implement PSF. Can probably be used as probability distribution of how the photon is redistributed after tracing on the CCD.

Done