Changeset 2563 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Dec 7, 2016 11:53:18 AM (5 years ago)
Author:
vondreele
Message:

Speed up image integration on Mac by reducing ProgressBar? calls from 3*nBlk*nBlk+3 to Nblk+3
Allow PDF setup to include chemical formula from tif macrofile
fix contour bug for G(R), etc.
fix copy error for masks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r2561 r2563  
    897897        Sample['Phi'] = data['GonioAngles'][2]
    898898        Sample['Azimuth'] = (azm+dazm)%360.    #put here as bin center
     899        polariz = 0.99    #set default polarization for synchrotron radiation!
     900        for item in Comments:
     901            if 'polariz' in item:
     902                try:
     903                    polariz = float(item.split('=')[1])
     904                except:
     905                    polariz = 0.99
    899906        if 'PWDR' in Aname:
    900             parms = ['PXC',data['wavelength'],0.0,0.99,1.0,-0.10,0.4,0.30,1.0,0.0001,Azms[i]]    #set polarization for synchrotron radiation!
     907            parms = ['PXC',data['wavelength'],0.0,polariz,1.0,-0.10,0.4,0.30,1.0,0.0001,Azms[i]]
    901908        elif 'SASD' in Aname:
    902909            Sample['Trans'] = data['SampleAbs'][0]
Note: See TracChangeset for help on using the changeset viewer.