Ignore:
Timestamp:
Apr 20, 2018 2:08:08 PM (4 years ago)
Author:
vondreele
Message:

remove call to paint after selecting all atoms. (paint cleared selection!)
fix perspective issue in powder waterfall plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMath.py

    r3346 r3353  
    10901090    mSize = len(Mdata)
    10911091    Mag = np.sqrt(np.array([np.inner(mag,np.inner(mag,GS)) for mag in Gdata.T]))
    1092     dGdM = np.repeat(Gdata[:,nxs,:],Nops,axis=1)
     1092    dGdM = np.array([np.inner(mag,GS) for mag in Gdata.T]).T/Mag
    10931093   
    10941094    Gdata = np.inner(Gdata.T,SGMT).T            #apply sym. ops.
     
    11581158#        dqmx2 = np.sum(dqmx,axis=1)   #matrix * vector = vector
    11591159#        dqmx1 = np.swapaxes(np.swapaxes(np.inner(dqdm.T,dGdm.T),0,1),2,3)
    1160         dmx = (NQ*Q*dGdM[:,nxs,:,:])/Mag        #just use dpdM term & ignore dqdM term(small)
     1160        dmx = (NQ*Q*dGdM[:,nxs,nxs,:])        #just use dpdM term & ignore dqdM term(small)
    11611161#        dmx = (NQ*Q*dGdM[:,nxs,:,:]-Q*dqmx2)/Mag
    11621162       
Note: See TracChangeset for help on using the changeset viewer.