OrientedLattice

This a python binding to the C++ class Mantid::Geometry::OrientedLattice.

bases: mantid.geometry.UnitCell

class mantid.geometry.OrientedLattice((object)arg1)
__init__((object)arg1) → None

__init__( (object)arg1, (OrientedLattice)other) -> None

__init__( (object)arg1, (float)_a, (float)_b, (float)_c) -> None

__init__( (object)arg1, (float)_a, (float)_b, (float)_c, (float)_alpha, (float)_beta, (float)_gamma [, (int)Unit=0]) -> None

__init__( (object)arg1, (UnitCell)uc) -> None

a((UnitCell)self) → float
a1((UnitCell)self) → float
a2((UnitCell)self) → float
a3((UnitCell)self) → float
alpha((UnitCell)self) → float
alpha1((UnitCell)self) → float
alpha2((UnitCell)self) → float
alpha3((UnitCell)self) → float
alphastar((UnitCell)self) → float
astar((UnitCell)self) → float
b((UnitCell)self) → float
b1((UnitCell)self) → float
b2((UnitCell)self) → float
b3((UnitCell)self) → float
beta((UnitCell)self) → float
beta1((UnitCell)self) → float
beta2((UnitCell)self) → float
beta3((UnitCell)self) → float
betastar((UnitCell)self) → float
bstar((UnitCell)self) → float
c((UnitCell)self) → float
cstar((UnitCell)self) → float
d((UnitCell)self, (float)h, (float)k, (float)l) → float

d( (UnitCell)self, (V3D)hkl) -> float

dstar((UnitCell)self, (float)h, (float)k, (float)l) → float
errora((UnitCell)self) → float
erroralpha((UnitCell)self[, (int)Unit=0]) → float
errorb((UnitCell)self) → float
errorbeta((UnitCell)self[, (int)Unit=0]) → float
errorc((UnitCell)self) → float
errorgamma((UnitCell)self[, (int)Unit=0]) → float
gamma((UnitCell)self) → float
gammastar((UnitCell)self) → float
getB((UnitCell)self) → numpy.ndarray
getBinv((UnitCell)self) → numpy.ndarray
getG((UnitCell)self) → numpy.ndarray
getGstar((UnitCell)self) → numpy.ndarray
getU((OrientedLattice)self) → numpy.ndarray
getUB((OrientedLattice)self) → numpy.ndarray
getuVector((OrientedLattice)self) → V3D
getvVector((OrientedLattice)self) → V3D
hklFromQ((OrientedLattice)self, (object)vec) → V3D :

HKL value from Q vector

qFromHKL((OrientedLattice)self, (object)vec) → V3D :

Q vector from HKL vector

recAngle((UnitCell)self, (float)h1, (float)k1, (float)l1, (float)h2, (float)k2, (float)l2[, (int)Unit=0]) → float
recVolume((UnitCell)self) → float
recalculateFromGstar((UnitCell)self, (object)NewGstar) → None
set((UnitCell)self, (float)_a, (float)_b, (float)_c, (float)_alpha, (float)_beta, (float)_gamma[, (int)Unit=0]) → None
setError((UnitCell)self, (float)_aerr, (float)_berr, (float)_cerr, (float)_alphaerr, (float)_betaerr, (float)_gammaerr[, (int)Unit=0]) → None
setErrora((UnitCell)self, (float)_aerr) → None
setErroralpha((UnitCell)self, (float)_alphaerr[, (int)Unit=0]) → None
setErrorb((UnitCell)self, (float)_berr) → None
setErrorbeta((UnitCell)self, (float)_betaerr[, (int)Unit=0]) → None
setErrorc((UnitCell)self, (float)_cerr) → None
setErrorgamma((UnitCell)self, (float)_gammaerr[, (int)Unit=0]) → None
setU((OrientedLattice)self, (object)newU[, (bool)force=True]) → None
setUB((OrientedLattice)self, (object)newUB) → None
setUFromVectors((OrientedLattice)self, (object)u, (object)v) → None
seta((UnitCell)self, (float)_a) → None
setalpha((UnitCell)self, (float)_alpha[, (int)Unit=0]) → None
setb((UnitCell)self, (float)_b) → None
setbeta((UnitCell)self, (float)_beta[, (int)Unit=0]) → None
setc((UnitCell)self, (float)_c) → None
setgamma((UnitCell)self, (float)_gamma[, (int)Unit=0]) → None
volume((UnitCell)self) → float