Changeset 427 for sans/Dev/trunk
- Timestamp:
- Oct 10, 2008 3:46:24 PM (14 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/Wrapper_v40.ipf
r411 r427 677 677 SVAR listStr=root:Packages:NIST:coefKWStr 678 678 String properCoefStr = StringByKey(funcStr, listStr ,"=",";",0) 679 if(cmpstr("",properCoefStr)==0) 680 return(0) //false, no match found, so properCoefStr is returned null 681 endif 679 682 if(cmpstr(coefStr,properCoefStr)==0) 680 683 return(1) //true, the coef is the correct match … … 795 798 // dispatch the fit 796 799 do 800 // Variable t0 = stopMStimer(-2) // corresponding print is at the end of the do-while loop (outside) 801 797 802 if(useRes && useEps && useCursors && useConstr) //do it all 798 803 FuncFit/H=getHStr(hold) /NTHR=0 $funcStr cw, yw[pcsr(A),pcsr(B)] /X=xw /W=sw /I=1 /E=eps /D=fitYw /C=constr /STRC=fs … … 891 896 892 897 while(0) 898 899 // t0 = (stopMSTimer(-2) - t0)*1e-6 900 // Printf "fit time = %g seconds\r\r",t0 893 901 894 902 // append the fit -
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/PlotManager/PlotUtilsMacro_v40.ipf
r420 r427 70 70 SetDataFolder root: //build sub-folders for each data set under root 71 71 72 if (exists("root:Packages:NIST:USANS:Globals:MainPanel: gDQv"))72 if (exists("root:Packages:NIST:USANS:Globals:MainPanel:dQv")) 73 73 //Running from USANS reduction 74 Variable dQv = root:Packages:NIST:USANS:Globals:MainPanel: gDQv75 endif 76 if(exists("root:Packages:NIST:USANS_ gDQv"))74 Variable dQv = root:Packages:NIST:USANS:Globals:MainPanel:dQv 75 endif 76 if(exists("root:Packages:NIST:USANS_dQv")) 77 77 //Running from SANS Analysis 78 Variable dQv = root:Packages:NIST:USANS_ gDQv78 Variable dQv = root:Packages:NIST:USANS_dQv 79 79 endif 80 80 … … 96 96 LoadWave/G/D/A/Q fileStr 97 97 String fileNamePath = S_Path+S_fileName 98 String basestr = ParseFilePath(3,ParseFilePath(5,fileNamePath,":",0,0),":",0,0) 99 print "basestr :"+basestr 98 // String basestr = ParseFilePath(3,ParseFilePath(5,fileNamePath,":",0,0),":",0,0) 99 String baseStr = CleanupName(S_fileName,0) 100 // print "basestr :"+basestr 100 101 String fileName = ParseFilePath(0,ParseFilePath(5,filestr,":",0,0),":",1,0) 101 print "filename :"+filename102 // print "filename :"+filename 102 103 Variable numCols = V_flag 103 104
Note: See TracChangeset
for help on using the changeset viewer.