Package reflectometry :: Package reduction :: Module reverse :: Class ReverseCorrection

Class ReverseCorrection

source code


Reverse the sense of the reflection angles, making positive angles negative and vice versa
Instance Methods
 
apply(self, data)
Apply the correction to the dataset, modifying the dataset in the process.
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__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables

Inherited from correction.Correction: properties

Properties

Inherited from object: __class__

Method Details

apply(self, data)

source code 

Apply the correction to the dataset, modifying the dataset
in the process.  The data is returned, allowing users to
apply multiple corrections in one step:
     C2(C1(data))
Each correction will automatically be logged in the data using
data.log(str(Correction))

Overrides: correction.Correction.apply
(inherited documentation)

__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)