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

Class XafsTransmissionMapping

Mapping --+
          |
         XafsTransmissionMapping


XafsTransmissionMapping objects encapsulate the mapping for XAFS
experiments which contain transmission data.

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

The destination column 'Mu' is calculated from 'It' and 'Io' using the
formula 'Mu = log(Io/It)'.

Method Summary
  __init__(self, Energy, It, Io, Iref)
Create a new XafsTransmissionMapping 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', It='It', Io='Io', Iref=None)
(Constructor)

Create a new XafsTransmissionMapping 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