Changeset 4665
- Timestamp:
- Nov 29, 2020 9:43:54 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4661 r4665 1060 1060 if A > 0.0: 1061 1061 Plot.add_artist(Circle(xy,radius=A,ec='g',fc='w', 1062 #picker=True,pickradius=1., 1063 gid=hid)) 1062 picker=True,gid=hid)) 1064 1063 else: 1065 1064 Plot.add_artist(Circle(xy,radius=-A,ec='r',fc='w', 1066 #picker=True,pickradius=1., 1067 gid=hid)) 1065 picker=True,gid=hid)) 1068 1066 else: 1069 1067 if A > 0.0 and A > B: … … 1071 1069 if B: 1072 1070 Plot.add_artist(Circle(xy,radius=B,ec='b',fc='w', 1073 #picker=True,pickradius=1., 1074 gid=hid)) 1071 picker=True,gid=hid)) 1075 1072 if A < B: 1076 1073 Plot.add_artist(Circle(xy,radius=A,ec='g',fc='w')) … … 7065 7062 spot = [event.xdata,event.ydata,G2frame.spotSize] 7066 7063 Masks['Points'].append(spot) 7067 artist = Circle(spot[:2],radius=spot[2]/2,fc='none',ec='r') 7068 # picker=True,pickradius=3) 7064 artist = Circle(spot[:2],radius=spot[2]/2,fc='none',ec='r', 7065 picker=True) 7066 GSASIIpath.IPyBreak() 7069 7067 Page.figure.gca().add_artist(artist) 7070 7068 artist.itemNumber = len(Masks['Points'])-1 … … 7498 7496 spot = [Xpos,Ypos,sig] 7499 7497 Masks['Points'].append(spot) 7500 artist = Circle((Xpos,Ypos),radius=spot[2]/2,fc='none',ec='r') 7501 # picker=True,pickradius=3) 7498 artist = Circle((Xpos,Ypos),radius=spot[2]/2,fc='none',ec='r', 7499 picker=True) 7500 GSASIIpath.IPyBreak() 7502 7501 Page.figure.gca().add_artist(artist) 7503 7502 artist.itemNumber = len(Masks['Points'])-1 … … 7857 7856 if len(spot): 7858 7857 x,y,d = spot 7859 artist = Circle((x,y),radius=d/2,fc='none',ec='r' )7860 # picker=True,pickradius=3)7858 artist = Circle((x,y),radius=d/2,fc='none',ec='r', 7859 picker=True) 7861 7860 Plot.add_artist(artist) 7862 7861 artist.itemNumber = i -
trunk/GSASIIstrMath.py
r4662 r4665 3232 3232 G,g = G2lat.A2Gmat(A) #recip & real metric tensors 3233 3233 if np.any(np.diag(G)<0.) or np.any(np.isnan(A)): 3234 G2obj.HowDidIgetHere()3234 #G2obj.HowDidIgetHere() 3235 3235 raise G2obj.G2Exception('Error in metric tensor refinement\nCheck for refinement of conflicting variables') 3236 3236 GA,GB = G2lat.Gmat2AB(G) #Orthogonalization matricies
Note: See TracChangeset
for help on using the changeset viewer.