Table of Contents
Show conventional cells corresponding to the UB stored with the sample for this peaks works space.
Name | Direction | Type | Default | Description |
---|---|---|---|---|
PeaksWorkspace | InOut | PeaksWorkspace | Mandatory | Input Peaks Workspace |
MaxScalarError | Input | number | 0.2 | Max Scalar Error (0.2) |
BestOnly | Input | boolean | True | Show at most one for each Bravais Lattice |
NumberOfCells | Output | number | Gets set with the number of possible cells. | |
AllowPermutations | Input | boolean | True | Allow permutations of conventional cells |
Given a PeaksWorkspace with a UB matrix corresponding to a Niggli reduced cell, this algorithm will display a list of possible conventional cells. The max scalar error property sets a limit on the maximum allowed error in the cell scalars, to restrict the list to possible cells that are a good match for the current reduced cell. The list can also be forced to contain only the best fitting conventional cell for each Bravais lattice type, by setting the best only property to true.
This algorithm is based on the paper: “Lattice Symmetry and Identification – The Fundamental Role of Reduced Cells in Materials Characterization”, Alan D. Mighell, Vol. 106, Number 6, Nov-Dec 2001, Journal of Research of the National Institute of Standards and Technology, available from: nvlpubs.nist.gov/nistpubs/jres/106/6/j66mig.pdf.
Example:
ws=LoadIsawPeaks("TOPAZ_3007.peaks")
FindUBUsingFFT(ws,MinD=8.0,MaxD=13.0)
ShowPossibleCells(PeaksWorkspace=ws)
alg = ws.getHistory().lastAlgorithm()
print "Num Cells : ", alg.getPropertyValue("NumberOfCells")
Output:
Num Cells : 2
Categories: Algorithms | Crystal