|
Metric tensor ( M ) | Reciprocal metric tensor ( M *) | Vector ( v *) |
a.*b a.*c | a* a*.*b* a*.*c* | h |
a.b b.c | a*.b* b*.c* | k |
a.c b.c | a*.c* b*.c* | l |
All symbols containing a "*" refer to reciprocal space. The matrix M * is the inverse of the matrix M. The vector v * is the row vector (h k l), i.e. v * transposed. Therefore,
The variance-covariance matrix COV (see e.g. ref. 1) is calculated from the inverse N of the normal-equation matrix N.
With R defined above, n = number of observations, k = number of parameters refined, n-k is the number of degrees of freedom and e the variance of an observation with unit weight, so , the error of fit, is the corresponding . If the weights are the reciprocals of real variances, the expectation value for the error of fit is unity and R should be distributed as . The diagonal terms of COV are the variances whose square roots are the standard deviations (esd's), . The ij th term of the correlation matrix COR is given by
The law of propagation of errors expresses the variance-covariance matrix COVB of derived quantities = function1( , ,...), = function2( , ...), etc in terms of COVA of , ,... Denoting the derivative of with respect to by and the matrix of derivatives as D, we obtain
COVB = D COVA D
The program proceeds by the following steps:
The esd's (i.e. 's) of the 2 values are used to compute the 's of
i.e.
where d is the interplanar spacing. According to the error propagation law,
The weight is 1/ .
With these weights the linear least squares problem is set up, the symmetry constraints are introduced and the tensor M * is determined together with COV and COR. These matrices are complete and include the elements which are determined by the crystal symmetry and which must not be refined. Thus the variances, covariances and correlations of invariant terms are zero. For a dependent term s = k x t we obtain
variance(s) = variance(t) ; (s) = k (t)
covariance(s,t) = k variance(t) ; correlation(s,t) = 1
The reciprocal lattice constants a*, b*, c*, cos *, cos * and cos * are determined together with their COV and COR matrices, using the error propagation law. The 's of these quantities are again the square roots of the diagonal terms of COR ; the of the angles in degrees are derived from those of their cosines.
The matrix of the reciprocal metric tensor M * is inverted to give M, again with the appropriate COV and COR matrices. This requires the evaluation of all 36 derivatives of the matrix elements with respect to the reciprocal matrix elements e.g.
etc.
The direct lattice constants are obtained as in step 3. If all reflections have been measured with the same wavelength, the COR matrix and therefore the 's may be corrected for the uncertainty of the wavelength, σ(lambda;), which is especially interesting in neutron diffraction.- This must not, of course, involve the least-squares weighting. Since the relative error in Q due to an error in the wavelength is
σ(Q)/Q = 2σ(λ)/λ
The variances of M * after refinement are increased by (Q) x tensor element. The covariances are derived so as to leave the correlation coefficients unchanged.
Two mutually exclusive schemes for taking account of systematic errors may be used in the refinement. Both involve refinement of an additional parameter .
This scheme is included when the mnemonic
is used in the
LATCON line. It has
been shown (2) that errors in the measured d-values (
d) caused by
absorption and spherical eccentricity of the specimen
are approximately proporional torq
d = k d = - 2 d
where d=1/sin . Thus Q is equal to the derivative of Q with respect to d times d.
Q = (4/ ) 2
is refined as an additional parameter. The computed Q and 2 values listed in the output are no longer the TRUE values but they include the correction term. This correction can be used if the position of the primary beam is well-known, i.e. if 2 has been determined from corresponding reflections at plus and minus 2 or with respect to an internal standard. Note that many high orders must be included in the refinement since the error approximation is valid for high scattering angles and corresponds to an extrapolation of d to zero. Furthermore, the relative error Q/Q in Q is proportional to which has non-negligable values at quite high angles. Limiting measurements to low orders leads to very high correlations between and the metric tensor elements so that the correction may be meaningless.
Sometimes the position of the primary beam may not be accurately known, as in the case when the diffractometer does not allow measurements at negative 2 values,. Here we must set
2 = 2 - 2
where 2
may be called the
true zero value of 2
. The
refinement of
results in a
non-linear least-squares procedure for this parameter
and several cycles may be necessary to achieve
convergence. Experience shows, however, that
convergence is quite fast. The maximum number of
cycles must be input after the mnemonic
but a shift of less than 0.002°
halts the refinement. An initial value of 2
zero may
also be given (and will be held constant unless
rz
refinement is invoked). Linearisation
of the expression for Q leads torz
and is refined as an additional parameter. The true Q and 2 values are listed in the output. Inclusion of many high-order reflections is desirable but the correlation of with the metric tensor is less severe than in scheme 1 since is proportional to , which decreases faster than and has large values at low orders.
LATCON should give exactly the same results as a non-linear least-squares procedure. The errors in the variances and covariances derived from the error propagation law, which is due to the series expansion involved, are very small for 's of a few percent or less.
LATCON can also use the angle data and the crystal system stored on the archive bdf. The option line skip enables reflections to be omitted. Options also exist for outputting the refined cell dimensions.