Skip to content

Commit

Permalink
Removed comment that was outdated after a commit suggested in review
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-rooks committed Jan 23, 2024
1 parent 98f453c commit c204e53
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sasdata/data_util/manipulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,6 @@ def _avg(self, data2D, maj):
qy_data = data2D.qy_data[np.isfinite(data2D.data)]
mask_data = data2D.mask[np.isfinite(data2D.data)]

# Was getting negative bin widths if whole box was below Qx = 0 for maj == 'x' or Qy = 0 for maj == 'y'.
# Should this raise error or correct bin width?
# Bin width calculation returns negative values when either axis has no points above 0.
self.bin_width = abs(self.bin_width)

Expand Down

0 comments on commit c204e53

Please sign in to comment.