Ticket #9044 (closed: fixed)
Investigate Live Data Issue reported by Max
Reported by: | Owen Arnold | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | critical | Milestone: | Release 3.2 |
Component: | Reflectometry | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Martyn Gigg |
Description (last modified by Owen Arnold) (diff)
The following is purely for StartLiveData kicked-off internally by the isis reflectometry gui. This is not a problem with StartLiveData in general:
The current run display has an odd behaviour. At first it seems to run ok, though it generates a load of additional unwanted workspaces. But if called again, it fails. Also, the naming of the output workspaces is inconsistent with a normal run, so stitching fails. Ideally we'd like to generate workspaces named 0_IvsLam, 0_IvsQ and 0_IvsQ_binned
Change History
comment:1 Changed 7 years ago by Owen Arnold
- Priority changed from major to critical
- type changed from enhancement to defect
- Component changed from Framework to Reflectometry
- Milestone changed from Backlog to Release 3.2
comment:2 Changed 7 years ago by Nick Draper
- Status changed from new to infoneeded
- Owner set to Owen Arnold
Can we get the script or live data command that is being used at the moment?
comment:3 Changed 7 years ago by Owen Arnold
- Status changed from infoneeded to new
- Description modified (diff)
comment:4 Changed 7 years ago by Nick Draper
- Owner changed from Owen Arnold to Nick Draper
- Status changed from new to infoneeded
comment:7 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
- Owner changed from Nick Draper to Roman Tolchenov
comment:8 Changed 7 years ago by Owen Arnold
- Owner changed from Roman Tolchenov to Owen Arnold
This ticket related ONLY to the Reflectometry GUI consuming the StartLiveData algorithm. This does not concern the StartLiveData algorithm itself. I am best placed to deal with this.
comment:9 Changed 7 years ago by Owen Arnold
This piece of work has been fixed by issuing the following to the instrument scientists to run on their instrument
run_number = 1001 theta_in = 0.1 script = """from isis_reflectometry.quick import quick\n AddSampleLog(Workspace=input, LogName='run_number', LogText='%s', LogType='String')\n wlam, wq, thetaout=quick(input, trans='', theta=%s)\n output=wq""" % (run_number, theta_in) StartLiveData(Instrument='INTER', ProcessingScript=script, AccumulationMethod='Replace', UpdateEvery=5, OutputWorkspace='IvsQ') plotSpectrum(mtd['IvsQ'], 0)
comment:10 Changed 7 years ago by Owen Arnold
- Status changed from assigned to verify
- Resolution set to fixed
Max Skoda is happy with this solution, and it would be incredibly difficult to get a solution that worked from the reflgui.
comment:11 Changed 7 years ago by Owen Arnold
No code changes.
comment:12 Changed 6 years ago by Martyn Gigg
- Status changed from verify to verifying
- Tester set to Martyn Gigg
comment:14 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 9887