Changeset 2190 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Apr 1, 2016 9:33:15 AM (6 years ago)
Author:
vondreele
Message:

fix g77/gfortran problem with DIFFaX by putting use of GET_G into OPTIMZ instead of calling it from pydiffax.for
thus new binwin2.7 & bunwin64-2.7 libraries are deposited
GSASIIphsGUI still rund original DIFFaX for selected area simulations - still testing pydiffax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r2189 r2190  
    3737import GSASIImath as G2mth
    3838import pypowder as pyd
    39 #import pydiffax as pyx
     39import pydiffax as pyx
    4040
    4141# trig functions in degrees
     
    20412041        iF = iB+128
    20422042        p1 = 128+int(i*Incr)
    2043         Sapd[:128,p1] = spec[iB:iF]
    2044         Sapd[128:,p1] = spec[iF:iB:-1]
     2043        Sapd[128:,p1] = spec[iB:iF]
     2044        Sapd[:128,p1] = spec[iF:iB:-1]
    20452045        if mirror:
    20462046            p2 = 128-int(i*Incr)
    2047             Sapd[:128,p2] = spec[iB:iF]
    2048             Sapd[128:,p2] = spec[iF:iB:-1]
     2047            Sapd[128:,p2] = spec[iB:iF]
     2048            Sapd[:128,p2] = spec[iF:iB:-1]
    20492049        iB += 128
    20502050    Sapd *= Scale
Note: See TracChangeset for help on using the changeset viewer.