Skip to content

Commit

Permalink
Use underload for swissfel JF16M, following resolution of nexusformat…
Browse files Browse the repository at this point in the history
  • Loading branch information
phyy-nx committed Apr 24, 2019
1 parent ae72741 commit 21f1ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xfel/swissfel/jf16m_cxigeom2nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def create_nexus_master_file(self):

if self.params.trusted_range is not None:
underload, overload = self.params.trusted_range
# Note, no NXmx definition exists for underload!
detector.create_dataset('underload_value', (1,), data=[underload], dtype='int32')
detector.create_dataset('saturation_value', (1,), data=[overload], dtype='int32')

alias = 'data'
Expand Down

0 comments on commit 21f1ec6

Please sign in to comment.