Chandra-MARX / marxs

Multi-Architecture-Raytrace-Xraymission-Simulator
http://marxs.readthedocs.io/en/latest/
GNU General Public License v3.0
6 stars 9 forks source link

Bug fix: Multiaperture sorted photons by aperture number #189

Closed hamogu closed 6 years ago

hamogu commented 6 years ago

To fix this, apertures now behave more like other optical elements and make use of the process_photons and specific_process_photons machinary. This also avoids a table splitting and merging which before caused a performance penalty for a large number of small apertures (e.g. one aperture per SPO in Arcus).