Changeset 4970
- Timestamp:
- Jun 22, 2021 4:50:29 PM (21 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4958 r4970 5634 5634 def OnMotion(event): 5635 5635 xpos,ypos = event.xdata,event.ydata 5636 if xpos > 1.:5636 if xpos and xpos > 1.: 5637 5637 if 0 <= xpos < len(resNames): 5638 5638 resName = resNames[int(xpos+.5)-1] … … 5666 5666 colors = list(np.where(np.array(Probs1)>thresh[0][1],'r','b')) 5667 5667 resNums = np.arange(len(resNames)) 5668 Plot1.bar(resNums,Probs1,color=colors,linewidth=0, 5669 picker=True,pickradius=1) 5668 Plot1.bar(resNums,Probs1,color=colors,linewidth=0,picker=True) 5670 5669 if thresh is not None: 5671 5670 for item in thresh[0]: … … 5675 5674 Plot2.set_xlabel(r'Residue',fontsize=14) 5676 5675 colors = list(np.where(np.array(Probs2)>thresh[1][1],'r','b')) 5677 Plot2.bar(resNums,Probs2,color=colors,linewidth=0, 5678 picker=True,pickradius=1) 5676 Plot2.bar(resNums,Probs2,color=colors,linewidth=0,picker=True) 5679 5677 if thresh is not None: 5680 5678 for item in thresh[1]: -
trunk/GSASIIstrIO.py
r4958 r4970 3075 3075 wtFrSum[hId] = 0. 3076 3076 if 'PWDR' in histogram: 3077 parmDict[pfx+'Scale'] = max(1.e- 4,parmDict[pfx+'Scale'])3077 parmDict[pfx+'Scale'] = max(1.e-12,parmDict[pfx+'Scale']) 3078 3078 for item in ['Scale','Extinction']: 3079 3079 hapData[item][0] = parmDict[pfx+item] … … 3711 3711 3712 3712 Sample = Histogram['Sample Parameters'] 3713 parmDict[pfx+'Scale'] = max(1.e- 4,parmDict[pfx+'Scale']) #put floor on phase fraction scale3713 parmDict[pfx+'Scale'] = max(1.e-12,parmDict[pfx+'Scale']) #put floor on phase fraction scale 3714 3714 sampSig = SetSampleParms(pfx,Sample,parmDict,sigDict) 3715 3715 -
trunk/GSASIIstrMath.py
r4958 r4970 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 scale2602 parmDict[hfx+'Scale'] = max(1.e- 4,parmDict[hfx+'Scale']) #put floor on phase fraction scale2601 parmDict[phfx+'Scale'] = max(1.e-12,parmDict[phfx+'Scale']) #put floor on phase fraction scale 2602 parmDict[hfx+'Scale'] = max(1.e-12,parmDict[hfx+'Scale']) #put floor on phase fraction scale 2603 2603 Icorr = parmDict[phfx+'Scale']*parmDict[hfx+'Scale']*refl[3+im] #scale*multiplicity 2604 2604 if 'X' in parmDict[hfx+'Type']:
Note: See TracChangeset
for help on using the changeset viewer.