Changeset 2836 for trunk/GSASIIimage.py


Ignore:
Timestamp:
May 17, 2017 3:06:18 PM (4 years ago)
Author:
vondreele
Message:

fixes to scripts & fxye importer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r2835 r2836  
    355355        if tilt > 0.:
    356356            offset = 2.*radii[1]*ecc+f      #select other branch
    357             xy = [-R*cosd(azm)-offset,R*sind(azm)]
     357            xy = [-R*cosd(azm)-offset,-R*sind(azm)]
    358358        else:
    359359            offset = -f
    360             xy = [-R*cosd(azm)-offset,-R*sind(azm)]
     360            xy = [-R*cosd(azm)-offset,R*sind(azm)]
    361361        xy = -np.array([xy[0]*cosd(phi)+xy[1]*sind(phi),xy[0]*sind(phi)-xy[1]*cosd(phi)])
    362362        xy += cent
Note: See TracChangeset for help on using the changeset viewer.