Changeset 446 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Dec 16, 2011 4:45:18 PM (10 years ago)
Author:
vondreele
Message:

continue refactoring of GSASIIgrid.py - DrawAtoms?
fix error in background calc & deriv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r443 r446  
    653653        wave = parmDict[pfx+'Lam1']
    654654    q = 4.0*np.pi*npsind(xdata/2.0)/wave
    655     SQ = (q/(4*np.pi))**2
     655    SQ = (q/(4.*np.pi))**2
    656656    FF = G2elem.GetFormFactorCoeff('Si')[0]
    657657    ff = np.array(G2elem.ScatFac(FF,SQ)[0])**2
     
    838838    for name in varyList:
    839839        if 'Debye' in name:
    840             ih,parm,id = name.split(':')
     840            parm,id = name.split(':')
    841841            ip = names.index(parm)
    842842            dMdv[varyList.index(name)] = dMddb[3*int(id)+ip]
Note: See TracChangeset for help on using the changeset viewer.