Commit 13b4a115 authored by Gonzalez, Miguel's avatar Gonzalez, Miguel

Added handling of NeXus files in cosmos (not yet functional for Figaro)

parent a83e9d70
This diff is collapsed.
......@@ -122,6 +122,7 @@ function cosmos_get_default_settings
method2 : 'incoherent' , $
method3 : 'incoherent' , $
groupdiscard : 1 , $
usenexus : 0 , $
waterrun : '' , $
qmin : 0.010 , $
qmax : 0.015 , $
......@@ -339,10 +340,15 @@ pro cosmos_globals
c_results = {}
cosmos_version = '3.3.12'
cosmos_version = '3.3.13'
cosmos_help_message = [$
'',$
'COSMOS V. 3.3.13',$
'14 October 2019',$
'Added routines to be able to read and use NeXus files.',$
'',$
'',$
'COSMOS V. 3.3.12',$
'26 July 2019',$
'Thomas Saerbeck added spin assymmetry calculation and output (for polarized case).',$
......@@ -841,6 +847,7 @@ pro cosmos_globals
BEAM_NORMALIZE : 'To be documented.', $
ANGLE_METHOD : 'To be documented.', $
DET_CALIBRATION : 'To be documented.', $
POL_CORR : 'To be documented.'}
POL_CORR : 'To be documented.', $
USE_NEXUS : 'Uses files in NeXus format'}
end
......@@ -1450,6 +1450,10 @@ pro cosmos_calculation_tab, parent = parent
bb = widget_base(b, /row, ysize = 30, /base_align_center)
l = widget_label(bb, font = c_font_big, xsize=170, value = 'Discard Low Statistics Data ', uname='GROUP_DISCARD', /ALIGN_LEFT, /TRACKING_EVENTS)
w = cw_bgroup(bb, ["yes"], label_left='', /nonexclusive, uname = "GROUPDISCARD")
bb = widget_base(b, /row, ysize = 30, /base_align_center)
l = widget_label(bb, font = c_font_big, xsize=170, value = 'Use NeXus ', uname='USE_NEXUS', /ALIGN_LEFT, /TRACKING_EVENTS)
w = cw_bgroup(bb, ["yes"], label_left='', /nonexclusive, uname = "USENEXUS")
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment