Changeset 144 for sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files
- Timestamp:
- Aug 14, 2007 3:40:40 PM (15 years ago)
- Location:
- sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/GaussUtils.ipf
r132 r144 61 61 EndStructure 62 62 63 Function/S getHoldStr()64 65 String str="0010"66 return str67 End68 69 63 // utility used in the "PlotSmeared...() macros to get a list of data folders 70 64 // … … 89 83 index += 1 90 84 while(1) 85 86 // remove myGlobals from the folder list 87 if(type==4) 88 str = RemoveFromList("myGlobals", str , ";" ) 89 endif 91 90 92 91 return(str) … … 653 652 // returned from the interpolation (as expected) 654 653 655 Make/O/ N=(DimSize(resW, 0)) sigQ,qbar,shad,qvals654 Make/O/D/N=(DimSize(resW, 0)) sigQ,qbar,shad,qvals 656 655 sigq = resW[p][0] //std dev of resolution fn 657 656 qbar = resW[p][1] //mean q-value … … 684 683 ii=0 // loop counter 685 684 // do the calculation as a single pass w/AAO function 686 Make/O/ N=(nord) Resoln,yyy,xGauss685 Make/O/D/N=(nord) Resoln,yyy,xGauss 687 686 do 688 687 // calculate Gauss points on integration interval (q-value for evaluation) … … 904 903 905 904 Print "in SANSModelAAO_proto function" 905 return(1) 906 end 907 908 // prototype function for fit wrapper 909 // it intentionally does nothing 910 Function SANSModelSTRUCT_proto(s) 911 Struct ResSmearAAOStruct &s 912 913 Print "in SANSModelSTRUCT_proto function" 906 914 return(1) 907 915 end -
sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v3.00/Sphere.ipf
r138 r144 199 199 // ?? how can I get the hold string in correctly?? - from a global? - no, as string function 200 200 // 201 FuncFit/H=getHoldStr() /NTHR=0 SmearedSphereForm cw, yw /X=xw /W=sw /I=1 /D=$(DF+"FitYw") /STRC=fs 201 FuncFit/H=getHoldStr() /NTHR=0 SmearedSphereForm, cw, yw /X=xw /W=sw /I=1 /STRC=fs 202 // FuncFit/H=getHoldStr() /NTHR=0 SphereForm cw, yw /X=xw /W=sw /I=1 /D=$(DF+"FitYw") 202 203 203 204 // FuncFit/H="0010"/NTHR=0 SmearedSphereForm cw, yw /X=xw /W=sw /I=1 /D=$(DF+"FitYw") /STRC=fs 204 205 AppendToGraph $(DF+"FitYw") vs xw 205 Wave fityw = $(DF+"FitYw") 206 fs.yW = fityw 207 SmearedSphereForm(fs) 208 AppendToGraph fityw vs xw 206 209 207 210 print "V_chisq = ",V_chisq … … 212 215 return(0) 213 216 End 217 218 Function/S getHoldStr() 219 220 String str="0010" 221 return str 222 End
Note: See TracChangeset
for help on using the changeset viewer.