Changeset 3675


Ignore:
Timestamp:
Oct 15, 2018 12:00:08 PM (5 years ago)
Author:
vondreele
Message:

5 spaces for d-spacing in exported cif files - per Jim Kaduk's request
fix a bug in incommensurate ADP calcs

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r3603 r3675  
    17121712                    scof.append(sadp[0][:6])
    17131713                    ccof.append(sadp[0][6:])
    1714                 uwave += np.sum(posFourier(tauT,np.array(scof),np.array(ccof)),axis=1)
     1714                ures = posFourier(tauT,np.array(scof),np.array(ccof))
     1715                if np.any(ures):
     1716                    uwave += np.sum(ures,axis=1)
    17151717            if atom[cia] == 'A':                   
    17161718                X,U = G2spc.ApplyStringOps(opr,SGData,atxyz+wave,atuij+uwave)
  • trunk/exports/G2export_CIF.py

    r3564 r3675  
    15381538                    dmax = max(dmax,ref[4])
    15391539                    dmin = min(dmin,ref[4])
    1540                     s += PutInCol(G2mth.ValEsd(ref[4],-0.009),8)
     1540                    s += PutInCol(G2mth.ValEsd(ref[4],-0.00009),8)
    15411541                    if Imax > 0:
    15421542                        s += PutInCol(G2mth.ValEsd(100.*I100[j]/Imax,-0.09),6)
Note: See TracChangeset for help on using the changeset viewer.