
research papers Acta Crystallographica Section A Foundations of Coordinate transformations in modern Crystallography crystallographic computing ISSN 0108-7673 Malgorzata Rowicka, Andrzej Kudlicki, Jan Zelinka and Zbyszek Otwinowski* Received 7 January 2004 Accepted 13 July 2004 Department of Biochemistry, UT Southwestern Medical Center at Dallas, 5323 Harry Hines Boulevard, Dallas, TX 75390-9038, USA. Correspondence e-mail: [email protected] A review of 4 4-matrix notation and of tensor formalism focused on  # 2004 International Union of Crystallography crystallographic applications is presented. A discussion of examples shows how Printed in Great Britain ± all rights reserved this notation simpli®es tasks encountered in crystallographic computing. 1. Introduction presenting a consistent representation for the basic variable types encountered in crystallography ( 2 and 3). Later, we This paper presents a summary of tensor formalism, which is xx very important in crystallography, and especially in crystal- discuss more complex applications and demonstrate how this lographic computations. Most of the material described here is notation works. This will include examples of de®ning view- well known but was published in very old books and papers ports for graphics display and transforming the anisotropic (Einstein, 1916; Seitz, 1936; Bienenstock & Ewald, 1962; temperature factor. These rules apply to both real and Bradley & Cracknell, 1972; Hall, 1981 etc.). We feel that it is reciprocal space, including calculation of derivatives. high time to recall this formalism in a review focused on its application to crystallographic computing and adaptation to 2. Crystallographic 4-vector notation high-level programming languages. Crystallography deals with objects de®ned in various In this section, we present the 4-vector notation, which proves coordinate systems, e.g. the fractional coordinate system (used very useful for changing coordinate systems in crystallography. for data or symmetry operators), the grid coordinate system For the purposes of this section, it is enough to distinguish (in which computations are done), the Protein Data Bank between vectors and covectors. A more detailed discussion of covariant and contravariant quantities will be presented in 3. (PDB) coordinate system, or the graphics coordinate system x (used to display data on a computer screen). Moreover, these objects may have different transformation properties. 2.1. Real-space 4-vector notation Distinguishing mathematical objects with respect to their The real-space 4-vector notation is well known in crystal- transformation properties is very important when writing lography (Hahn, 1995; Hall, 1981) as well as in general crystallographic software. In particular, keeping track of computing (Bradley & Cracknell, 1972; Seitz, 1936). coordinate systems and transformation properties of variables Throughout the paper, we will write 3-vectors and 3-matrices allows for more ef®cient and less error-prone programming. in bold type and 4-vectors and 4-matrices in bold-italic type. The importance of consistency in notation for further Let development of the ®eld has been recognized by the IUCr by x appointing the Commission on Crystallographic Nomen- x ; 1 clature. In one of their reports (Trueblood et al., 1996), a uniform notation for atomic displacement parameters is where x is a real-space vector. Let Sg denote a crystallographic proposed, including distinguishing between contravariant and symmetry operator. Crystallographic symmetry operators are covariant quantities. The present article follows this recom- isometries. They can be represented as a superposition of a mendation by providing a review of a uniform notation for matrix R (with det R 1) and a non-primitive translation g g Æ coordinate changes for all crystallographic quantities. by vector tg. Then, the symmetry operator Sg transforms a A natural way of coupling program variables to their crys- vector x in the real space as follows: tallographic properties is the object-oriented programming S x R x t : style. With its use, one can implicitly de®ne operations allowed g g g for each type of variable. Operations explicitly de®ned for one One can represent the transformation S as a 4 4 matrix S g  g coordinate system may be implicitly extended to other cases as follows: by the compiler. This is especially important when new func- tionality is added to an already existing application. In the Rg tg present paper, we recall a mathematical formalism, which can Sg 2 3: be naturally used for de®ning classes of basic objects 6 000 17 encountered in crystallographic calculations. We start by 6 7 4 5 542 doi: 10.1107/S0108767304017398 Acta Cryst. (2004). A60, 542±549 research papers In this notation, the action of Sg is represented by multi- covectors will follow in the next section. As in the real-space plication only: case, 3-covectors can be extended to 4-covectors. Unlike in the real space, the last entry in such a 4-covector is generally x different from 1: Rg tg y Rgx tg Sgx 2 32 3 : 1 z 1 h hkl : 6 000 176 1 7 6 76 7 4 54 5 ÂÃÂà The composition of two isometries is traditionally described The symbol denotes a phase angle associated with the vector by a somewhat complicated formula h (calculations involving will be performed modulo 1). The meaning of the symbol h is the following: S S x R R x R t t : g1 g2 g1 g2 g1 g2 g1 F h : exp 2i F h : 3 In the 4-vector notation, a composition of isometry transfor- mations is expressed as a multiplication of their corresponding Note that this de®nitionÁÂà should be changed if a different 4 4 matrices:  Fourier transform de®nition is used. In this setting, the action S x S S x of a symmetry operator Sg (which corresponds to the action of g1g2 g1 g2 1 S in the real space) in the reciprocal space can be described x R R x R t t g g1 g2 g1 g2 g1 S S : simply by multiplying a general 4-covector by the matrix of Sg, g1 g2 1 1 as introduced by (1): A consequence of this equation is another convenient feature h S hR h t ; 4 of this notation: g g Á g 1 ÂÃÂà S 1 S ; where h tg denotes the usual scalar product. Note that, owing g g Á to the special property of matrix Rg [see equation (2)], one can where 1 T use R instead of R in equation (5). However, this cannot g g be done for non-orthogonal Rg (see discussion in 3). The 1 1 x 1 Rg Rg tg symmetry operator Sg in the reciprocal space is represented by S 2 3: g the same matrix as in the real space (transposition not 6 000 1 7 needed). 6 7 4 1 5 Let us show how our notation works with the Fourier Note that tg 1 Rg tg and transform. The symmetry operator Sg acting on vectors in the 1 T Rg Rg: 2 real space induces a corresponding operator Sgà acting in the reciprocal space on the Fourier transforms of the real-space Moreover, functions. Let SgÃF h denote the Fourier transform of a 1 det S det R ; function f S x . Then (Bricogne, 1993; Rowicka et al., 2003) g g g which allows us to use the determinant of S in place of the SgÃF h exp 2ih tg F hRg : 5 determinant of R, for example when distinguishing between Á rotations and re¯ections. Using (5) and (3), we can compute SÃF h exp 2i SÃF h 2.2. Reciprocal-space 4-vector notation g g exp 2i exp 2ih t F hR : The convention presented in this subsection has been ÁÂà Á g g partially described by Bienenstock & Ewald (1962) and was subsequently used by Ten Eyck (1973). However, they did not Furthermore, distinguish between vectors and covectors, and consequently exp 2i exp 2ih t F hR F hR h t : the transposed form of the symmetry operator had to be used Á g g g Á g in the reciprocal space. We present a means of keeping the By (4), ÁÂà same form of the symmetry operator in both real and reci- procal space. The data in the real space, f x , are related to the F hR h t F h S : g Á g g reciprocal-space data F h by the Fourier transform de®ned by Thus we haveÁÂà shown that in our formalismÁÂà the description of F h : f x exp 2i h x : x Á the interaction between crystallographic symmetry and the Fourier transform has the form In the reciprocal space, weP will use a 4-vector notation as well. Vectors from reciprocal space transform differently to real- SgÃF h F h Sg ; space vectors. To distinguish them, we will call reciprocal- space vectors (and any other vectors transforming in the same which is better suitedÁÂà for descriptionÁÂà of the composition of way) covectors and we will write vectors as columns and multiple af®ne transformations than the traditionally used covectors as rows. A detailed discussion of vectors and equation (5). Acta Cryst. (2004). A60, 542±549 Rowicka et al. Coordinate transformations in crystallographic computing 543 research papers Table 1 Scalars, vectors, covectors. In the ®rst row, we describe the notation, in the second row, we list transformation properties of these quantities, in the next row, we give general examples, in the last row, we give examples of speci®c physical quantities related to crystallography. Scalars Vectors Covectors x1 i 2 i Notation a x x ai x h hi a h1 h2 h3 2 x3 3 Âà 4 5 i i j j Transformation properties Invariant Contravariant, i.e. x0 f x Covariant, i.e.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages8 Page
-
File Size-