Skip to content

Commit d33b05c

Browse files
committed
another deformation fix
1 parent e5607d4 commit d33b05c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GSASII/GSASIIplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7369,7 +7369,7 @@ def Draw(caller='',Fade=[],NPkey=False):
73697369
PSI = PSI.flatten()*360./Npsi #azimuth 0-360 incl
73707370
GAM = GAM.flatten()*180./Ngam #polar 0-180 incl
73717371
Rp,PSIp,GAMp = G2mth.RotPolbyM(np.ones_like(PSI),PSI,GAM,UVMat) #TODO: needs symmetry operation for equiv. positions
7372-
P = G2lat.SHarmcal(SytSym,SHC,PSIp,GAMp).reshape((Npsi,Ngam-1))
7372+
P = G2lat.SHarmcal(SytSym,SHC,PSIp,GAMp).reshape((Npsi,Ngam))
73737373
if np.min(P) < np.max(P):
73747374
P = (P-np.min(P))/(np.max(P)-np.min(P))
73757375
RenderTextureSphere(x,y,z,radius,atcolor,shape=[Npsi,Ngam],Texture=P.T,ifFade=False)

0 commit comments

Comments
 (0)