Changeset 1311 for trunk/GSASIIsasd.py


Ignore:
Timestamp:
Apr 30, 2014 3:08:00 PM (9 years ago)
Author:
vondreele
Message:

fix errors in mono disperse with non dilute systems - now works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIsasd.py

    r1310 r1311  
    11971197                    if item in parmDict:
    11981198                        FFargs.append(parmDict[item])
     1199                for item in [cid+'Dist',cid+'VolFr',cid+'epis',cid+'Sticky',cid+'Depth',cid+'Width']:
     1200                    if item in parmDict:
     1201                        SFargs.append(parmDict[item])
    11991202                rho = parmDict[cid+'XAnom density']
    12001203                contrast = rho**2-rhoMat**2
     
    13261329            SFfxn = sfxns[controls['StrFact']]
    13271330            FFargs = []
    1328             SFargs = [parmDict['Volume'][0],R]
    1329             for item in ['epis','Sticky','Depth','Width',]:
     1331            SFargs = []
     1332            for item in ['Dist','VolFr','epis','Sticky','Depth','Width',]:
    13301333                if item in controls.get('SFargs',{}):
    13311334                    SFargs.append(controls['SFargs'][item][0])
Note: See TracChangeset for help on using the changeset viewer.