Package reflectometry :: Package reduction :: Module anglecor :: Class AdjustAlignment

Class AdjustAlignment

source code


Adjust Q if there is reason to believe either the detector or the sample is rotated.
Instance Methods
 
__init__(self, offset=0.0)
Define the angle offset correction for the data.
source code
 
apply(self, data)
Apply the angle correction to the data
source code
 
__str__(self)
Name of the correction, and enough detail to record in the reduced data log.
source code

Inherited from correction.Correction: __call__, __or__, __ror__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables
  properties = ['offset']
  offset = 0.0
Properties

Inherited from object: __class__

Method Details

__init__(self, offset=0.0)
(Constructor)

source code 
Define the angle offset correction for the data. angle: rotation in degrees away from the beam
Overrides: object.__init__

apply(self, data)

source code 
Apply the angle correction to the data
Overrides: correction.Correction.apply

__str__(self)
(Informal representation operator)

source code 
Name of the correction, and enough detail to record in the reduced data log.
Overrides: object.__str__
(inherited documentation)