Package xdp :: Module transformation :: Class XafsFluorescenceMapping
[show private | hide private]
[frames | no frames]

Class XafsFluorescenceMapping

Mapping --+
          |
         XafsFluorescenceMapping


XafsFluorescenceMapping objects encapsulate the mapping for XAFS
experiments which contain fluorescence data.

The destination columns are:
    'Energy' -- energy values for each data point
    'If'     -- fluorescence detector intensity
    'Io'     -- initial beam intensity

The destination column 'Mu' is calculated from 'IF' and 'Io' using the
formula 'Mu = If/Io'.

Method Summary
  __init__(self, Energy, If, Io, Iref)
Create a new XafsFluorescenceMapping object, assigning source column names via keyword arguments.
  make_Iref(self, data, result)
  make_Mu(self, data, result)
Calculate Mu when the mapping object is applied to 'data'.
    Inherited from Mapping
  __call__(self, data)
Apply this mapping to the xdp.Data object 'data'.
  finish(self, data)
Virtual method which is called to finalize the xdp.Data object 'data' before it is returned.

Method Details

__init__(self, Energy='energy', If='If', Io='Io', Iref=None)
(Constructor)

Create a new XafsFluorescenceMapping object, assigning source column names via keyword arguments.
Overrides:
xdp.transformation.Mapping.__init__

make_Mu(self, data, result)

Calculate Mu when the mapping object is applied to 'data'.

Generated by Epydoc 2.1 on Wed Jul 20 11:51:05 2005 http://epydoc.sf.net