Changes between Version 5 and Version 6 of LatticeComputations


Ignore:
Timestamp:
Jul 6, 2010 2:15:34 PM (11 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LatticeComputations

    v5 v6  
    1212
    1313a code fragment that shows how this can be used is:
    14 {{
     14{{{
    1515import numpy as np
    1616import GSASIIlattice as latt
     
    1818Xfrac = np.array( [0,0,0] )
    1919Xortho = np.sum(A*Xfrac,axis=1) 
    20 }}
     20}}}
    2121
    2222In addition, A and B are used to define a pair of 3x3 transformation matrices, where A*x converts Cartesian coordinates x into fractional ones and B does the inverse transform.