- Timestamp:
- Oct 18, 2018 12:09:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_Testing_Data_Procs.ipf
r1106 r1117 86 86 if(cmpstr(detStr,"B") == 0) 87 87 //always write out the center of the detector since this is dummy data 88 V_writeDet_beam_center_x(fileName,detStr,V_getDet_beam_center_x("VCALC",detStr)/10) //write out [cm] 89 V_writeDet_beam_center_y(fileName,detStr,V_getDet_beam_center_y("VCALC",detStr)/10) 88 // the back detector always has its beam center in pixels 89 V_writeDet_beam_center_x(fileName,detStr,V_getDet_beam_center_x("VCALC",detStr)) 90 V_writeDet_beam_center_y(fileName,detStr,V_getDet_beam_center_y("VCALC",detStr)) 90 91 91 92 // write out the number of pixels x and y … … 115 116 116 117 117 // writes out "perfect" detector calibration constants for all 8 tube banks 118 // writes out "perfect" detector calibration constants for all 8 tube banks + back detector 118 119 V_WritePerfectSpatialCalib(filename) 119 120 // writes out "perfect" dead time constants for all 8 tube banks + back detector … … 195 196 196 197 // and for the back detector "B" 198 NVAR gHighResBinning = root:Packages:NIST:VSANS:Globals:gHighResBinning 199 Variable tmpPix 200 if(gHighResBinning == 1) 201 tmpPix = 0.00845 //[cm] 202 else 203 //binning 4x4 assumed 204 tmpPix = 0.034 205 endif 206 197 207 Make/O/D/N=3 tmpCalib 198 tmpCalib[0] = 1208 tmpCalib[0] = tmpPix 199 209 tmpCalib[1] = 1 200 210 tmpcalib[2] = 10000
Note: See TracChangeset
for help on using the changeset viewer.