Changeset 2567 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Dec 8, 2016 1:11:10 PM (5 years ago)
Author:
vondreele
Message:

fix to export CIF sym. op. problem
use ValidatedTxtctrl? for all values in PDF Controls, Background & RDFDialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r2561 r2567  
    361361    nR = len(xydata['GofR'][1][1])
    362362#    mul = 12
    363     mul = int(round(2.*np.pi*nR/(data['Rmax']*qLimits[1])))
     363    mul = int(round(2.*np.pi*nR/(data.get('Rmax',100.)*qLimits[1])))
    364364    xydata['GofR'][1][0] = 2.*np.pi*np.linspace(0,nR,nR)/(mul*qLimits[1])
    365365    xydata['GofR'][1][1] = -dq*np.imag(ft.fft(xydata['FofQ'][1][1],mul*nR)[:nR])
Note: See TracChangeset for help on using the changeset viewer.