This a python binding to the C++ class Mantid::Geometry::OrientedLattice. The methods on this class follow naming conventions for parameters as defined in the International Tables for Crystallography. See also the note about orientation.
bases: mantid.geometry.UnitCell
Default constructor, with . The matrix is set to the identity matrix.
Returns the length of the direction of the unit cell in .
Returns the length of the direction of the unit cell. This is an alias for a().
Returns the length of the direction of the unit cell. This is an alias for b().
Returns the length of the direction of the unit cell. This is an alias for c().
Returns the angle for this unit cell in degrees.
Returns the reciprocal angle for this unit cell in degrees.
Returns the length of the reciprocal direction for this unit cell in reciprocal .
Returns the length of the direction of the unit cell in .
Returns the length of the direction of the unit cell. This is an alias for astar().
Returns the length of the direction of the unit cell. This is an alias for bstar().
Returns the length of the direction of the unit cell. This is an alias for cstar().
Returns the angle for this unit cell in degrees.
Returns the angle of the unit cell in radians. See also alphastar().
Returns the angle of the unit cell in radians. See also betastar().
Returns the angle of the unit cell in radians. See also gammastar().
Returns the angle for this unit cell in degrees.
Returns the length of the direction for this unit cell in reciprocal .
Returns the length of the direction of the unit cell in .
Returns the length of the direction for this unit cell in reciprocal .
Returns -spacing for a given H, K, L coordinate in .
Returns for a given H, K, L coordinate in .
Returns the error in the unit cell length.
Returns the error in the angle of the unit cell.
Returns the error in the unit cell length.
Returns the error in angle of the unit cell.
Returns the error in the unit cell length.
Returns the error in angle of the unit cell.
Returns the angle for this unit cell in degrees.
Returns the angle for this unit cell in degrees.
Returns the matrix for this unit cell. This will be in a right-handed coordinate system and using the Busing-Levy convention. This will return a numpy.ndarray with shape (3,3).
Returns the inverse of the matrix for this unit cell.This will return a numpy.ndarray with shape (3,3). See also getB().
Returns the metric tensor for the unit cell. This will return a numpy.ndarray with shape (3,3).
Returns the metric tensor for the reciprocal unit cell. This will return a numpy.ndarray with shape (3,3).
Returns the rotation matrix. This will return a numpy.ndarray with shape (3,3).
Returns the matrix for this oriented lattice. This will return a numpy.ndarray with shape (3,3).
Returns the vector along the beam direction when Goniometer s are at 0.
Returns the vector along the horizontal plane, perpendicular to the beam direction when Goniometer s are at 0.
value from vector
vector from vector
Returns the angle in reciprocal space between vectors given by () and () (in degrees or radians). The optional parameter Unit controls the units for the angles, and can have the value of Degrees or Radians. By default Unit = Degrees
Return the volume of the reciprocal unit cell (in )
Recalculate the unit cell parameters from a metric tensor. This method accepts a numpy.ndarray with shape (3,3).
Set the parameters of the unit cell. Angles can be set in eitherdegrees or radians using the Unit parameter (0 = degrees, 1 = radians)
Set the errors in the unit cell parameters.
Set the error in the length of the direction of the unit cell.
Set the error in the angle of the unit cell.
Set the error in the length of the direction of the unit cell.
Set the error in the angle of the unit cell using the Unit parameter.
Set the error in the length of the direction of the unit cell.
Set the error in the angle of the unit cell using the Unit parameter.
Set the rotation matrix. This method expects a numpy.ndarray with shape (3,3).
Set the matrix. This methiod will calculate first the lattice parameters, then the matrix, and then . This method expects a numpy.ndarray with shape (3,3).
Set the rotation matrix using two vectors to define a new coordinate system. This method with return the new matrix as a numpy.ndarray with shape (3,3).
Set the length of the direction of the unit cell.
Set the angle of the unit cell. The angle can be set either in degrees or radians using the Unit parameter.
Set the length of the direction of the unit cell.
Set the angle of the unit cell. The angle can be set either in degrees or radians using the Unit parameter.
Set the length of the direction of the unit cell.
Set the angle of the unit cell. The angle can be set either in degrees or radians using the Unit parameter.
Return the volume of the unit cell (in )