Ignore:
Timestamp:
May 28, 2014 11:57:03 AM (8 years ago)
Author:
vondreele
Message:

fix atmdata.py for Rh (& other anomalous b isotopes)
fix powder imports to include old style PRCF records in GSAS iparm files
format of penalty fxn. prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMath.py

    r1360 r1365  
    21132113            raise Exception         #Abort!!
    21142114    pDict,pVals,pWt,pWsum = penaltyFxn(HistoPhases,parmDict,varylist)
    2115     if np.any(pVals):
     2115    if len(pVals):
    21162116        pSum = np.sum(pWt*pVals**2)
    21172117        for name in pWsum:
    2118             print '  Penalty function for %8s = %12.5g'%(name,pWsum[name])
     2118            if pWsum:
     2119                print '  Penalty function for %8s = %12.5g'%(name,pWsum[name])
    21192120        print 'Total penalty function: %12.5g on %d terms'%(pSum,len(pVals))
    21202121        Nobs += len(pVals)
Note: See TracChangeset for help on using the changeset viewer.