- Timestamp:
- Aug 13, 2019 2:39:40 PM (3 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/NCNR_Utils.ipf
r1081 r1192 1935 1935 // a single digit -> string "3" to identify the proper wave in the lookup table 1936 1936 1937 // CGB is the three character identifier for the NGB30 SANS instrument 1938 // NGB is the 10m SANS instrument at NGB 1939 // NGA does not exist 1940 // NG5 hasn't existed for years 1941 // NG3 is used when old NG3SANS data is processed (pre-instrument move) 1942 1937 1943 attenNo = round(attenNo) 1938 1944 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VC_DetectorBinning_Utils.ipf
r1137 r1192 707 707 String folderStr,detStr 708 708 709 NVAR binWidth = root:Packages:NIST:VSANS:Globals:gBinWidth 710 709 711 Variable isVCALC 710 712 if(cmpstr(folderStr,"VCALC") == 0) … … 743 745 Print "Reset delta Q for binning the back detector to 4x pix = ",delQ 744 746 endif 747 748 // multiply the deltaQ by the binWidth (=multiple of pixels) 749 // this defaults to 1, and is set in VSANS preferences 750 delQ *= binWidth 745 751 746 752 // set the global -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Protocol_Reduction.ipf
r1177 r1192 3286 3286 String saveType = StringByKey("SAVE",avgStr,"=",";") //does user want to save data? 3287 3287 3288 NVAR gIgnoreBackDet = root:Packages:NIST:VSANS:Globals:gIgnoreDetB 3289 3290 3288 3291 If( (cmpstr(saveType[0,2],"Yes")==0) && (cmpstr(av_type,"none") != 0) ) 3289 3292 //then save … … 3366 3369 // remove the q=0 point from the back detector, if it's there 3367 3370 // does not trim any other points from the data 3368 V_RemoveQ0_B(activeType) 3371 if(!gIgnoreBackDet) 3372 V_RemoveQ0_B(activeType) 3373 endif 3369 3374 // V_Write1DData_ITX("root:Packages:NIST:VSANS:",activeType,newFileName,binType) 3370 3375 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Write_VSANS_QIS.ipf
r1168 r1192 290 290 291 291 switch(binType) 292 case 1: // 9 sets = 27 waves! ksBinType1292 case 1: // 9 sets 293 293 detList = ksBinType1 294 295 294 break 296 295 case 2: // 5 sets … … 300 299 detList = ksBinType3 301 300 break 302 case 4: // 9sets301 case 4: // 5 sets 303 302 detList = ksBinType4 304 303 break 305 304 case 5: // 4 sets 305 detList = ksBinType5 306 break 307 case 6: // 3 sets 308 detList = ksBinType6 309 break 310 case 7: // 4 sets 311 detList = ksBinType7 312 break 313 306 314 default: 307 315 // do nothing, just close
Note: See TracChangeset
for help on using the changeset viewer.