-
Notifications
You must be signed in to change notification settings - Fork 3
SANS Data Reduction Steps
ajj edited this page Jun 24, 2011
·
1 revision
The SANS data reduction pipeline is very simple.
- convert data to Measurement object newdata=Measurement(data) data[i,j]=Measurement(counts, variance_counts), where i,j represent coordinates of a pixel on the detector.
- Convert to a monitor of 10^8 . To do this, multiply newdata=data*mon0/mon, where mon0 is original monitor, given by metadata[run.moncnt] and mon is the new monitor and mon=1e8.
- Solid Angle Correction
- Dead Time Correction
- You are given Transmission_{s+c}, Transmission_{c}, and Transmission_{E}. You make these Measurements, then (T_{s+c}=Sum(Transmission_{s+c})/Sum(Transmission{Empty}), where these are summed over a box defined by its bottom left and top right corner. Similarly, for T_c
- \(\Sigma_{cor}\) =(I_{sample+background}-I_{blocked_beam})/T_{sample+cell}-(I_{empty_cell}-I_{blocked_beam})/T_{cell}
- Generate the normalized_detector_sensitivity "image" by taking a plexiglass measurement file (turning it into a measurement) and dividing it my its mean intensity.
- \(I_{cal}=\frac{\Sigma_{cor}}{I_{normalized\_detector\_sensitivity\_measurement}} \)
- Put on absolute scale (units of \( cm^{-1} \))
- Convert to Q
- Radial Averaging
Each pixel is a square and 0.508 cm on a side There are 128x128 pixels.
Pixel size should be stored in det.calx1 and det.caly1 but it seems that the example data at least has the old, incorrect, value of 0.50 cm
The origin for the detector is at the bottom left corner. The center of the beam is given by (det.beamx,det.beamy). L2 is given by det.dis in metadata returned from data.py