Changeset 2644 for trunk/GSASIIpwdGUI.py
- Timestamp:
- Jan 18, 2017 10:46:30 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpwdGUI.py
r2634 r2644 920 920 921 921 def OnBkgFit(event): 922 922 923 def SetInstParms(Inst): 923 924 dataType = Inst['Type'][0] … … 930 931 if parm in ['U','V','W','X','Y','SH/L','I(L2)/I(L1)','alpha', 931 932 'beta-0','beta-1','beta-q','sig-0','sig-1','sig-2','sig-q',] and Inst[parm][2]: 932 insVary.append(parm) 933 Inst[parm][2] = False 934 # insVary.append(parm) 933 935 instDict = dict(zip(insNames,insVals)) 934 936 instDict['X'] = max(instDict['X'],0.01) … … 964 966 965 967 # load instrument and background params 968 print ' NB: Any instrument parameter refinement flags will be cleared' 966 969 dataType,insDict,insVary = SetInstParms(inst) 967 970 bakType,bakDict,bakVary = G2pwd.SetBackgroundParms(background) … … 986 989 parmDict.update(bakDict) 987 990 parmDict.update(insDict) 988 pwddata[3] *= 0989 pwddata[5] *= 0991 pwddata[3][xBeg:xFin] *= 0. 992 pwddata[5][xBeg:xFin] *= 0. 990 993 pwddata[4][xBeg:xFin] = G2pwd.getBackground( 991 994 '',parmDict,bakType,dataType,xdata)[0]
Note: See TracChangeset
for help on using the changeset viewer.