- Timestamp:
- Aug 23, 2012 8:44:03 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/GSASIIstruct.py ¶
r730 r731 1868 1868 if 'PWLref' in item and parmDict[item] < 0.: 1869 1869 pFxn[i] = -parmDict[item]**2 #checked OK 1870 return pFxn 1870 return pFxn/1000. 1871 1871 1872 1872 def penaltyDeriv(parmDict,varyList): … … 1875 1875 if 'PWLref' in item and parmDict[item] < 0.: 1876 1876 pDerv[i] += 2.*parmDict[item] 1877 return pDerv/100 .1877 return pDerv/1000. 1878 1878 1879 1879 ################################################################################
Note: See TracChangeset
for help on using the changeset viewer.