Changeset 1272


Ignore:
Timestamp:
Apr 7, 2014 9:44:54 AM (8 years ago)
Author:
vondreele
Message:

resolve size plot update issue

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1269 r1272  
    14581458        Plot.set_xlim([np.min(2.*Bins)/2.,np.max(2.*Bins)*2.])
    14591459    Plot.bar(2.*Bins-Dbins,BinMag,2.*Dbins,facecolor='white')       #plot diameters
    1460     if len(Rbins):
     1460    if 'Size Calc' in data:
     1461        Rbins,Dist = data['Size Calc']
    14611462        for i in range(len(Rbins)):
    14621463            Plot.plot(2.*Rbins[i],Dist[i])       #plot diameters
  • trunk/GSASIIsasd.py

    r1271 r1272  
    190190   
    191191def UniTubeFF(Q,R,args):
    192     ''' Compute form factor for unified disk - can use numpy arrays
     192    ''' Compute form factor for unified tube - can use numpy arrays
     193    assumes that core of tube is same as the matrix/solvent so contrast
     194    is from tube wall vs matrix
    193195    param float Q: Q value array (A-1)
    194196    param float R: cylinder radius (A)
     
    967969        Rbins.append(rBins)
    968970        Dist.append(dist)
     971    sasdData['Size Calc'] = [Rbins,Dist]
    969972    return Rbins,Dist
    970973   
Note: See TracChangeset for help on using the changeset viewer.