Changeset 2319 for trunk/GSASIImath.py


Ignore:
Timestamp:
Jun 14, 2016 6:17:31 AM (7 years ago)
Author:
vondreele
Message:

remove stray print & add \n to Dist argument for better column heading
fix symm problem in CalcDist? for seq distances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r2318 r2319  
    15221522    op = symNo%100-1
    15231523    M,T = distance_dict['SGData']['SGOps'][op]
    1524     M *= inv
    1525     T *= inv
    1526     D = T+distance_dict['SGData']['SGCen'][cen]
     1524    D = T*inv+distance_dict['SGData']['SGCen'][cen]
    15271525    D += distance_dict['cellNo']
    1528     Txyz = np.inner(M,Txyz)+D
     1526    Txyz = np.inner(M*inv,Txyz)+D
    15291527    dist = np.sqrt(np.sum(np.inner(Amat,(Txyz-Oxyz))**2))
    15301528#    GSASIIpath.IPyBreak()
Note: See TracChangeset for help on using the changeset viewer.