- Timestamp:
- Aug 25, 2010 5:38:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NSORT.ipf
r715 r729 320 320 //the scale factor is the return value 321 321 // 322 Function GetScalingInOverlap(num2,wave1q,wave1i,wave2q,wave2i)322 Function NCNR_GetScalingInOverlap(num2,wave1q,wave1i,wave2q,wave2i) 323 323 Variable num2 //largest point number of wave2 in overlap region 324 324 Wave wave1q,wave1i,wave2q,wave2i //1 = first dataset, 2= second dataset … … 1021 1021 endif 1022 1022 //do auto-scaling of data 1023 norm12 = GetScalingInOverlap(num2,lowq,lowi,medq,medi)1023 norm12 = NCNR_GetScalingInOverlap(num2,lowq,lowi,medq,medi) 1024 1024 //Set the global variable for the 1-2 scale factor 1025 1025 Variable/G root:myGlobals:NSORT:gScale1_2 = norm12 … … 1113 1113 endif 1114 1114 //do auto-scaling of data 1115 norm23 = GetScalingInOverlap(num2,q12,i12,highq,highi)1115 norm23 = NCNR_GetScalingInOverlap(num2,q12,i12,highq,highi) 1116 1116 //Set the global variable for the 12 - 3 scale factor 1117 1117 Variable/G root:myGlobals:NSORT:gScale2_3 = norm23 … … 1230 1230 endif 1231 1231 //do auto-scaling of data 1232 norm12 = GetScalingInOverlap(num2,lowq,lowi,medq,medi)1232 norm12 = NCNR_GetScalingInOverlap(num2,lowq,lowi,medq,medi) 1233 1233 //Set the global variable for the 1-2 scale factor 1234 1234 Variable/G root:myGlobals:NSORT:gScale1_2 = norm12 … … 1355 1355 endif 1356 1356 //do auto-scaling of data 1357 norm23 = GetScalingInOverlap(num2,q12,i12,highq,highi)1357 norm23 = NCNR_GetScalingInOverlap(num2,q12,i12,highq,highi) 1358 1358 //Set the global variable for the 12 - 3 scale factor 1359 1359 Variable/G root:myGlobals:NSORT:gScale2_3 = norm23
Note: See TracChangeset
for help on using the changeset viewer.