- Timestamp:
- Jan 16, 2021 10:16:55 AM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImath.py
r4767 r4770 357 357 return [x0,None,info] 358 358 chisqf = np.sum(M**2) # ending chi**2 359 #Yvec,Amat = Hess(x0,*args) # we could save some time and use the last Hessian from the last refinement cycle359 Yvec,Amat = Hess(x0,*args) # we could save some time and use the last Hessian from the last refinement cycle 360 360 psing_prev = [i for i in range(n) if i not in indices] # save dropped vars 361 361 indices = range(n) -
trunk/GSASIIplot.py
r4766 r4770 126 126 import wx.glcanvas 127 127 import matplotlib as mpl 128 import matplotlib.pyplot as plt 128 129 if not mpl.get_backend(): #could be assigned by spyder debugger 129 130 mpl.use('wxAgg') … … 9161 9162 GL.glMultMatrixf(B4mat.T) 9162 9163 GL.glDisable(GL.GL_LIGHTING) 9163 # GL.glWindowPos3f(0,0,0)9164 9164 GL.glMultMatrixf(matRot) 9165 9165 GL.glRotate(180,1,0,0) #fix to flip about x-axis … … 9168 9168 GL.glEnable(GL.GL_LIGHTING) 9169 9169 GL.glPopMatrix() 9170 9170 9171 9171 def RenderMap(rho,rhoXYZ,indx,Rok): 9172 9172 GL.glShadeModel(GL.GL_FLAT) … … 9557 9557 return 9558 9558 Rmax = np.max(rho)*drawingData['contourMax'] 9559 import matplotlib.pyplot as plt9560 9559 Model = GL.glGetDoublev(GL.GL_MODELVIEW_MATRIX) 9561 9560 invModel = nl.inv(Model)
Note: See TracChangeset
for help on using the changeset viewer.