Changeset 4556
- Timestamp:
- Aug 31, 2020 9:10:01 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ElementTable.py
r4267 r4556 54 54 (["Ga","Ga+3"], 12,3, "Gallium", SemMetcolor, 0.104,(194,143,143)), 55 55 (["Ge","Ge+4"], 13,3, "Germanium", SemMetcolor, 0.114,(102,143,143)), 56 (["As",], 14,3, "Arsenic", NonMetcolor, 0.120,( 189,128,227)),56 (["As",], 14,3, "Arsenic", NonMetcolor, 0.120,(255,0,255)), 57 57 (["Se",], 15,3, "Selenium", NonMetcolor, 0.132,(255,161,0)), 58 58 (["Br","Br-1"], 16,3, "Bromine", NonMetcolor, 0.141,(166,41,41)), -
trunk/GSASIIphsGUI.py
r4553 r4556 1672 1672 del generalData['Flip']['Resolution'] 1673 1673 if 'Compare' not in generalData: 1674 generalData['Compare'] = {'Oatoms':'','Tatoms':'','Tilts':{'Otilts':[],'Ttilts':[]}, 1674 generalData['Compare'] = {'Oatoms':'','Tatoms':'', 1675 'Tilts':{'Otilts':[],'Ttilts':[]}, 1675 1676 'Bonds':{'Obonds':[],'Tbonds':[]},'Vects':{'Ovec':[],'Tvec':[]}, 1676 'dVects':{'Ovec':[],'Tvec':[]}} 1677 'dVects':{'Ovec':[],'Tvec':[]},'Sampling':1.0} 1678 if 'Sampling' not in generalData['Compare']: 1679 generalData['Compare']['Sampling'] = 1.0 1677 1680 1678 1681 # end of patches … … 2851 2854 tatmsel.Bind(wx.EVT_COMBOBOX,OnTatmOsel) 2852 2855 atmselSizer.Add(tatmsel,0,WACV) 2856 2857 atmselSizer.Add(wx.StaticText(General,label=' Sampling fraction:: '),0,WACV) 2858 atmselSizer.Add(G2G.ValidatedTxtCtrl(General,generalData['Compare'],'Sampling',nDig=(8,3),xmin=0.0,xmax=1.0,),0,WACV) 2853 2859 2854 2860 try: … … 3064 3070 for iatm,atom in enumerate(data['Atoms']): 3065 3071 if atom[ct] == Oatoms: 3072 if ran.random() > generalData['Compare']['Sampling']: 3073 iAtm += 1 3074 continue 3066 3075 results = G2mth.FindAllNeighbors(data,atom[ct-1],atNames,Orig=iatm)[0] #slow step 3067 3076 if len(results) == 4:
Note: See TracChangeset
for help on using the changeset viewer.