mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
209 stars 122 forks source link

SANS: allow gui to load time sliced event data directly #7376

Closed Anders-Markvardsen closed 9 years ago

Anders-Markvardsen commented 11 years ago

This ticket is blocked by :

Add the right of the the Multi-period tick box a input text box for a user to specify time slicing.

If this input text box is filled, and a user has specified an event data set, time-slice the event data

Report from meeting with sans inst scientists.

Until told otherwise time slicing must only be applied to data specified in the Scattering-Sample input box (top left hand corner input file)

Suggest is on the 'Run Numbers' tab to have the interface

Have a tick box called 'Time slicing' to the right of 'Multi-period' tick box, which if clicked allows the following lines on the 'Run Numbers' tab

From (sec) to (sec) Events (muA)

Whole file: 0.0 246.0 46

Input time range: 3.0 12.0 1.32

If slice range selected so small that either over less than one frame of data or less than 0.01 muA of neutrons counted then pop up a warning window telling the user about this, and ignore this reduction, but otherwise continue as normal. The latter is important when processing a batch file.

When time slicing is used add to the end of the workspace name _t3.0_12.0, where in this example 3.0 is the from time and 12.0 is the to time

Richard offered his scripts being used to slice and rebin event data. And pointed the trick used (around line 47) to avoid losing precision on the values of the time since the start of the run.


Keywords: SANS

Anders-Markvardsen commented 9 years ago

This issue was originally trac ticket 6530

Anders-Markvardsen commented 9 years ago

http://trac.mantidproject.org/mantid/raw-attachment/ticket/6530/MASKSANS2D_125O_4m_12mm_Brooks.txt (uploaded by Gesner Passos on 2013-04-26T07:57:27)


http://trac.mantidproject.org/mantid/raw-attachment/ticket/6530/event_mode.csv (uploaded by Gesner Passos on 2013-04-26T07:57:42)


http://trac.mantidproject.org/mantid/raw-attachment/ticket/6530/Kinetic_plot.pdf (uploaded by Gesner Passos on 2013-04-26T08:07:10)


http://trac.mantidproject.org/mantid/raw-attachment/ticket/6530/SANS2d_event_to_hist_4.py (uploaded by Gesner Passos on 2013-12-04T15:45:16)


http://trac.mantidproject.org/mantid/raw-attachment/ticket/6530/DIRECT_16246_4m_Rear_17Dec12.dat (uploaded by Gesner Passos on 2013-12-05T16:13:06)


http://trac.mantidproject.org/mantid/raw-attachment/ticket/6530/DIRECT_6958_4m_rescaled_09Mar12.dat (uploaded by Gesner Passos on 2013-12-05T16:13:27)