Home | Trees | Index | Help |
|
---|
Package xdp :: Module data |
|
Exceptions | |
---|---|
RebinError |
Exception indicating that an error occured during rebinning. |
Function Summary | |
---|---|
2-tuple of the form (start, end)
|
Perform range checking and assist in implementing autoranging. |
Remove recurring values from one or more vectors. | |
Numeric matrix or None
|
Join two or more vectors together as the columns of a matrix. |
int , float , or
complex
|
Find the greatest minimum value of a series of vectors. |
Numeric vector
|
Create a vector which can be used as an abscissa for interpolation. |
int , float , or
complex
|
Find the least maximum value of a series of vectors. |
2-tuple of the form (greatest_minimum,
least_maximum)
|
Find the greatest minimum and least maximum of a series of vectors. |
Numeric matrix
|
Reduce XAFS data by binning it in k-space. |
Numeric matrix
|
Reduce XAFS data by binning it's pre-edge and XAFS regions. |
Numeric matrix
|
The data reduction algorithm used by rebin(). |
2-tuple of the form (trimmed_x,
trimmed_y)
|
Trim vectors to fit a new range of independent values. |
Function Details |
---|
checkRange(Min, Max, start, end)Perform range checking and assist in implementing autoranging. The values ofstart and end are checked
for validity against the range minimum Min and the range
maximum Max . If start or end is
None then the value of Min or
Max , repectively, will be returned in its place.
|
clean(v, *vectors)Remove recurring values from one or more vectors. Recurring values are removed from the vectorv and the
corresponding elements are removed from elements of
vectors
|
coljoin(*vectors)Join two or more vectors together as the columns of a matrix.
|
greatestMin(*vectors)Find the greatest minimum value of a series of vectors.
|
grid(start, stop, stepSize)Create a vector which can be used as an abscissa for interpolation.
|
leastMax(*vectors)Find the least maximum value of a series of vectors.
|
minmax(*vectors)Find the greatest minimum and least maximum of a series of vectors. Example:>>> x = [1,2,3,4,5] >>> y = [0,2,4,6,8] >>> print xdp.range.minmax(x, y) (1, 5)
|
old_rebin(data, eColumn, Eo, after, kstep)Reduce XAFS data by binning it in k-space. All points for which the energy is greater thanEo +after are reduced to a
new set of points in which the energy varies regularly with respect to
k-space, which increases by k-step per point.
|
rebin(data, eColumn, Eo, offset, estep, kstep)Reduce XAFS data by binning it's pre-edge and XAFS regions. All points for which the energy is greater than None , then all points for which the
energy is less than Eo +offset are reduced to a
new set of points in which the energy varies regularly with an increas
of e-step per point.
|
rebin_data(x, data, grid)The data reduction algorithm used by rebin().
|
trim(x, y, start, end)Trim vectors to fit a new range of independent values. All of the x/y pairs outside of the range ofstart to end are discarded.
Either start or end may be None ,
which indicates that that portion of the range should not be
trimmed.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed Jul 20 11:51:05 2005 | http://epydoc.sf.net |