foxsi / foxsi-smex

Tools for scientists to investigate the capabilities of FOXSI
MIT License
2 stars 8 forks source link

Critical fix to Python calculation of response #36

Closed ayshih closed 8 years ago

ayshih commented 8 years ago

On the Python side, there's a critical bug with the multiplication of transmission and absorption coefficients where factor is squared before tacking on the next coefficient. In the current configuration, that simply means the Mylar correction is getting counted twice, but the situation would have exponentiated as more materials were added to the optical path.

@ehsteve Review and merge ASAP;

ehsteve commented 8 years ago

:+1: