Ignore:
Timestamp:
Apr 17, 2015 12:31:34 PM (7 years ago)
Author:
vondreele
Message:

a few more corrections to texture stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r1792 r1793  
    11631163    'needs doc string'
    11641164    import pytexture as ptx
    1165     if psi.shape:
     1165    if 'float' in str(type(psi)):
     1166        psrs,dpdps = ptx.pyplmpsi(L,M,1,psi)
     1167    else:
    11661168        psrs = np.array([ptx.pyplmpsi(L,M,1,p) for p in psi])
    11671169        psrs,dpdps = np.reshape(psrs.flatten(),(-1,2)).T
    1168     else:
    1169         psrs,dpdps = ptx.pyplmpsi(L,M,1,psi)
    11701170    psrs *= RSQ2PI
    11711171    dpdps *= RSQ2PI
Note: See TracChangeset for help on using the changeset viewer.