diff --git a/Code/Mantid/instrument/SANS2D_Definition.xml b/Code/Mantid/instrument/SANS2D_Definition.xml
index 5bc9c8f..e14870d 100644
a
|
b
|
|
3 | 3 | see http://www.mantidproject.org/IDF --> |
4 | 4 | <instrument xmlns="http://www.mantidproject.org/IDF/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mantidproject.org/IDF/1.0 Schema/IDFSchema.xsd" |
5 | 5 | name="SANS2D" valid-from ="1900-01-31 23:59:59" |
6 | | valid-to ="2100-01-31 23:59:59" |
7 | | last-modified="2012-03-04 00:00:00"> |
| 6 | valid-to ="2014-02-01 23:59:58" |
| 7 | last-modified="2014-02-07 08:34:00"> |
8 | 8 | |
9 | 9 | <defaults> |
10 | 10 | <length unit="meter"/> |
diff --git a/Code/Mantid/scripts/SANS/SANSUtility.py b/Code/Mantid/scripts/SANS/SANSUtility.py
index 4b8eb50..1a0869b 100644
a
|
b
|
def fromEvent2Histogram(ws_event, ws_monitor = None): |
453 | 453 | """ |
454 | 454 | if not ws_monitor: |
455 | 455 | ws_monitor = getMonitor4event(ws_event) |
456 | | |
457 | | aux_hist = RebinToWorkspace(ws_event, ws_monitor, False) |
| 456 | rebbining = "5.5,45.5,50.0, 50.0,1000.0, 500.0,1500.0, 750.0,99750.0, 255.0,100005.0" |
| 457 | aux_hist = Rebin(ws_event, rebbining, False)#RebinToWorkspace(ws_event, ws_monitor, False) |
458 | 458 | |
459 | 459 | name = '__monitor_tmp' |
460 | | ws_monitor.clone(OutputWorkspace=name) |
| 460 | Rebin(ws_monitor, rebbining,False,OutputWorkspace=name) |
| 461 | #ws_monitor.clone(OutputWorkspace=name) |
461 | 462 | ConjoinWorkspaces(name, aux_hist, CheckOverlapping=True) |
462 | | CopyInstrumentParameters(ws_event, OutputWorkspace=name) |
| 463 | CopyInstrumentParameters(ws_event, OutputWorkspace='__monitor_tmp') |
463 | 464 | |
464 | 465 | ws_hist = RenameWorkspace(name, OutputWorkspace=str(ws_event)) |
465 | 466 | |
diff --git a/Code/Mantid/scripts/SANS/isis_reduction_steps.py b/Code/Mantid/scripts/SANS/isis_reduction_steps.py
index 2b1536c..a19b617 100644
a
|
b
|
class SliceEvent(ReductionStep): |
1613 | 1613 | return |
1614 | 1614 | start, stop = reducer.getCurrSliceLimit() |
1615 | 1615 | |
1616 | | _monitor = getMonitor4event(ws_pointer) |
| 1616 | _monitor = LoadNexusMonitors(reducer.get_sample().loader._data_file) |
1617 | 1617 | |
1618 | 1618 | hist, others = slice2histogram(ws_pointer, start, stop, _monitor) |
1619 | 1619 | |