Changeset 1217 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Feb 11, 2014 9:42:03 PM (8 years ago)
Author:
vondreele
Message:

add reading of CheMin? tif & png files
continue work on small angle stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r1186 r1217  
    150150    Cth2 = 1.-Sth2
    151151    if 'Cylinder' in Geometry:      #Lobanov & Alte da Veiga for 2-theta = 0; beam fully illuminates sample
    152         return np.where(MuR <3.0,muRunder3(Sth2),muRover3(Sth2))
     152        if MuR <= 3.0:
     153            return muRunder3(Sth2)
     154        else:
     155            return muRover3(Sth2)
    153156    elif 'Bragg' in Geometry:
    154157        return 1.0
Note: See TracChangeset for help on using the changeset viewer.