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

Fix design_tilted_torus #250

Closed hamogu closed 7 months ago

hamogu commented 7 months ago

The previous equations in this function implicitly assumed alpha=2 beta in some step of the calculation. This is now fixed. For beta = 2 alpha the numerical values are the same as before this PR (tested by hand).