Ignore:
Timestamp:
Jan 11, 2021 1:57:49 PM (9 months ago)
Author:
toby
Message:

refinements with no variables or no cycles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4759 r4761  
    51825182        if OK:
    51835183            Rw = Rvals['Rwp']
    5184             rtext = 'LS Refinement: Rw = %.3f%%, GOF = %.2f, Nobs = %d, Max delt/sig = %.3f'%(Rvals['Rwp'],Rvals['GOF'],Rvals['Nobs'],Rvals['Max shft/sig'])
     5184            rtext = 'LS Refinement: Rw = %.3f%%, GOF = %.2f, Nobs = %d'%(Rvals['Rwp'],Rvals['GOF'],Rvals['Nobs'])
    51855185            lamMax = Rvals.get('lamMax',0.001)
    51865186            lst = os.path.splitext(os.path.abspath(self.GSASprojectfile))[0]
     
    51895189                text += '\nFinal Reduced Chi^2: {:.3f} (before ref: {:.3f})\n'.format(
    51905190                    Rvals['GOF']**2,Rvals['GOF0']**2)
    5191             if 'Max shft/sig' in Rvals:
     5191            if Rvals.get('Max shft/sig') is not None:
     5192                rtext += ', Max delt/sig = {:.3f}'.format(Rvals['Max shft/sig'])
    51925193                text += '\nMax shift/sigma={:.3f}\n'.format(Rvals['Max shft/sig'])
    51935194            if 'msg' in Rvals: text += '\n' + Rvals['msg'] + '\n'
     
    88568857                text += '\n\tNobs = {}\n\tNvals = {}\n\tSVD zeros = {}'.format(
    88578858                    Rvals['Nobs'],Nvars,Rvals.get('SVD0',0.))
    8858                 text += '\n\tmax shift/esd = {:.3f}'.format(Rvals.get('Max shft/sig',0.0))
     8859                if Rvals.get('Max shft/sig') is not None:
     8860                    text += '\n\tmax shift/esd = {:.3f}'.format(Rvals['Max shft/sig'])
    88598861                if 'lamMax' in Rvals:
    88608862                    text += '\n\tlog10 MaxLambda = {:.1f}'.format(np.log10(Rvals['lamMax']))
Note: See TracChangeset for help on using the changeset viewer.