hz-b / rayx

RAYX is a simulation tool for beamlines at electron storage rings. It traces synchrotron radiation through a series of mirrors, gratings and more and provides the user with helpful insights, how a given beamline performs.
MIT License
21 stars 4 forks source link

Missing Optical Elements: Foil and Lense - important step towards a general ray tracer #225

Open treegardel opened 9 months ago

treegardel commented 9 months ago

Since we are currently working on the programmatic description of our internal model, we should definitely also integrate the description of transmitting objects such as foils or lenses.

These always consist of several surfaces that form a component (volume). Both reflection and transmission take place on the surfaces (the calculation for transmission is already carried out in RAYX). The algorithm now needs to integrate when the transmission should also be taken into account and how this transmitted beam is to be further processed. Usually, the (complex) refractive index of the material in which the beam passes is integrated into the ray parameters. The surface should also know on which side the material is located.

Atraxus commented 2 months ago

Blocked by #238