Changeset 780 for trunk/GSASIIlattice.py


Ignore:
Timestamp:
Oct 8, 2012 3:52:50 PM (9 years ago)
Author:
vondreele
Message:

fix sph. harm. error - bad acosd in CrsAng?
small detail in G2struct - value of 4*pi.
Start on charge flip tutorial

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r762 r780  
    800800        DHR = np.inner(H,np.inner(G,H3))
    801801    DHR /= np.sqrt(DR*DH)
    802     phi = acosd(DHR)
     802    phi = np.where(DHR <= 1.0,acosd(DHR),0.0)
    803803    if Laue == '-1':
    804804        BA = H[1]*a/(b-H[0]*cosd(ga))
Note: See TracChangeset for help on using the changeset viewer.