Changeset 985
- Timestamp:
- Mar 11, 2016 4:13:46 PM (7 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/Nexus_VSANS_Write.ipf
r981 r985 75 75 76 76 77 Redimension/N=(1, 320,320) root:V_Nexus_Template:entry:entry1:instrument:detector_B:data77 Redimension/N=(1,150,150) root:V_Nexus_Template:entry:entry1:instrument:detector_B:data 78 78 root:V_Nexus_Template:entry:entry1:instrument:detector_B:data[0][][] = root:Packages:NIST:VSANS:VCALC:Back:det_B[q][r] 79 79 root:V_Nexus_Template:entry:entry1:instrument:detector_B:distance = VCALC_getSDD("B") -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VC_DetectorBinning_Q.ipf
r982 r985 972 972 // TODO (make the N along the tube length a variable, since this can be reset @ acquisition) 973 973 // SetDataFolder root:Packages:NIST:VSANS:VCALC:Back 974 WAVE det_B = $(folderPath+instPath+"B"+":det_B") // this is nominally ( 320,320)974 WAVE det_B = $(folderPath+instPath+"B"+":det_B") // this is nominally (150,150) 975 975 976 976 //Back detector … … 992 992 pixSizeY = VCALC_getPixSizeY("B") 993 993 994 xCtr = trunc( DimSize(det_B,0)/2 ) //should be 1 60995 yCtr = trunc( DimSize(det_B,1)/2 ) //should be 1 60994 xCtr = trunc( DimSize(det_B,0)/2 ) //should be 150/2=75 995 yCtr = trunc( DimSize(det_B,1)/2 ) //should be 150/2=75 996 996 VC_Detector_2Q(det_B,qTot_B,qx_B,qy_B,qz_B,xCtr,yCtr,sdd,lam,pixSizeX,pixSizeY) 997 997 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VC_HDF5_VSANS_Utils.ipf
r984 r985 264 264 Make/O/T/N=1 name = "NG3_VSANS" 265 265 NewDataFolder/O/S root:VSANS_DIV_file:entry:instrument:detector_B 266 Make/O/D/N=( 320,320) data = abs(gnoise(10))267 Make/O/D/N=( 320,320) linear_data_error = 0.01*abs(gnoise(10))266 Make/O/D/N=(150,150) data = abs(gnoise(10)) 267 Make/O/D/N=(150,150) linear_data_error = 0.01*abs(gnoise(10)) 268 268 NewDataFolder/O/S root:VSANS_DIV_file:entry:instrument:detector_MR 269 269 Make/O/D/N=(48,128) data = abs(gnoise(10)) -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VC_VCALCPanel_MockUp.ipf
r983 r985 786 786 787 787 //// BACK DETECTOR 788 Variable/G gBack_w = 320 //w and h for the back detector, (mm)789 Variable/G gBack_h = 320788 Variable/G gBack_w = 150 //w and h for the back detector, (mm) 150 pix * 1mm/pix 789 Variable/G gBack_h = 150 790 790 791 791 Make/O/D/N=1 :entry:entry:instrument:detector_B:x_pixel_size = 0.1 // 1mm resolution (units of cm here) … … 794 794 // Variable/G gBack_pixelY = 0.1 795 795 796 Make/O/D/N=1 :entry:entry:instrument:detector_B:pixel_num_x = 320 // detector pixels in x-direction797 Make/O/D/N=1 :entry:entry:instrument:detector_B:pixel_num_y = 320798 // Variable/G gBack_nPix_X = 320799 // Variable/G gBack_nPix_Y = 320796 Make/O/D/N=1 :entry:entry:instrument:detector_B:pixel_num_x = 150 // detector pixels in x-direction 797 Make/O/D/N=1 :entry:entry:instrument:detector_B:pixel_num_y = 150 798 // Variable/G gBack_nPix_X = 150 799 // Variable/G gBack_nPix_Y = 150 800 800 801 801 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_HDF5_RW_Utils.ipf
r984 r985 163 163 SetDataFolder root:Packages:NIST:VSANS:RAW:entry:entry:instrument:detector_B 164 164 Wave det_B=data 165 Redimension/N=( 320,320)/E=1 det_B165 Redimension/N=(150,150)/E=1 det_B 166 166 Redimension/D det_B 167 167 // det_B = p+q+2 … … 291 291 292 292 // fake beam center values 293 V_putDet_beam_center_x("RAW","B", 160)294 V_putDet_beam_center_y("RAW","B", 160)293 V_putDet_beam_center_x("RAW","B",75) 294 V_putDet_beam_center_y("RAW","B",75) 295 295 296 296 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_NexusFromIgor.ipf
r969 r985 333 333 334 334 NewDataFolder/O/S root:VSANS_file:entry1:instrument:detector_B 335 Make/O/I/N=( 320,320) data = trunc(abs(gnoise(p+q)))336 //Make/O/D/N=( 320,320) //data_error = 0.01*abs(gnoise(p+q))335 Make/O/I/N=(150,150) data = trunc(abs(gnoise(p+q))) 336 //Make/O/D/N=(150,150) //data_error = 0.01*abs(gnoise(p+q)) 337 337 Make/O/D/N=1 nx_distance = 21.1 338 338 Make/O/T/N=1 description = "fancy model" … … 346 346 //Make/O/D/N=1 //flatfield_applied = 0 347 347 //Make/O/D/N=1 //countrate_correction_applied = 0 348 Make/O/D/N=( 320,320) pixel_mask = 0348 Make/O/D/N=(150,150) pixel_mask = 0 349 349 Make/O/I/N=1 integrated_count = 100111222 350 350 Make/O/D/N=1 lateral_offset = 20 351 Make/O/I/N=1 PixelNumX = 320352 Make/O/I/N=1 PixelNumY = 320351 Make/O/I/N=1 PixelNumX = 150 352 Make/O/I/N=1 PixelNumY = 150 353 353 Make/O/D/N=1 PixelFWHM = 0.5 354 354 Make/O/D/N=3 CALX = {0.5,0.5,10000} … … 587 587 588 588 NewDataFolder/O/S root:VSANS_file:entry1:data_B 589 Make/O/I/N=( 320,320) data = trunc(abs(gnoise(p+q)))590 //Make/O/D/N=( 320,320) //error = 0.01*abs(gnoise(p+q))591 Make/O/D/N=2 variables = { 320,320}592 Make/O/I/N=( 320,320) data_image = p589 Make/O/I/N=(150,150) data = trunc(abs(gnoise(p+q))) 590 //Make/O/D/N=(150,150) //error = 0.01*abs(gnoise(p+q)) 591 Make/O/D/N=2 variables = {150,150} 592 Make/O/I/N=(150,150) data_image = p 593 593 NewDataFolder/O/S root:VSANS_file:entry1:data_MR 594 594 Make/O/i/N=(48,256) data = trunc(abs(gnoise(p+q))) … … 1799 1799 integrated_count = 100111222 1800 1800 lateral_offset = 20 1801 PixelNumX = 3201802 PixelNumY = 3201801 PixelNumX = 150 1802 PixelNumY = 150 1803 1803 PixelFWHM = 0.5 1804 1804 CALX = {0.5,0.5,10000} … … 2039 2039 data = trunc(abs(gnoise(p+q))) 2040 2040 //WAVE //error = 0.01*abs(gnoise(p+q)) 2041 variables = { 320,320}2041 variables = {150,150} 2042 2042 data_image = p 2043 2043 SetDataFolder root:VSANS_file:entry1:data_MR
Note: See TracChangeset
for help on using the changeset viewer.