neutrons / PyVDrive

A data reduction and analysis software for (SNS) VULCAN based on PyQt.
2 stars 0 forks source link

Vanadium normalization for single crystal data #176

Open wdzhou opened 5 years ago

wdzhou commented 5 years ago

Vanadium Load(Filename='/SNS/VULCAN/IPTS-22752/nexus/VULCAN_172254.nxs.h5')

172254 | IPTS-22752 | V, 20Hz, HR, 3mm plate, for LPSD | 12h

Background: /SNS/VULCAN/IPTS-22753/nexus/VULCAN_172362.nxs.h5

Diamond with mask IPTS-22753, Run 172361, 172362 (background)

Dimaond with background IPTS-22752, Run 172439, 172441

Need

  1. binning along tube
  2. GSAS file per tube (high angle bank)
  3. Normalized intensity to D profile (high angle bank per tube)
wdzhou commented 5 years ago
Load(Filename='/SNS/VULCAN/IPTS-22752/nexus/VULCAN_172254.nxs.h5', OutputWorkspace='van')
ConvertUnits(InputWorkspace='van', OutputWorkspace='van', Target='Wavelength')
Rebin(InputWorkspace='van', OutputWorkspace='van', Params='-0.001')
SumSpectra(InputWorkspace='van', OutputWorkspace='van_sum_lambda_high_angle', StartWorkspaceIndex=6467)
FFTSmooth(InputWorkspace='van_sum_lambda_high_angle', OutputWorkspace='smooth2', Filter='Butterworth', Params='5,10', IgnoreXBins=True)

2D instrument view on high angle bank

Result is saved at: /SNS/VULCAN/IPTS-22752/shared/single_crystal_normalization