Ticket #8743 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Correction to cylindrical profile integration

Reported by: Vickie Lynch Owned by: Vickie Lynch
Priority: major Milestone: Release 3.1
Component: Framework Keywords:
Cc: ajschultz2@… Blocked By:
Blocking: Tester: Wenduo Zhou

Description (last modified by Vickie Lynch) (diff)

Art Shultz found error in profile integration.  Integral should be Peak - (peak width)/ (background width) * Background.  Error should be sqrt(Peak + ((peak width)/ (background width))^2 * Background).

Change History

comment:1 Changed 7 years ago by Vickie Lynch

Refs #8743 normalize background for cylinder integration

Changeset: e6376616fb6e06b1aa2e417b3b0681b3c515852d

comment:2 Changed 7 years ago by Vickie Lynch

Refs #8743 correct background indices

Changeset: d493616025c737f71ca6a02a3493d9da74b2dda7

comment:3 Changed 7 years ago by Vickie Lynch

  • Status changed from new to inprogress
  • Description modified (diff)

comment:4 Changed 7 years ago by Vickie Lynch

  • Status changed from inprogress to verify
  • Cc ajschultz2@… added
  • Resolution set to fixed

To Test:

Load(Filename='TOPAZ_6674_event.nxs',OutputWorkspace='TOPAZ_6674_event',FilterByTofMin='2000',FilterByTofMax='16500',LoadMonitors='1',MonitorsAsEvents='1')
ConvertToDiffractionMDWorkspace(InputWorkspace='TOPAZ_6674_event',OutputWorkspace='TOPAZ_6674_MD',OutputDimensions='Q (sample frame)',SplitThreshold='50',MaxRecursionDepth='11')
FindPeaksMD(InputWorkspace='TOPAZ_6674_MD',PeakDistanceThreshold='0.471',MaxPeaks='100',OutputWorkspace='peaks_ws')
CentroidPeaksMD(InputWorkspace='TOPAZ_6674_MD',PeaksWorkspace='peaks_ws',OutputWorkspace='peaks_ws')
FindUBUsingFFT(PeaksWorkspace='peaks_ws',MinD='4',MaxD='12',Tolerance='0.12')
IndexPeaks(PeaksWorkspace='peaks_ws',Tolerance='0.12')
SelectCellOfType(PeaksWorkspace='peaks_ws',CellType='Rhombohedral',Centering='R')
IntegratePeaksMD(InputWorkspace='TOPAZ_6674_MD',CoordinatesToUse='Q (sample frame)',PeakRadius='0.1',PeaksWorkspace='peaks_ws',OutputWorkspace='peaks_ws_sphere')
IntegratePeaksMD(InputWorkspace='TOPAZ_6674_MD',CoordinatesToUse='Q (sample frame)',PeakRadius='0.1',PeaksWorkspace='peaks_ws',OutputWorkspace='peaks_ws_cylinder',
Cylinder='1',CylinderLength='0.4',PercentBackground='20',ProfileFunction='NoFit')

IntegratePeaksMD(InputWorkspace='TOPAZ_6674_MD',CoordinatesToUse='Q (sample frame)',PeakRadius='0.1',PeaksWorkspace='peaks_ws',OutputWorkspace='peaks_ws_cylinder_gauss',
Cylinder='1',CylinderLength='0.4',PercentBackground='20',ProfileFunction='Gaussian')
	
IntegratePeaksMD(InputWorkspace='TOPAZ_6674_MD',CoordinatesToUse='Q (sample frame)',PeakRadius='0.1',PeaksWorkspace='peaks_ws',OutputWorkspace='peaks_ws_cylinder_b2b',
Cylinder='1',CylinderLength='0.4',PercentBackground='20',ProfileFunction='BackToBackExponential')

comment:5 Changed 7 years ago by Wenduo Zhou

  • Status changed from verify to verifying
  • Tester set to Wenduo Zhou

comment:6 Changed 7 years ago by Wenduo Zhou

  • Status changed from verifying to closed

Test is passed.

It is better to add the corrected formulas in wiki.

comment:7 Changed 7 years ago by Wenduo Zhou

Merge remote-tracking branch 'origin/feature/8743_cylinder_integration_correct'

Full changeset: 51d6fea855b4592802c3fba6765a98817bf7b13e

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9587

Note: See TracTickets for help on using tickets.