Changeset 4958
- Timestamp:
- Jun 15, 2021 10:17:24 AM (20 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4957 r4958 6366 6366 if 'Type' not in RefData or 'RefList' not in RefData: 6367 6367 generalData['Data plot type'] = 'None' 6368 # G2G.G2MessageBox(G2frame,'Reflection list not ready','RefData error')6369 6368 return 6370 6369 Type = RefData['Type'] … … 6438 6437 pass 6439 6438 acolor = mpl.cm.get_cmap(G2frame.ContourColor) 6440 Img = Plot.imshow(Z.T,aspect='equal',cmap=acolor,extent=[-1,1,-1,1] )6439 Img = Plot.imshow(Z.T,aspect='equal',cmap=acolor,extent=[-1,1,-1,1],interpolation='bilinear') 6441 6440 Plot.plot(y,x,'+',picker=True,pickradius=3) 6442 6441 Page.figure.colorbar(Img) … … 6546 6545 6547 6546 else: 6548 npts = 2016547 npts = 101 6549 6548 if 'Inverse' in SHData['PlotType']: 6550 6549 X,Y = np.meshgrid(np.linspace(1.,-1.,npts),np.linspace(-1.,1.,npts)) … … 6563 6562 pass 6564 6563 acolor = mpl.cm.get_cmap(G2frame.ContourColor) 6565 Img = Plot.imshow(Z.T,aspect='equal',cmap=acolor,extent=[-1,1,-1,1] )6564 Img = Plot.imshow(Z.T,aspect='equal',cmap=acolor,extent=[-1,1,-1,1],interpolation='bilinear') 6566 6565 Page.figure.colorbar(Img) 6567 6566 x,y,z = SHData['PFxyz'] … … 6618 6617 pass 6619 6618 acolor = mpl.cm.get_cmap(G2frame.ContourColor) 6620 Img = Plot.imshow(Z.T,aspect='equal',cmap=acolor,extent=[-1,1,-1,1] )6619 Img = Plot.imshow(Z.T,aspect='equal',cmap=acolor,extent=[-1,1,-1,1],interpolation='bilinear') 6621 6620 Page.figure.colorbar(Img) 6622 6621 if 'det Angles' in textureData and textureData['ShoDet']: -
trunk/GSASIIstrIO.py
r4950 r4958 3711 3711 3712 3712 Sample = Histogram['Sample Parameters'] 3713 parmDict[pfx+'Scale'] = max(1.e-4,parmDict[pfx+'Scale']) #put floor on phase fraction scale 3713 3714 sampSig = SetSampleParms(pfx,Sample,parmDict,sigDict) 3714 3715 -
trunk/GSASIIstrMath.py
r4950 r4958 2599 2599 def GetIntensityCorr(refl,im,uniq,G,g,pfx,phfx,hfx,SGData,calcControls,parmDict): 2600 2600 'Needs a doc string' #need powder extinction! 2601 parmDict[phfx+'Scale'] = max(1.e-4,parmDict[hfx+'Scale']) #put floor on phase fraction scale 2601 2602 parmDict[hfx+'Scale'] = max(1.e-4,parmDict[hfx+'Scale']) #put floor on phase fraction scale 2602 2603 Icorr = parmDict[phfx+'Scale']*parmDict[hfx+'Scale']*refl[3+im] #scale*multiplicity
Note: See TracChangeset
for help on using the changeset viewer.