Ticket #9646 (assigned)
Workspace produced by ConvertToYSpace creates problem for slice viewer
Reported by: | Alex Buts | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | minor | Milestone: | Backlog |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #11618 | Tester: |
Description
Run script below and try to view the resulting workspace in sliceviewer.
Mantid is throwing unexpected exception while creating Histo dimension.
tof_ws = CreateSimulationWorkspace(Instrument='MAR',BinParams=[-50,2,50],UnitX='TOF') SetInstrumentParameter(tof_ws,ParameterName='t0',ParameterType='Number',Value='0.5') SetInstrumentParameter(tof_ws,ParameterName='efixed',ParameterType='Number',Value='30.') ###### Convert data to format acceptable by ConvertToYSpace tof_ws = ConvertToPointData(tof_ws) ###### Convert to Y Space wsY=ConvertToYSpace(InputWorkspace='tof_ws',Mass='30')
Change History
comment:2 Changed 6 years ago by Nick Draper
- Owner set to Martyn Gigg
- Status changed from new to infoneeded
comment:5 Changed 6 years ago by Martyn Gigg
What are you trying to achieve here? It's quite an unusual use for this algorithm. The transform is solely used by the compton scattering area (Vesuvio) and doesn't make a lot of sense to use it on something like MARI.
comment:6 Changed 6 years ago by Alex Buts
I have produced a workspace and trying to explore it. The sliceviewer option is available so I just try to invoke it.
Compton is kind of inelastic, is not it? Mary may be very inefficient in doing this but a formal image can be available.
I think, the ticket illustrate common problem in visualizing a distribution workspace by slice-viewer. As such, it is rather sliceviewer then ConvertToYSpace ticket, as I can obtain distribution workspace by different means.
comment:11 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 10489
part of #9307 ticket