Changeset 1272
- Timestamp:
- Apr 7, 2014 9:44:54 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r1269 r1272 1458 1458 Plot.set_xlim([np.min(2.*Bins)/2.,np.max(2.*Bins)*2.]) 1459 1459 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'] 1461 1462 for i in range(len(Rbins)): 1462 1463 Plot.plot(2.*Rbins[i],Dist[i]) #plot diameters -
trunk/GSASIIsasd.py
r1271 r1272 190 190 191 191 def 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 193 195 param float Q: Q value array (A-1) 194 196 param float R: cylinder radius (A) … … 967 969 Rbins.append(rBins) 968 970 Dist.append(dist) 971 sasdData['Size Calc'] = [Rbins,Dist] 969 972 return Rbins,Dist 970 973
Note: See TracChangeset
for help on using the changeset viewer.