Changeset 3848 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Mar 9, 2019 2:58:21 PM (3 years ago)
Author:
vondreele
Message:

since id is a python routine which could be useful in debugging, replaced id with Id (or pid in one place)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r3778 r3848  
    12051205    for name in varyList:
    12061206        if 'Debye' in name:
    1207             parm,id = name.split(';')
     1207            parm,Id = name.split(';')
    12081208            ip = names.index(parm)
    1209             dMdv[varyList.index(name)] = dMddb[3*int(id)+ip]
     1209            dMdv[varyList.index(name)] = dMddb[3*int(Id)+ip]
    12101210    names = ['BkPkpos','BkPkint','BkPksig','BkPkgam']
    12111211    for name in varyList:
    12121212        if 'BkPk' in name:
    1213             parm,id = name.split(';')
     1213            parm,Id = name.split(';')
    12141214            ip = names.index(parm)
    1215             dMdv[varyList.index(name)] = dMdpk[4*int(id)+ip]
     1215            dMdv[varyList.index(name)] = dMdpk[4*int(Id)+ip]
    12161216    cw = np.diff(xdata)
    12171217    cw = np.append(cw,cw[-1])
Note: See TracChangeset for help on using the changeset viewer.