Changeset 47 for sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00/CircSectAve.ipf
- Timestamp:
- Feb 6, 2007 3:58:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00/CircSectAve.ipf
r41 r47 104 104 // 105 105 //pixels within rcentr of beam center are broken into 9 parts (units of mm) 106 rcentr = 100 106 rcentr = 100 //original 107 // rcentr = 0 107 108 // values for error if unable to estimate value 108 109 //large_num = 1e10 … … 299 300 else 300 301 //large arg, exact correction 301 aveint[ii] *= uval*arg/(1-exp(-uval*arg))302 aveint[ii] /= (1-exp(-uval*arg))/(uval*arg) 302 303 endif 303 304 ii+=1 … … 392 393 //get rid of the default mask, if one was created (it is in the current folder) 393 394 //don't just kill "mask" since it might be pointing to the one in the MSK folder 394 Killwaves/ z$(destPath+":mask")395 Killwaves/Z $(destPath+":mask") 395 396 396 397 //return to root folder (redundant) … … 423 424 //function determines azimuthal angle dphi that a vector connecting 424 425 //center of detector to pixel makes with respect to vector 425 //at chosen azimuthal angle phi -> [cos(phi),sin(phi 0] = [phi_x,phi_y]426 //at chosen azimuthal angle phi -> [cos(phi),sin(phi)] = [phi_x,phi_y] 426 427 //dphi is always positive, varying from 0 to Pi 427 428 //
Note: See TracChangeset
for help on using the changeset viewer.