Ticket #3578 (closed: fixed)
Add algorithm to calculate UB given bounds on the edge lengths of the unit cell, and a list of Q vectors.
Reported by: | Dennis Mikkelson | Owned by: | Dennis Mikkelson |
---|---|---|---|
Priority: | major | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | Indexing |
Cc: | Blocked By: | ||
Blocking: | Tester: | Janik Zikovsky |
Description
An algorithm wrapper is needed around the low-level static method, IndexingUtils::Find_UB() given min_d, max_d and Q vectors.
Change History
comment:8 Changed 9 years ago by Dennis Mikkelson
- Summary changed from Add algorithm to calculate UB given lattice parameters and bounds on the edge lengths of the unit cell. to Add algorithm to calculate UB given bounds on the edge lengths of the unit cell, and a list of Q vectors.
comment:10 Changed 9 years ago by Dennis Mikkelson
In [14248]:
comment:11 Changed 9 years ago by Dennis Mikkelson
In [14267]:
comment:12 Changed 9 years ago by Dennis Mikkelson
- Status changed from accepted to verify
- Resolution set to fixed
comment:13 Changed 9 years ago by Janik Zikovsky
- Status changed from verify to verifying
- Tester set to Janik Zikovsky
comment:14 Changed 9 years ago by Janik Zikovsky
Tested FindUBUsingMinMaxD, lattice looks good and is consistent.
# Basic parameters filename = "TOPAZ_3131_event.nxs" #Name of the workspaces to create ws = "TOPAZ_3131" # Load the original data LoadEventNexus(Filename=filename,OutputWorkspace=ws) # Convert to reciprocal space, in the sample frame ConvertToDiffractionMDWorkspace(InputWorkspace=ws,OutputWorkspace=ws+'_MD', OutputDimensions='Q (sample frame)',LorentzCorrection='1') # Find peaks FindPeaksMD(InputWorkspace=ws+'_MD',MaxPeaks='50',OutputWorkspace=ws+'_peaks_minMaxD') FindPeaksMD(InputWorkspace=ws+'_MD',MaxPeaks='50',OutputWorkspace=ws+'_peaks_lattice') FindPeaksMD(InputWorkspace=ws+'_MD',MaxPeaks='3',OutputWorkspace=ws+'_peaks_indexed') FindUBUsingMinMaxD(PeaksWorkspace=ws+'_peaks_minMaxD', MinD=4, MaxD=15) IndexPeaks(PeaksWorkspace=ws+'_peaks_minMaxD') FindUBUsingLatticeParameters(PeaksWorkspace=ws+'_peaks_lattice',a='10.3522',b='6.0768',c='4.7276', alpha='90',beta='90',gamma='90', NumInitial='20', Tolerance='0.12') IndexPeaks(PeaksWorkspace=ws+'_peaks_lattice') FindUBUsingIndexedPeaks(ws+'_peaks_indexed')
comment:16 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 4425
Note: See
TracTickets for help on using
tickets.