Changeset 1834 for trunk/GSASIIimage.py


Ignore:
Timestamp:
May 4, 2015 9:10:23 AM (7 years ago)
Author:
vondreele
Message:

redefine azimuthal angle in Sample Parms as the center of the azimuthal bin; the azimuthat angle in Instrument parms is defined as the mean angle for polarization (only 0-90 & slightly different)
some cosmetic changes to GUI displays
fix imports/G2pwd_fxye.py to handle multi time-maps found in HIPPO data & the slightly screwy one in HIPD data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r1694 r1834  
    431431    AZM = lambda a,b: npacosd(0.5*(npsind(2.*b)-npsind(2.*a))/(np.pi*(b-a)/180.))/2.
    432432    azm = AZM(a,b)
    433     quad = int((a+b)/180.)
    434     if quad == 1:
    435         azm = 180.-azm
    436     elif quad == 2:
    437         azm += 180.
    438     elif quad == 3:
    439         azm = 360-azm
     433#    quad = int((a+b)/180.)
     434#    if quad == 1:
     435#        azm = 180.-azm
     436#    elif quad == 2:
     437#        azm += 180.
     438#    elif quad == 3:
     439#        azm = 360-azm
    440440    return azm     
    441441       
Note: See TracChangeset for help on using the changeset viewer.