Changeset 3396 for trunk/GSASIIspc.py


Ignore:
Timestamp:
May 22, 2018 3:51:10 PM (4 years ago)
Author:
vondreele
Message:

set refList=False for a couple of calls to GetHistogramPhaseData? where reflection list shouldn't be rebuilt
fix OnDrawDist? to report Sym Ops correctly
Move atom labels over 4 spaces to be clear of atom ball

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r3393 r3396  
    31723172    Ax = A.split('+')
    31733173    Ax[0] = int(Ax[0])
    3174     iC = 0
     3174    iC = 1
    31753175    if Ax[0] < 0:
    3176         iC = 1
     3176        iC = -1
    31773177    Ax[0] = abs(Ax[0])
    31783178    nA = Ax[0]%100-1
     
    31853185    else:
    31863186        cellA = np.zeros(3)
    3187     newX = Cen+(1-2*iC)*(np.inner(M,X).T+T)+cellA
     3187    newX = Cen+iC*(np.inner(M,X).T+T)+cellA
    31883188    if len(Uij):
    31893189        U = Uij2U(Uij)
     
    31993199    Ax = A.split('+')
    32003200    Ax[0] = int(Ax[0])
     3201    iC = 1
     3202    if Ax[0] < 0:
     3203        iC = -1
    32013204    Ax[0] = abs(Ax[0])
    32023205    nA = Ax[0]%100-1
     
    32053208        newMom = -(np.inner(Mom,M).T)*nl.det(M)
    32063209    else:
    3207         newMom = -(np.inner(Mom,M).T)*SGData['MagMom'][nA-1]*nl.det(M)
     3210        newMom = -np.inner(Mom,M).T*SGData['MagMom'][nA-1]
    32083211    return newMom
    32093212       
Note: See TracChangeset for help on using the changeset viewer.