Diffraction
Diffraction copied to clipboard
Suggestion: use integer division when indexing to allow Python 3 compatibility while maintaining Python 2 compatibility
Suggestion: In the line_image I use integer division to allow compatibility with Python 3. This change is needed because, in Python 3, an integer divided by an integer produces a float. Compatibility with Python 2 is not affected.