Changeset 4981
 Timestamp:
 Jun 28, 2021 1:28:09 PM (4 months ago)
 Location:
 trunk
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIIplot.py
r4974 r4981 6844 6844 imgAx = Img.axes 6845 6845 ytics = imgAx.get_yticks() 6846 ylabs = [ Page.varyList[int(i)]for i in ytics[:1]]6846 ylabs = [str(Page.varyList[int(i)]) for i in ytics[:1]] 6847 6847 imgAx.set_yticklabels(ylabs) 6848 6848 Page.figure.colorbar(Img) 
trunk/GSASIIstrMath.py
r4972 r4981 1532 1532 mXYZ = np.hstack((mXYZ,mXYZ)) 1533 1533 1534 MmodA,MmodB = G2mth.MagMod(glTau,mXYZ,modQ,MSSdata,SGData,SSGData) #Ntau,Nops,Natm,Mxyz cos,si mparts sum matches drawing1534 MmodA,MmodB = G2mth.MagMod(glTau,mXYZ,modQ,MSSdata,SGData,SSGData) #Ntau,Nops,Natm,Mxyz cos,sin parts sum matches drawing 1535 1535 1536 1536 if not SGData['SGGray']: #for fixed Mx,My,Mz … … 1621 1621 # calc mag. structure factors; Nref,Ntau,Nops,Natm,Mxyz 1622 1622 fams = TMcorr[:,nxs,nxs,:,nxs]*np.array([np.where(H[3,i]!=0,(MmodA*cosm[i,nxs,:,:,nxs]+ 1623 H[3,i]*MmodB*sinm[i,nxs,:,:,nxs]),0.) for i in range(mRef)]) #Nref,Ntau,Nops,Natm,Mxyz1623 H[3,i]*MmodB*sinm[i,nxs,:,:,nxs]),0.) for i in range(mRef)])/2. #Nref,Ntau,Nops,Natm,Mxyz 1624 1624 1625 1625 fbms = TMcorr[:,nxs,nxs,:,nxs]*np.array([np.where(H[3,i]!=0,(MmodA*sinm[i,nxs,:,:,nxs]+ 1626 H[3,i]*MmodB*cosm[i,nxs,:,:,nxs]),0.) for i in range(mRef)]) #Nref,Ntau,Nops,Natm,Mxyz1626 H[3,i]*MmodB*cosm[i,nxs,:,:,nxs]),0.) for i in range(mRef)])/2. #Nref,Ntau,Nops,Natm,Mxyz 1627 1627 1628 1628 if not SGData['SGGray']:
Note: See TracChangeset
for help on using the changeset viewer.