- Timestamp:
- Oct 6, 2017 12:45:51 PM (5 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VC_DetectorBinning_Utils.ipf
r1064 r1070 773 773 // 774 774 // 775 // TODO: 776 // -- some of the input parameters for the resolution calcuation are either assumed (apOff) or are currently 777 // hard-wired. these need to be corrected before even the pinhole resolution is correct 778 // x- resolution calculation is in the correct place. The calculation is done per-panel (specified by TYPE), 779 // and then the unwanted points can be discarded (all 6 columns) as the data is trimmed and concatenated 780 // is separate functions that are resolution-aware. 781 // 775 782 // 776 783 // folderStr = WORK folder, type = the binning type (may include multiple detectors) … … 1170 1177 // TODO: 1171 1178 // -- the iErr (=2D) wave and accumulation of error is NOT CALCULATED CORRECTLY YET 1172 // -- the solid angle per pixel is not completely implemented. 1173 // it will be present for WORK data other than RAW, but not for RAW 1174 1179 // 1180 // The 1D error does not use iErr, and IS CALCULATED CORRECTLY 1181 // 1182 // x- the solid angle per pixel will be present for WORK data other than RAW, but not for RAW 1183 1184 // 1175 1185 // if any of the masks don't exist, display the error, and proceed with the averaging, using all data 1176 1186 if(maskMissing == 1) … … 1394 1404 1395 1405 // S2 = sample aperture diameter [mm] 1396 S2 = V_getSampleAp2_size(folderStr)*10 // sample ap 1 or 2? the "external"may not exist?1406 S2 = V_getSampleAp2_size(folderStr)*10 // sample ap 1 or 2? 2 = the "external", but may not exist? 1397 1407 1398 1408 // L1 = source to sample distance [m] … … 1400 1410 1401 1411 // L2 = sample to detector distance [m] 1402 L2 = V_getDet_ActualDistance(folderStr,type[0]+"L")/100 //TODO "L" panel is hard wired and is WRONG 1412 // take the first two characters of the "type" to get the correct distance. 1413 // if the type is say, MLRTB, then the implicit assumption in combining all four panels is that the resolution 1414 // is not an issue for the slightly different distances. 1415 L2 = V_getDet_ActualDistance(folderStr,type[0,1])/100 //convert cm to m 1403 1416 1404 1417 // BS = beam stop diameter [mm] -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Menu.ipf
r1057 r1070 46 46 // "IgorOnly_Save_SANS_Struct" 47 47 "Copy_VCALC_to_VSANSFile",Copy_VCALC_to_VSANSFile() 48 "Flip Lateral Offset",V_PatchDet_Offset() 49 "Patch GroupID using CatTable",V_Patch_GroupID_catTable() 50 "Patch Purpose using CatTable",V_Patch_Purpose_catTable() 51 "Patch Intent using CatTable",V_Patch_Intent_catTable() 48 52 "-" 49 53 "Setup_VSANS_DIV_Struct" -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_PatchFiles.ipf
r1064 r1070 2334 2334 2335 2335 2336 Proc V_PatchDet_Offset(lo,hi) 2337 Variable lo,hi 2338 2339 V_fPatchDet_Offset(lo,hi) 2340 End 2341 2342 // V_fReadDet_Offset(lo,hi) 2343 2344 Proc V_Patch_GroupID_catTable() 2345 V_fPatch_GroupID_catTable() 2346 end 2347 2348 Proc V_Patch_Purpose_catTable() 2349 V_fPatch_Purpose_catTable() 2350 end 2351 2352 Proc V_Patch_Intent_catTable() 2353 V_fPatch_Intent_catTable() 2354 end 2355 2356 2336 2357 // simple utility to patch the offset values in the file headers 2337 2358 // … … 2435 2456 End 2436 2457 2437 V_fPatch_GroupID_catTable()2438 V_fPatch_Purpose_catTable()2439 V_fPatch_Intent_catTable()2440 2458 2441 2459 // patches the Purpose, based on whatever is in the catTable
Note: See TracChangeset
for help on using the changeset viewer.