- Timestamp:
- Feb 13, 2009 3:24:12 PM (14 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/GlobalFit
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/GlobalFit/GlobalFit2_NCNR_v40.ipf
r394 r475 4880 4880 String topGraph,GF_resultStr 4881 4881 4882 // String/G root:inputStr=GF_resultStr 4883 4882 4884 String nb = "GF_Report" 4883 4885 String str="" … … 4892 4894 4893 4895 //setup 4894 Notebook $nb defaultTab= 36, statusWidth=252, pageMargins={44,44,44,44} //44 points = 0.6" margin all around4895 Notebook $nb showRuler=1, rulerUnits=1 , updating={1, 60}4896 Notebook $nb newRuler=Normal, justification=0, margins={0,0,524}, spacing={0,0,0}, tabs={},rulerDefaults={"Geneva",10,0,(0,0,0)}4896 Notebook $nb defaultTab=18, statusWidth=252, pageMargins={44,44,44,44} //44 points = 0.6" margin all around 4897 Notebook $nb showRuler=1, rulerUnits=1 4898 Notebook $nb newRuler=Normal, justification=0, margins={0,0,524}, spacing={0,0,0}, rulerDefaults={"Geneva",10,0,(0,0,0)} 4897 4899 // 4898 4900 // insert title … … 4911 4913 SetDataFolder $("root:"+dataFileStr+":") 4912 4914 paramStr = WaveList("*param*_"+suffix, "", "TEXT:1," ) 4913 Wave/T pw = $paramStr4915 Wave/T/Z pw = $paramStr 4914 4916 num=numpnts(pw) 4917 4918 // String/G root:beforeStr=GF_resultStr 4919 //SRK clean up text a bit 4920 GF_resultStr = ReplaceString("data set ",GF_resultStr, "", 1) //case-sensitive 4921 4922 for(ii=0;ii<num;ii+=1) 4923 GF_resultStr = ReplaceString("; Coef_"+num2str(ii), GF_resultStr,"") 4924 endfor 4925 //eSRK 4915 4926 for(ii=0;ii<num;ii+=1) 4916 4927 GF_resultStr = ReplaceString("Coef_"+num2str(ii), GF_resultStr, pw[ii]) 4917 4928 endfor 4929 4930 // String/G root:afterStr=GF_resultStr 4931 4918 4932 SetDataFolder $savDF 4919 4933 4920 4934 Notebook $nb ruler=Normal 4921 Notebook $nb margins={0,0,524}, tabs={63 + 3*8192}4935 Notebook $nb margins={0,0,524} 4922 4936 Notebook $nb text=GF_resultStr 4937 Notebook $nb text="\r" 4923 4938 4924 4939 //the graph … … 4949 4964 return(0) 4950 4965 end 4951 4952
Note: See TracChangeset
for help on using the changeset viewer.