REFLEX is a ray-tracing code that propagates X-rays through the surrounding medium, taking into account the most common physical phenomena, like photo-electric absorption, Compton and Rayleigh scatterings and fluorescence.

We provide the RefleX code itself for both Linux (x86-64) and Mac OSX (both x86-64 and ARM), its documentation, the RXTorus model of a torus with varying covering factor, as well as example RefleX parameter files and some hopefully useful scripts.

link: https://www.astro.unige.ch/reflex/