- Timestamp:
- Dec 16, 2009 9:34:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/Invariant/Invariant_v40.ipf
r570 r616 154 154 155 155 Make/O/D G_coef={100,-100} //input 156 FuncFit Guinier_Fit G_coef iw[0,(nbeg-1)] / X=qw /W=sw /D156 FuncFit Guinier_Fit G_coef iw[0,(nbeg-1)] /I=1 /X=qw /W=sw /D 157 157 extr_lqi= Guinier_Fit(G_coef,extr_lqq) 158 158 … … 162 162 Make/O/D P_coef={0,1,-4} //input 163 163 //(set background to zero and hold fixed) 164 CurveFit/H="100" Power kwCWave=P_coef iw[(num-1-nend),(num-1)] / X=qw /W=sw /D164 CurveFit/H="100" Power kwCWave=P_coef iw[(num-1-nend),(num-1)] /I=1 /X=qw /W=sw /D 165 165 extr_hqi=P_coef[0]+P_coef[1]*extr_hqq^P_coef[2] 166 166 … … 391 391 if(yesGuinier) 392 392 Make/O/D G_coef={1000,-1000} //input 393 FuncFit Guinier_Fit G_coef iw[0,(nbeg-1)] / X=qw /W=sw /D393 FuncFit Guinier_Fit G_coef iw[0,(nbeg-1)] /I=1 /X=qw /W=sw /D 394 394 extr_lqi= Guinier_Fit(G_coef,extr_lqq) 395 395 … … 400 400 Make/O/D P_coef={0,1,-1} //input 401 401 //(set background to zero and hold fixed) 402 CurveFit/H="100" Power kwCWave=P_coef iw[0,(nbeg-1)] / X=qw /W=sw /D402 CurveFit/H="100" Power kwCWave=P_coef iw[0,(nbeg-1)] /I=1 /X=qw /W=sw /D 403 403 extr_lqi=P_coef[0]+P_coef[1]*extr_lqq^P_coef[2] 404 404 // … … 461 461 if(V_Value == 1) 462 462 //hold the slope fixed, and the background 463 CurveFit/H="101" Power kwCWave=P_coef iw[(num-1-nend),(num-1)] / X=qw /W=sw /D463 CurveFit/H="101" Power kwCWave=P_coef iw[(num-1-nend),(num-1)] /I=1 /X=qw /W=sw /D 464 464 else 465 465 //(set background to zero and hold fixed) 466 CurveFit/H="100" Power kwCWave=P_coef iw[(num-1-nend),(num-1)] / X=qw /W=sw /D466 CurveFit/H="100" Power kwCWave=P_coef iw[(num-1-nend),(num-1)] /I=1 /X=qw /W=sw /D 467 467 endif 468 468
Note: See TracChangeset
for help on using the changeset viewer.