Changeset 1203 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Jan 20, 2014 1:07:50 PM (8 years ago)
Author:
vondreele
Message:

show q in powder/sasd plots
work on absorption corr. for sasd data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r1199 r1203  
    858858                Id = item
    859859            item, cookie = G2frame.PatternTree.GetNextChild(G2frame.root, cookie)
    860         if 'PWDR' in name:
    861             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!
    862         elif 'SASD' in name:   
    863             parms = ['LXC',data['wavelength'],0.0,Azms[i]]           
    864         Y = G2frame.Integrate[0][i]
    865         W = 1./Y                    #probably not true
    866860        Sample = G2pdG.SetDefaultSample()
    867861        Sample['Gonio. radius'] = data['distance']
     
    869863        Sample['Chi'] = data['GonioAngles'][1]
    870864        Sample['Phi'] = data['GonioAngles'][2]
     865        if 'PWDR' in name:
     866            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!
     867        elif 'SASD' in name:   
     868            parms = ['LXC',data['wavelength'],0.0,Azms[i]]
     869        Y = G2frame.Integrate[0][i]
     870        W = 1./Y                    #probably not true
    871871        if Id:
    872872            G2frame.PatternTree.SetItemPyData(G2gd.GetPatternTreeItemId(G2frame,Id, 'Comments'),Comments)                   
Note: See TracChangeset for help on using the changeset viewer.