Implement multi-wavelength photon descriptions in Detector.photon
Add a new data structure container scene
to store multi-wavelength photon description.
This first implementation will directly use the scopesim.Source
object (see https://scopesim.readthedocs.io/en/latest/reference/scopesim.source.source.html).
Example:
>>> from pyxel.detectors import CCD
>>> detector = CCD(...)
>>> detector.photon
Photon<...>
>>> detector.scence
Scene<...>
>>> from scopesim import Source
>>> detector.scene.data = Source(...)
>>> detector.scene.data
Source(...)
Edited by Frederic Lemmel