Package reflectometry :: Package reduction :: Module normcor :: Class Normalize

Class Normalize

source code


Instance Methods
 
__init__(self, base='auto')
Define the kind of monitor normalization.
source code
 
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__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables

Inherited from correction.Correction: properties

Properties

Inherited from object: __class__

Method Details

__init__(self, base='auto')
(Constructor)

source code 
Define the kind of monitor normalization. base is 'time', 'counts', 'power', 'auto' or 'none'.
Overrides: object.__init__

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)