Ticket #11736 (closed: fixed)

Opened 5 years ago

Last modified 5 years ago

Modification of the gravitationalDrop method of MatrixWorkspace

Reported by: Anton Piccardo-Selg Owned by: Anton Piccardo-Selg
Priority: major Milestone: Release 3.5
Component: Framework Keywords: SANS
Cc: Blocked By:
Blocking: Tester: Martyn Gigg

Description

Original email from Richard:

Dear all

We are not applying enough gravitational drop in the SANS data reduction, as I had assumed that the beam was horizontal at the sample. In fact it is actually horizontal half way along the beam defining collimation L1, before the sample. (Note here, that as in the Q resolution calculations, L1 is the incident collimation length, which varies 4m to 12m on SANS2d, L1 is not the source to sample distance ~19m on SANS2d).

We are currently using drop = gconst*(wav2)(L2)2, but need instead gconst*(wav2)*(L1*0.5+L2)2

Usually for the rear detector the sample-detector distance L2 is set the same as L1, so since drop ~ wav2.L2 we could be off by as much as

{(L2+(L1)/2)/(L2) }2 ~ 9/4 = 2.25

I have fit the beam centre at 11 and 5.5 angstrom for run 28222 (iron oxide) at L2=12m, despite some noisy curves, the difference in beam height is 5.1mm, even with “gravity on”, which is exactly what the correct formula predicts should be the case, as per table at bottom of attached spreadsheet.

I would like to correct the cpp routine at the end of this email by putting in a + LEXTRA to the calculation as shown in double MatrixWorkspace::gravitationalDrop, where LEXTRA defaults to zero and has a value passed from the user file and gui.

LEXTRA is likely L1*0.5 but may be less than this depending on where scraper baffles are inside the collimation.

Can this be done, urgently, please,

Thank you,

Richard

PS alas this does not solve any of our “background” at 12m issue, as the current beam centre is dominated by the long wavelengths, however it will improve the shape of the I(Q).

Attachments

MASKSANS2D_094i_RKH.txt (1.5 KB) - added by Anton Piccardo-Selg 5 years ago.
MASKSANS2D_094i_RKH_withExtraLength_V1.txt (1.5 KB) - added by Anton Piccardo-Selg 5 years ago.
MASKSANS2D_094i_RKH_withExtraLength_V2.txt (1.5 KB) - added by Anton Piccardo-Selg 5 years ago.
DIRECT_RUN524.dat (7.0 KB) - added by Anton Piccardo-Selg 5 years ago.

Change History

comment:1 Changed 5 years ago by Anton Piccardo-Selg

  • Status changed from new to inprogress

Refs #11736 Add extra length option for gravity

Changeset: d7d330c4bb9365f6d828423b9f93922e639f6a44

comment:2 Changed 5 years ago by Anton Piccardo-Selg

Refs #11736 Add validator for extra length

Changeset: fef75706833db8228f77a437c9ee444e02bdd0f0

comment:3 Changed 5 years ago by Anton Piccardo-Selg

  • Status changed from inprogress to verify
  • Resolution set to fixed

This is being verified as pull request #792.

comment:4 Changed 5 years ago by Anton Piccardo-Selg

Refs #11736 Fix doxygen error

Changeset: 18a5c05e271c5bf9d09252c1b773c39cbb07be4f

comment:5 Changed 5 years ago by Anton Piccardo-Selg

Refs #11736 Add system test

Changeset: 62a5344d0bb937954fd0ab723244c7d97ac44346

comment:6 Changed 5 years ago by Anton Piccardo-Selg

Refs #11736 Add system test data

Changeset: a5ed868a4e8e34a2840dacf5defcf6a44e89f20e

comment:7 Changed 5 years ago by Anton Piccardo-Selg

Refs #11736 Added newline for pylint

Changeset: 89695d4c2e6b0a41bf44d8ef588102d3a0c4c49d

Changed 5 years ago by Anton Piccardo-Selg

Changed 5 years ago by Anton Piccardo-Selg

Changed 5 years ago by Anton Piccardo-Selg

Changed 5 years ago by Anton Piccardo-Selg

comment:8 Changed 5 years ago by Anton Piccardo-Selg

Refs #11736 Fix bug in gravity parsing

Changeset: 276ed88fdcd4d8bd967b5648eb7a8e4d8ec0aa7f

comment:9 Changed 5 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:10 Changed 5 years ago by Martyn Gigg

  • Status changed from verifying to closed

Merge pull request #792 from mantidproject/feature/11736_modification_of_gravitational_drop

Modification of gravitational drop in SANS

Full changeset: 5240467b4ebe996037c56b66fbc478ac6ac3facf

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 12574

Note: See TracTickets for help on using tickets.