Changeset 4980
- Timestamp:
- Jun 28, 2021 11:38:26 AM (20 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIconstrGUI.py
r4907 r4980 334 334 335 335 def DisableOK(self,setting): 336 for id in range(len(self.data)): # coefficient cannot be zero 337 if abs(self.data[id][0]) < 1.e-20: 338 setting = False 339 break 336 340 if setting: 337 341 self.OkBtn.Enable() … … 1191 1195 elif eqString[-1] != '': 1192 1196 eqString[-1] += ' = ' 1193 m = normval/term[0] 1197 #m = normval/term[0] 1198 m = term[0]/normval 1194 1199 if m == 1: 1195 1200 eqString[-1] += '{:}'.format(var) … … 1271 1276 constType = 'Equivalence' 1272 1277 lbl = 'The following terms are set to be equal:' 1273 dlg = ConstraintDialog(G2frame,constType,lbl,items,' /')1278 dlg = ConstraintDialog(G2frame,constType,lbl,items,'*') 1274 1279 else: 1275 1280 return -
trunk/GSASIIscriptable.py
r4901 r4980 551 551 a string defining what values to refine. 552 552 Values can be any combination of 'F' 553 for fractional occupancy, 'X' for position,553 for site fraction, 'X' for position, 554 554 and 'U' for Debye-Waller factor 555 555 LeBail Enables LeBail intensity extraction. … … 3973 3973 @property 3974 3974 def occupancy(self): 3975 '''Get or set the associated atom's occupancyfraction3975 '''Get or set the associated atom's site fraction 3976 3976 ''' 3977 3977 return self.data[self.cx+3]
Note: See TracChangeset
for help on using the changeset viewer.