Changeset 137
- Timestamp:
- Jul 30, 2010 3:31:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r132 r137 290 290 found = [] 291 291 if len(HKL): 292 found = HKL[np.where(np.fabs(HKL.T[5]-xpos) < 0.05)] 292 view = Page.toolbar._views.forward()[0][:2] 293 wid = view[1]-view[0] 294 found = HKL[np.where(np.fabs(HKL.T[5]-xpos) < 0.002*wid)] 293 295 if len(found): 294 296 h,k,l = found[0][:3] … … 459 461 found = [] 460 462 if len(HKL): 461 found = HKL[np.where(np.fabs(HKL.T[5]-xpos) < 0.05)] 463 view = Page.toolbar._views.forward()[0][:2] 464 wid = view[1]-view[0] 465 found = HKL[np.where(np.fabs(HKL.T[5]-xpos) < 0.002*wid)] 462 466 if len(found): 463 467 h,k,l = found[0][:3]
Note: See TracChangeset
for help on using the changeset viewer.