- Timestamp:
- Nov 24, 2010 4:23:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ILL_Utils.ipf
r750 r764 195 195 // this run number should be a unique identifier for the file 196 196 // 197 198 // 197 199 Function GetRunNumFromFile(item) 198 200 String item … … 202 204 String runStr="" 203 205 204 runstr = item 206 runStr = ParseFilePath(0, item, ":", 1, 0) 207 // runstr = item 205 208 num = str2num(runstr) 206 209 … … 229 232 retStr=invalid 230 233 231 retstr = item234 retstr = ParseFilePath(0, item, ":", 1, 0) 232 235 //your code here 233 236 … … 334 337 Function/S RunDigitString(num) 335 338 Variable num 336 339 337 340 // String fullName="",partialName="",item="" 338 341 // String numStr="" … … 361 364 // endswitch 362 365 // 363 366 364 367 String numStr="" 365 368 … … 1049 1052 ff= 0.9993575- 0.0002320264*abs(theta) + 9.751713e-5*abs(theta^2) + 1.018564e-5*abs(theta^3) -3.977445e-7*abs(theta^4) +2.960205e-9*abs(theta^5) 1050 1053 endif 1054 ff= 0.9992674-0.0001808763*abs(theta) +8.134414e-05*abs(theta^2) +1.151734e-05*abs(theta^3) - 4.401022e-07*abs(theta^4)+3.71246e-09*abs(theta^5) 1051 1055 1052 1056 return(ff)
Note: See TracChangeset
for help on using the changeset viewer.