Changeset 764 for sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages
- Timestamp:
- Nov 24, 2010 4:23:13 PM (12 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/GeneticOptimization/NCNR_GenFitUtils.ipf
r705 r764 29 29 // X add the XOP to the distribution, or instructions (better to NOT bundle...) 30 30 // X odd bug where first "fit" fails on AppendToGraph as GenCurveFit is started. May need to disable /D flag 31 // 32 // -- need to pass back the chi-squared and number of points. "V_" globals don't appear 31 // X- need to pass back the chi-squared and number of points. "V_" globals don't appear 32 // -- add the flags to calculate the residuals (/R), and then manually append the residual wave to the graph. 33 // 33 34 // 34 35 // for the speed test. try writing my own wrapper for an unsmeared calculation, and see if it's still dog-slow. … … 258 259 // other useful flags: /N /DUMP /TOL /D=fitYw 259 260 // /OPT=1 seems to make no difference whether it's used or not 261 // /N does not speed anything up at all, and you get no feedback 262 // /R does work, generating "res_" wave, but the append must be "manual" 260 263 261 264 // append the fit … … 285 288 endif 286 289 if(useRes) 287 GenCurveFit/MAT /STRC=bar /X=bar.x[0] /I=1 /TOL=(kGenOp_tol) /W=sw /D=fitYw GeneticFit_SmearedModel,bar.y,bar.w,holdStr,limits290 GenCurveFit/MAT /STRC=bar /X=bar.x[0] /I=1 /TOL=(kGenOp_tol) /W=sw /D=fitYw /R GeneticFit_SmearedModel,bar.y,bar.w,holdStr,limits 288 291 break 289 292 endif -
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/Wrapper_v40.ipf
r762 r764 1060 1060 1061 1061 //if GenCurveFit used, V_startRow and V_endRow may not exist - so read the cursors? but the cursors may not be used, so 1062 // there won't be anything on the graph... 1062 // there won't be anything on the graph... but pt1 and pt2 are set and passed!. The V_ variables are more foolproof 1063 // so keep these for the "normal" report 1063 1064 // 1064 W_GenerateReport(funcStr,folderStr,$parStr,cw,yesSave,V_chisq,W_sigma,V_npnts,V_FitError,V_FitQuitReason,V_startRow,V_endRow,topGraph) 1065 if(useGenCurveFit) 1066 W_GenerateReport(funcStr,folderStr,$parStr,cw,yesSave,V_chisq,W_sigma,V_npnts,V_FitError,V_FitQuitReason,pt1,pt2,topGraph) 1067 else 1068 W_GenerateReport(funcStr,folderStr,$parStr,cw,yesSave,V_chisq,W_sigma,V_npnts,V_FitError,V_FitQuitReason,V_startRow,V_endRow,topGraph) 1069 endif 1065 1070 endif 1066 1071
Note: See TracChangeset
for help on using the changeset viewer.