Changeset 1844


Ignore:
Timestamp:
May 13, 2015 8:44:05 AM (7 years ago)
Author:
vondreele
Message:

fix math error in inverse pole figure OnMotion? - needed Bmat not Amat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1835 r1844  
    27182718                        r,p = 2.*npatand(np.sqrt(r)),npatan2d(ypos,xpos)
    27192719                    ipf = G2lat.invpolfcal(IODFln,SGData,np.array([r,]),np.array([p,]))
    2720                     xyz = np.inner(Amat.T,np.array([rp2xyz(r,p)]))
     2720                    xyz = np.inner(Bmat,np.array([rp2xyz(r,p)]))
    27212721                    y,x,z = list(xyz/np.max(np.abs(xyz)))
    27222722                   
Note: See TracChangeset for help on using the changeset viewer.