Chandra-MARX / marx

Chandra X-ray Observatory ray-trace simulator
http://space.mit.edu/cxc/marx/
5 stars 4 forks source link

What happens if SpectrumFile constains no flux? #1

Closed hamogu closed 9 years ago

hamogu commented 9 years ago

A user reported over the email address that he run marx with a file that contained only 0 in the flux column and still got photons in the output. I wonder how that happens. Maybe MARX should exit with an error in this case.

hamogu commented 9 years ago

MARX reports the total flux and issues a statement if the flux is 0. I wonder if the user just overlooked that.

hamogu commented 9 years ago

If the input spectrum contains 0 flux, but I set SourceFlux=0.001 then MARX does something and runs, where it should not.