next up previous contents index
Next: 9.46 write_data() Up: 9 Commands Previous: 9.44 unguess()

9.45 window()

Description
Generate an XAFS Fourier Transform window, without actually doing the Fourier transform.
Input Program Variables
kmin, kmax, dk1,dk2,kweight, $kwindow and rmax_out.
Keywords/Values

Keyword Variable Default Description

1real
    array for Re[$ \chi$(k)].
imag     array for Im[$ \chi$(k)].
k     array of k data
group $group   group name for output arrays
kmin kmin 0 kmin FT parameter
kmax kmax 0 kmax FT parameter
dk1 dk1   FT parameter
dk2 dk2   FT parameter
dk     sets both dk1 and dk2
kweight kweight   k-weight FT parameter
kwindow $kwindow   FT window function
altwindow     array for alternate FT window.

Output Program Variables
kmin, kmax, dk1, dk2, kweight, and rmax_out will be set on output.

The array $GROUP.win will contain the k-space window array, W(k).

Notes
See Appendix B.

Examples

 
    Iff> window(real=my.chi, kmin = 1.0, kmax =16.0, 
              dk=1.0, kweight=2., kwindow= 'hanning' )
See also
fftf()(Section 9.13), fftr()(Section 9.14), Appendix B.


next up previous contents index
Next: 9.46 write_data() Up: 9 Commands Previous: 9.44 unguess()
Matt Newville
2004-02-09