Ticket #11695 (closed: invalid)

Opened 5 years ago

Last modified 5 years ago

Problem with ConvertToMD powder mode.

Reported by: Alex Buts Owned by: Andrei Savici
Priority: critical Milestone: Release 3.4
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Alex Buts

Description (last modified by Alex Buts) (diff)

Run script:

#################################################
# ConvertToMD bug #
#################################################
root=os.path.dirname(os.path.realpath(__file__))
config.appendDataSearchDir(root)
config['defaultsave.directory']=root
source_file = 'MAP05935_ei34.nxspe'
mat_ws = 'MAP05935'
target = 'MAP05935_QdE'
if not mat_ws in mtd:
    Load(Filename=source_file, OutputWorkspace=mat_ws)
   
if not target in mtd:
    SofQW(InputWorkspace=mat_ws, OutputWorkspace=target, QAxisBinning='0,0.02,5', EMode='Direct')
plotSlice(target)

targetMD= target+'_MD'
ConvertToMD(InputWorkspace=mat_ws, QDimensions='|Q|', OutputWorkspace=targetMD, OverwriteExisting=True, SplitInto='200,80',\
PreprocDetectorsWS='PreprocessedDetectorsWS',MinValues='0,-5',MaxValues='5,20')
plotSlice(targetMD)

With the data can be found at ftp://ftp.nd.rl.ac.uk/scratch/abuts/Ticket_11695/

When results produced by SofQW1 look correct (bar normalization), ConvertToMD produces huge gap in q-dE space. See the picture attached.

Attachments

CompareConvertToMD.png (110.5 KB) - added by Alex Buts 5 years ago.

Change History

Changed 5 years ago by Alex Buts

comment:1 Changed 5 years ago by Alex Buts

  • Description modified (diff)

comment:2 Changed 5 years ago by Andrei Savici

  • Status changed from new to verify
  • Resolution set to invalid

One must rebin the data in slice viewer. The problem occurs because the event workspace is not a regular grid, and when a large number of events is in a box, that box is subdivided. With the large split numbers in the script, it is likely that user just cannot see the small boxes.

comment:3 Changed 5 years ago by Alex Buts

  • Status changed from verify to verifying
  • Tester set to Alex Buts

comment:4 Changed 5 years ago by Alex Buts

  • Status changed from verifying to closed

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 12533

Note: See TracTickets for help on using tickets.