Ticket #6379 (closed: fixed)
Table view of HKL from PeaksWorkspace
Reported by: | Vickie Lynch | Owned by: | Vickie Lynch |
---|---|---|---|
Priority: | major | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Reuter |
Description
Set number of significant digits displayed for hkl in table view. I'm not sure if it should be 1 or 2 digits, which suggests it should be a configuration thing (as in Mantid.user.properties).
Change History
comment:2 Changed 8 years ago by Vickie Lynch
Refs #6379 set precision for hkl with PeakColumn.hklPrec
Changeset: c4aa32d8da8ee3a782d13aa432c9de7436424a91
comment:3 Changed 8 years ago by Vickie Lynch
Refs #6379 set precision for hkl with PeakColumn.hklPrec
Changeset: c072c1b93fdccb0e795ac3c22aa55f45695a003e
comment:4 Changed 8 years ago by Vickie Lynch
Refs #6379 only set precision once
Changeset: 7c0af90dc36bc17e103e50372bbfb900d5d67107
comment:5 Changed 8 years ago by Vickie Lynch
- Status changed from accepted to verify
- Resolution set to fixed
To test add this to properties file: PeakColumn.hklPrec=1
Then run this script and display peaks workspace:
# Basic parameters for Triphylite Crystal #Name of the workspaces to create ws = "TOPAZ_3131" filename = ws+"_event.nxs" LoadEventNexus(Filename=filename,OutputWorkspace=ws,FilterByTofMin='3000',FilterByTofMax='16000')
# Load optimized DetCal file #LoadIsawDetCal(InputWorkspace=ws,Filename="/SNS/TOPAZ/shared/Spectra/TOPAZ_8Sept11.DetCal")
# Spherical Absorption and Lorentz Corrections AnvredCorrection(InputWorkspace=ws,OutputWorkspace=ws,LinearScatteringCoef="0.451",LinearAbsorptionCoef="0.993",Radius="0.14")
# Convert to Q space ConvertToDiffractionMDWorkspace(InputWorkspace=ws,OutputWorkspace=ws+'_MD2',LorentzCorrection='0',
OutputDimensions='Q (lab frame)', SplitInto='2',SplitThreshold='150')
# Find peaks FindPeaksMD(InputWorkspace=ws+'_MD2',MaxPeaks='100',OutputWorkspace=ws+'_peaksLattice') # 3d integration to centroid peaks CentroidPeaksMD(InputWorkspace=ws+'_MD2',CoordinatesToUse='Q (lab frame)',
PeakRadius='0.12',PeaksWorkspace=ws+'_peaksLattice',OutputWorkspace=ws+'_peaksLattice')
# Find the UB matrix using the peaks and known lattice parameters FindUBUsingLatticeParameters(PeaksWorkspace=ws+'_peaksLattice',a='10.3522',b='6.0768',c='4.7276',
alpha='90',beta='90',gamma='90', NumInitial='20', Tolerance='0.12')
# And index to HKL IndexPeaks(PeaksWorkspace=ws+'_peaksLattice', Tolerance='0.12',RoundHKLs=False)
comment:6 Changed 8 years ago by Michael Reuter
- Status changed from verify to verifying
- Tester set to Michael Reuter