Ifeffit::Demeter::Data::E0 - methods for calibrating and aligning XAS mu(E) data
This documentation refers to Ifeffit::Demeter version 0.0.1
This subclass of Ifeffit::Demeter::Data contains methods for calibrating
mu(E) data and adjusting e0.
calibrate
This calibrates data by setting a chosen energy value to a new value. This
method simultaneously sets the bkg_e0 and bkg_eshift Data attributes.
$e0 = $data -> calibrate($edge_point, $edge_energy);
Both arguments are optional. If the $edge_point is 0 or not given, then
the current value of bkg_e0 will be used. If the $edge_energy is not
given, then the tabulated energy for the absorber species and edge will be
used. If $edge_energy is 0 or not given and the Data object does not have
valid values for the bkg_z and fft_edge attributes, an exception will be
thrown. The return value is the new value of the edge energy.
align
This method align each item in a list of data objects to the Data object on which the method is called. That is, align each Data object in the argument list to the calling object.
$standard_data -> align(@list_of_data_to_align);
Each argument must be a Data object. The return value is the energy shift of the last Data object in the list.
e0
$e0 = $data -> e0($mode);
Please report problems to Bruce Ravel (bravel AT anl DOT gov)
Patches are welcome.
Bruce Ravel (bravel AT anl DOT gov)
http://cars9.uchicago.edu/~ravel/software/
Copyright (c) 2006-2007 Bruce Ravel (bravel AT anl DOT gov). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.