On two occasions users experienced NaN reconstructions because
diffraction data contained negative values. Hours of debugging may
be prevented if users are warned of this hard to diagnose problem.
Purpose
Warn users about improper data that may cause bad reconstructions.
Approach
Check all incoming diffraction patterns for non-finite and negative values.
Pre-Merge Checklists
Submitter
[x] Write a helpfully descriptive pull request title.
[x] Organize changes into logically grouped commits with descriptive commit messages.
[x] Document all new functions.
[x] Click 'details' on the readthedocs check to view the updated docs.
[ ] Write tests for new functions or explain why they are not needed.
[ ] Address any complaints from pep8speaks.
Reviewer
[x] Actually read all of the code.
[ ] Run the new code yourself; the included tests should make this easy.
[ ] Write a summary of the changes as you understand them.
On two occasions users experienced NaN reconstructions because diffraction data contained negative values. Hours of debugging may be prevented if users are warned of this hard to diagnose problem.
Purpose
Warn users about improper data that may cause bad reconstructions.
Approach
Check all incoming diffraction patterns for non-finite and negative values.
Pre-Merge Checklists
Submitter
Reviewer