Skip to content

Commit

Permalink
Better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dagewa committed Feb 27, 2025
1 parent a5f2b0d commit 031e18d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dxtbx/format/FormatNXmxEigerFilewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ def _get_nxmx(self, fh: h5py.File):
if nxdetector.underload_value is None:
nxdetector.underload_value = 0

# Some firmware versions had the detector dimensions swapped.
# Some firmware versions had the detector dimensions swapped. The correct way
# is the number of pixels along the slow axis first, then the fast axis. Here
# swap any that look like they are (fast, slow) instead.
swapped_dims = {
(4148, 4362),
(3108, 3262),
Expand Down

0 comments on commit 031e18d

Please sign in to comment.