Changeset 4388


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

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r4373 r4388  
    57335733        '''
    57345734        dlg = wx.DirDialog(self, "Choose a directory for tutorial downloads:",
    5735                            defaultPath=self.tutorialPath)#,style=wx.DD_DEFAULT_STYLE)
    5736                            #)
     5735            defaultPath=self.tutorialPath)#,style=wx.DD_DEFAULT_STYLE)
    57375736        try:
    57385737            if dlg.ShowModal() != wx.ID_OK:
  • 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.