Changeset 4388 for trunk/GSASIIfiles.py


Ignore:
Timestamp:
Apr 2, 2020 10:48:25 AM (19 months ago)
Author:
vondreele
Message:

Add warning for using type=2 TOF instrument profile function in old gsas iparm files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIfiles.py

    r4334 r4388  
    220220                    data.extend([0.0,0.0,sfloat(s[0]),sfloat(s[1]),0.0,0.0,0.0,0.0,azm])    #beta-q, sig-0, sig-1, sig-2, sig-q, X, Y, Z
    221221            elif abs(pfType) == 2:
     222                print('''***WARNING gsas profile function #2 does not give valid GSAS-II diffractometer/profile coefficients ***
     223                you should request GSAS-II instparm file from Instrument responsible''')
    222224                data.extend([sfloat(s[1]),0.0,1./sfloat(s[3])]) #alpha, beta-0, beta-1
    223225                data.extend([0.0,0.0,sfloat(s[1]),0.0,0.0,0.0,0.0,0.0,azm])    #beta-q, sig-0, sig-1, sig-2, sig-q, X, Y, Z
Note: See TracChangeset for help on using the changeset viewer.