- Timestamp:
- Feb 5, 2010 4:15:18 PM (13 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/MultScatter_MonteCarlo_2D.ipf
r622 r630 1364 1364 1365 1365 NVAR rawCts = root:Packages:NIST:SAS:gRawCounts 1366 if(!rawCts) //go ahead and do the linear scaling1366 if(!rawCts) //go ahead and do the abs scaling to the linear_data 1367 1367 linear_data = linear_data / kappa 1368 1368 linear_data /= detectorEff 1369 endif 1369 endif 1370 1371 // add a signature to the data file to tag as a simulation 1372 linear_data[0][0] = 1 1373 linear_data[2][0] = 1 1374 linear_data[0][2] = 1 1375 linear_data[1][1] = 1 1376 // linear_data[2][2] = 1 1377 linear_data[1][0] = 0 1378 // linear_data[2][1] = 0 1379 linear_data[0][1] = 0 1380 // linear_data[1][2] = 0 1381 1370 1382 data = linear_data 1371 1372 1383 // re-average the 2D data 1373 1384 S_CircularAverageTo1D("SAS") -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/SASCALC.ipf
r605 r630 1146 1146 Wave mask = $(destPath + ":mask") 1147 1147 mask = 0 1148 //t wopixels all around1149 mask[0, 1][] = 11150 mask[12 6,127][] = 11151 mask[][0, 1] = 11152 mask[][12 6,127] = 11148 //three pixels all around 1149 mask[0,2][] = 1 1150 mask[125,127][] = 1 1151 mask[][0,2] = 1 1152 mask[][125,127] = 1 1153 1153 // 1154 1154 //pixels within rcentr of beam center are broken into 9 parts (units of mm)
Note: See TracChangeset
for help on using the changeset viewer.