Package reflectometry :: Package reduction :: Module anglecor

Module anglecor

source code

Alignment correction.

Sometimes the sample alignment is not perfect, and the sample may be slightly rotated. The net effect of this is that the Q values stored in the data file are not correct. The angle correction allows you to adjust Q as if the data were taken at a slightly different angle.

Note that this adjustment will fail to properly account for the change in intensity due to the neutrons at the unexpected reflection angle being filtered by the back slits, or due to the unexpected sample footprint poorly estimating the beam spill. Whether these effects are significant depends on the details of the experiment geometry.

Usage

data.appy(AdjustAlignment(offset=0.01)
Classes
  AdjustAlignment
Adjust Q if there is reason to believe either the detector or the sample is rotated.