FOURIER TRANSFORM METHODS IN GEOPHYSICS David Sandwell, January, 2013

Similar documents
The continuous and discrete Fourier transforms

SIGNAL PROCESSING & SIMULATION NEWSLETTER

Correlation and Convolution Class Notes for CMSC 426, Fall 2005 David Jacobs

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

Second Order Linear Partial Differential Equations. Part I

6. Define log(z) so that π < I log(z) π. Discuss the identities e log(z) = z and log(e w ) = w.

Figure 1.1 Vector A and Vector F

GRAPHING IN POLAR COORDINATES SYMMETRY

Inner Product Spaces

5.4 The Heat Equation and Convection-Diffusion

4 Sums of Random Variables

An Introduction to Partial Differential Equations

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

Application of Fourier Transform to PDE (I) Fourier Sine Transform (application to PDEs defined on a semi-infinite domain)

DIFFERENTIABILITY OF COMPLEX FUNCTIONS. Contents

6. Vectors Scott Surgent (surgent@asu.edu)

RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A

EQUATIONS and INEQUALITIES

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Vocabulary Words and Definitions for Algebra

Section V.3: Dot Product

Continued Fractions and the Euclidean Algorithm

Fourier Analysis. u m, a n u n = am um, u m

9.2 Summation Notation

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data.

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Week 13 Trigonometric Form of Complex Numbers

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

Understanding Basic Calculus

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Convolution, Correlation, & Fourier Transforms. James R. Graham 10/25/2005

14.1. Basic Concepts of Integration. Introduction. Prerequisites. Learning Outcomes. Learning Style

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

State of Stress at Point

Solving Systems of Linear Equations

A Concrete Introduction. to the Abstract Concepts. of Integers and Algebra using Algebra Tiles

The degree of a polynomial function is equal to the highest exponent found on the independent variables.

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

Lies My Calculator and Computer Told Me

6 J - vector electric current density (A/m2 )

MATH 60 NOTEBOOK CERTIFICATIONS

Unified Lecture # 4 Vectors

Scalar Valued Functions of Several Variables; the Gradient Vector

Practice Final Math 122 Spring 12 Instructor: Jeff Lang

Introduction to Matrices

4. Complex integration: Cauchy integral theorem and Cauchy integral formulas. Definite integral of a complex-valued function of a real variable

Higher Education Math Placement

1 VECTOR SPACES AND SUBSPACES

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only

Answer Key for California State Standards: Algebra I

Introduction to Complex Numbers in Physics/Engineering

Matrices and Polynomials

1 if 1 x 0 1 if 0 x 1

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

2 Session Two - Complex Numbers and Vectors

The Fourier Analysis Tool in Microsoft Excel

POLYNOMIAL FUNCTIONS

Algebra and Geometry Review (61 topics, no due date)

The Heat Equation. Lectures INF2320 p. 1/88

3. Reaction Diffusion Equations Consider the following ODE model for population growth

Lecture 1: Systems of Linear Equations

2.2 Magic with complex exponentials

1 The basic equations of fluid dynamics

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Properties of Real Numbers

Solutions to Homework 10

Notes on Determinant

Trigonometric Functions and Equations

Vector Math Computer Graphics Scott D. Anderson

COMPLEX NUMBERS. a bi c di a c b d i. a bi c di a c b d i For instance, 1 i 4 7i i 5 6i

ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates

The Method of Partial Fractions Math 121 Calculus II Spring 2015

LS.6 Solution Matrices

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

5 Homogeneous systems

Class Meeting # 1: Introduction to PDEs

9 Fourier Transform Properties

Convolution. The Delta Function and Impulse Response

FFT Algorithms. Chapter 6. Contents 6.1

Introduction to Complex Fourier Series

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

3. Mathematical Induction

DRAFT. Further mathematics. GCE AS and A level subject content

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Linearly Independent Sets and Linearly Dependent Sets

3.1. RATIONAL EXPRESSIONS

Review of Fundamental Mathematics

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

10.2 Series and Convergence

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

Metric Spaces. Chapter Metrics

Solutions for Review Problems

Prentice Hall Mathematics: Algebra Correlated to: Utah Core Curriculum for Math, Intermediate Algebra (Secondary)

Transcription:

1 FOURIER TRANSFORM METHODS IN GEOPHYSICS David Sandwell, January, 2013 1. Fourier Transforms Fourier transform are use in many areas of geophysics such as image processing, time series analysis, and antenna design. Here we focus on the use of fourier transforms for solving linear partial differential equations (PDE). Some examples include: Poisson s equation for problems in gravity and magnetics; the biharmonic equation for problems in linear visco-elasticity; and the diffusion equation for problems in heat conduction. We do not treat the wave equation in this book because there are already many excellent books on seismology. For each of these problems we search for the Green s function that represents the response of the model to a point load. There are two approaches to solving this class of problem. In some cases one can derive a fully analytic solution, or Green s function, to the point-load problem. Then a more general model can be constructed by convolving the actual distribution of sources with the Green s function. A familiar example is the case of constructing a gravity anomaly model given a 3-D density anomaly structure. The second semi-analytic approach can be used to solve more complicated problems where the development of a fully analytic Green s function is impossible. This involves using the derivative property of the fourier transform to reduce the PDE and boundary conditions to algebraic equations that can be solved exactly in the transform domain. A more general model can be constructed by taking the fourier transform of the source, multiplying by the transform domain solution, and performing the inverse transform numerically. Indeed the only difference between the two methods is that in the first case the final model is generated by direct convolution while in the second case the convolution theorem is used for model generation. When dealing with spatially complex models the second approach can be sometimes orders of magnitude more computationally efficient because of the efficiency of the fast fourier transform algorithm. In this chapter we introduce the minimum amount of fourier analysis needed to understand the solutions to the PDE s provided in the following chapters. If the reader is not familiar with fourier transforms and analysis, they should first study any of the excellent books on the topic. We recommend the first 6 chapters of the book by Bracewell [1978] for a more complete discussion of the material presented in Chapter 1.

2 Figure 1.1 Cartesian coordinate system used throughout the book with z positive up. The z = 0 plane is the surface of the earth. Fourier transforms deal with infinite domains while the fourier series (section 1.6) has finite domains. For our numerical examples we will select an area of length L and with W consisting of uniform cells of size Δx and Δy. This can be represented as a 2-D array of numbers with J = L / Δx columns and I = W / Δy rows. 1.1 Definitions of fourier transforms The 1-dimensional forward and inverse fourier transforms are defined as: ( ) = f ( x) F k f x e i2πkx dx or F k e i2πkx dk or f x ( ) = F ( k) ( ) = I f ( x) ( ) = I 1 F ( k) & ' ( (1.1) & ' ( (1.2) where x is distance and k is wavenumber where k =1/ λ and λ is wavelength. We also use the shorthand notation introduced by Bracewell [1978]. These equations are more commonly written in terms of time t and frequency ν where ν = 1/ T and T is the period. The 2- dimensional forward and inverse fourier transforms are defined as: ( ) = f ( x) F k f x e i2πk x d 2 x or F k e i2πk x d 2 k or f x ( ) = F ( k) ( ) = I 2 f ( x) ( ) = I 1 2 F ( k) & ' ( (1.3) & ' ( (1.4)

3 where x = ( x, y) is the position vector, k = ( k x, k y ) is the wavenumber vector, and k x = k x x + k y y. The magnitude of the spatial wavenumber β = k 2 2 ( x + k y ) 1/2 is used often in later chapters. For several of the derivations, we ll also take the fourier transform in the z-direction (i.e. 3-D transform) using the following notation. ( ) = f ( z) F k z f z e i2πk zz dz (1.5) e i2πk zz dk z (1.6) ( ) = F ( k z ) Fourier transformation with respect to time is also sometimes used to form a 4-D transform. ( ) = f ( t) F ν f t e i2πνt dt (1.7) e i2πνt dν (1.8) ( ) = F ( ν) While algebraic manipulation of equations in 4-D is sometimes challenging and error prone, we ll use computers to help us in two ways. We ll use the tools of computer algebra to solve the most challenging algebraic manipulations associated with the 3-D and 4-D problems in chapter 4. In addition we ll provide a FORTRAN subroutine called fourt() which can perform numerical fourier transforms in N-dimensions although we ll use only 1-, 2-, and 3-D numerical transforms in this book. 1.2 Fourier sine and cosine transforms Here we introduce the sine and cosine transforms to illustrate the transforms of odd and even functions. Also in later chapters we ll use sine and cosine transforms to match asymmetric and symmetric boundary conditions for particular models.

4 Any function f ( x) can be decomposed into odd O( x) and even E ( x) functions such that f ( x) = E ( x) +O( x) (1.9) where E x ( ) = 1 2 f ( x ) + f ( x) function can be written as "# $ and O x ( ) = 1 2 f ( x ) f ( x) "# $. Note the complex exponential e iθ = cos( θ) + isin( θ) (1.10) Exercise 1.1 Use equation (1.10) to show that cos( θ) = 1 ( 2 eiθ + e iθ ) and sin( θ) = 1 ( 2i eiθ e iθ ). Using this expression (1.10) we can write the forward 1-D transform as the sum of two parts ( ) = f ( x) F k cos( 2πkx)dx i f x ( ) sin( 2πkx)dx (1.11) After inserting equation (1.9) into this expression and noting that the integral of an odd function times an even function is zero, we arrive at the expressions for the cosine and sine transforms. ( ) = 2 E ( x) F k 0 cos( 2πkx)dx 2i O x 0 ( ) sin( 2πkx)dx (1.12) Throughout this book we ll be dealing with real-valued functions. From equation (1.12) it is evident that the cosine transform of a real, even function is also real and even. Also the sine transform of a real odd function is imaginary and odd. In other words when a function in the space domain is real valued, its fourier transform F ( k) has a special Hermitian property F ( k) = F ( k) * so one can reconstruct the transform of the function with negative wavenumbers from the transform with positive wavenumbers. Later when we perform numerical examples

5 using real valued functions such as topography, we can use this Hermitian property to reduce the memory allocation for the fourier transformed array by a factor of 2. This is important for large 2-D and 3-D transforms. 1.3 Examples of Fourier Transforms Throughout the book we will work with only linear partial differential equations so all the problems are separable and the order of differentiation and integration is irrelevant. For example the 2-D fourier transform of is given by ( ) = & f x, y F k x, k y $ ' ( )e i2πkxx dx) e i2πkyy $ ' dy = & f ( x, y)e i2πkyy dy) e i2πkxx dx (1.13) ( ( Note that this 2-D transform consists of a sequence of 1-D transforms. This property can be extended to 3-D, 4-D and even N-D; each transform can be performed separately and independently of the transforms in the other dimensions. In the following analysis we ll only show examples of 1-D transforms but the extension to higher dimensions is trivial. Delta function By definition the delta function has the following property; f ( x) δ ( x a)dx f a ( ) (1.14) under integration it extracts the value of f ( x) at the position x = a. One can describe the delta function as having infinite height at zero argument and zero height elsewhere. The area under the delta function is 1. In terms of pure mathematics the delta function is not a function and only has meaning when integrated against another function. In this book we use the delta function as a powerful tool, provided to us by the mathematicians, so we trust all the mathematical theory behind it. What is the fourier transform of a delta function? By definition if one performs a forward transform of a function followed by an inverse transform, or vice versa, one will arrive back with the original function. Lets try this using the delta function. By definition, the inverse transform of a delta function is

6 ( ) δ k k o e i2πkx dk = e i2πk ox (1.15) Next lets take the forward transform of equation (1.15). The left hand side will be the delta function because we have performed an inverse and forward transform. The right hand side is given by ( ) = e i2πk ox δ k k o e i2πkx dx = e i2π ( k k o )x dx (1.16) This result shows that the fourier basis functions are orthonormal. If we consider the special case of k o = 0 we see that the fourier transform of a delta function is I"# δ ( k) $ =1. Since fourier transformation is reciprocal in distance x and wavenumber k, it is also true that I"# δ ( x) $ =1. The delta function and its fourier transform provide an amazingly powerful tool for solving linear PDEs. Cosine and sine functions Lets use the delta function tool and the expressions from Exercise 1.1 to calculate the fourier transform of a cosine function having a single wavenumber cos( 2πk 0 x). cos( 2πk o x) e i2πkx dx = 1 2 ( e i2πkox + e i2πkox + ) e i2πkx dx = 1 2 $ δ ( k k o) +δ ( k + k o ) & ' (1.17) So the fourier transform of a cosine function is simply two delta functions located at ±k o. Exercise 1.2 Show that the Fourier transform of sin 2πk 0 x ( ) is 1 2i δ ( k k o) δ ( k + k o ) "# $.

7 Gaussian function The Gaussian e π x2 function also plays a fundamental role in solutions to several types of PDEs. Its fourier transform is ( ) = e π x2 e i2πkx F k dx = e π ( x2 +i2kx) dx (1.18) Note that ( x + ik) 2 = ( x 2 + i2kx) k 2. Using this we can rewrite equation (1.18) as F(k) = e πk2 e π( x+ik)2 dx = e πk2 e π ( x+ik )2 d ( x + ik) = e πk2 (1.19) where we have used the result that the infinite integral of e π x2 is 1. This is a remarkable and powerful result that the fourier transform of a Gaussian is simply a Gaussian.

8 Figure 1.2 Schematic plots of 1-D fourier transform pairs. Solid line is real-valued function while dashed line is imaginary valued function (figure from Bracewell [1978]. 1.4 Properties of fourier transforms There are several properties of fourier transforms that can be used as tools for solving PDEs. The first property called the similarity property says that if you scale a function by a factor of a along the x-axis, its fourier transform will scaled by a 1 along the k-axis and the amplitude will 1 be scaled by a.

9 Exercise 1.3 Use the definition of the fourier transform equation (1.1) and a change of variable to show the following. Try positive and negative values for a to understand why the absolute value is needed in the amplitude scaling. "# $ = 1 a F & k ) ( + (1.20) ' a * I f ( ax) The shift property says that the fourier transform of a function that is shifted by a along the x- axis equals the original fourier transform scaled by a phase factor. This property is especially useful for numerically shifting a function a non-integer amount of the data spacing along the axis. Exercise 1.4 Use the definition of the fourier transform and a change of variable to show the following I#$ f ( x a) & = e i2πka F ( k) (1.21) The derivative property of the fourier transform is the essential tool used in this book to transform linear PDEs into algebraic equations that are easily solved. It states that the fourier transform of the derivative of a function is the fourier transform of the original function scaled by the imaginary wavenumber. # I f & $ x' ( = i2πkf k ( ) (1.22) To show this is true we start with the inverse transform of equation (1.22) f x = i2πk F ( k)e i2πkx dk (1.23) Next take the forward transform of equation (1.23) and rearrange terms

10 I f # & $ x' ( = i2πk, of ( k o )e i2πkox dk o e i2πkx dx = i2πk o F k o. ( ) e i2π k k o - ( )x / dx0 1 dk (1.24) o The term in the curly brackets is the delta function δ ( k k o ) given in equation (1.16). The result is I f # & $ x' ( = i2πk o F ( k o )δ ( k k o )dk o = i2πkf ( k) (1.25) The final property considered here is the convolution theorem which states that the fourier transform of the convolution of two functions is equal to the product of the fourier transforms of the original functions. I' & ( f ( u)g( x u)du* = F ( k)g k ) ( ) (1.26) To show this is true one can perform the fourier integration on the left side of equation (1.26) and rearrange the order of the integrations I' & ( ( +. f ( u)g( x u)du* = ' f ( u)g( x u)du* e i2πkx dx = f ( u), g( x u)e i2πkx dx/ du (1.27) ) & ) - 0 Next use the shift property of the fourier transform to note that the function in the curly brackets on the right side of equation (1.27) is e i2πku G( k). The result becomes I' & ( f ( u)g( x u)du* = G k ) ( ) f ( u) e i2πku du = F ( k)g k ( ) (1.28)

11 Note that these 4 properties are equally valid in 2-dimensions or even N-dimensions. The properties also apply to discrete data. See Chapter 18 in Bracewell [1978]. The Cauchy residue theorem is an additional tool that we will use many times in the book to perform inverse transforms for cases where the function is analytic and has poles in the complex plane. Let f ( z) be an analytic function in the complex plane z = x + iy. (Note that these x, y, and z symbols are not related to the coordinate system shown in Figure 1.1) An analytic function has the special property that a path integral of the function about any closed loop in the complex plane us zero. f ( z) dz = 0 (1.29) As an example the gravitational potential associated with the topography of the earth represents and analytic function. A cyclist riding along any closed path will gain and lose potential energy along the path but no matter how the path is traversed he will have the same potential at the end of the circuit as he started with. Next suppose the same integration is performed with a pole (zero) in the denominator at a complex point z o. The Cauchy Residue theorem states ( ) f z z z o dz = i2π f ( z o ) (1.30) The function in the numerator could be very complicated but as long as it is analytic, the path integral can be done analytically. Exercise 5.1 Without using the Cauchy residue theorem show that the following is true. 1 dz = i2π (1.31) z 1.5 Solving a linear PDE using fourier methods and the Cauchy Residue Theorem

12 In the following chapters we ll derive the Green s function and/or it fourier transform starting from a PDE and boundary conditions. The approach will follow the same format so here we have selected a simple example to illustrate the general method. Heat flow for a line source of heat at depth. Consider a line source of heat at a depth of a buried in a conductive half-space as shown in Figure 1.3. Calculate the temperature in the half-space. The differential equation and four boundary conditions are 2 T x + 2 T 2 z 2 = δ ( x )δ ( z + a) T ( x, y, 0) = 0 lim T x, y, z x ( ) = 0. (1.32) limt x, y, z z ( ) = 0 Figure 1.3 Line source of heat at z = a. The surface boundary condition can be met by placing an equal but opposite line sink of heat at z = a. The first step in the solution is to take the 2-D fourier transform of the PDE. Each derivative on the left hand side is replaced with an i2πk according to the derivative property of the fourier

13 transform and the 2-D transform of the right hand side is done using the definition of the delta function. The result is 4π 2 k 2 2 ( x + k z )T ( k x,k z ) = e i2π k za T ( k x,k z ) = e i2π k za 4π 2 k x 2 + k z 2 ( ). (1.33) Now that we have solved the algebraic problem, we ll start by taking the inverse fourier transform in the z-direction. T ( k x, z) = 1 4π 2 e i2πkz ( z+a) dk k 2 2 ( z + k z ) z. (1.34) The denominator of equation (1.34) can be factored as ( k z + ik x )( k z ik x ) which represent two poles in the complex plane (Figure 1.4) T ( k x, z) = 1 4π 2 e i2πkz ( z+a) dk z. (1.35) ( k z + ik x )( k z ik x ) Figure 1.4 Closed integration path about a pole in the complex plane.

14 To perform this integration we ll integrate around one of these poles using the Cauchy Residue Theorem. First consider the case k x > 0, z > a. We would like to integrate along the k z axis from to as shown in Figure 1.4. If we close the integration path in the upper hemisphere of the complex plane, the numerator will become vanishingly small because it is a decaying exponential function. Therefore the integration along the k z axis will be equivalent to the full integration around the pole k z = ik x. Using (1.30), the result is ( ) = i2π T k x,z 4π 2 e i2πikx ( z+a) 2ik x = e 2π kx ( z+a). (1.36) 4π k x Note this is a decaying exponential function of z that satisfies the last boundary condition in (1.3.2). Next consider the case k x < 0, z > a. This time we close the integration path in the lower hemisphere to also achieve a decaying exponential function. Integration about the pole in the clockwise direction reverses the sign in the Cauchy Residue Theorem so the result is ( ) = i2π T k x,z 4π 2 e i2πikx ( z+a) 2ik x = e2π kx ( z+a). (1.37) 4π k x Equations (1.36) and (1.3.7) can be combined by using the absolute value of k x. ( ) = e 2π k x ( z+a) T k x,z 4π k x. (1.38) The next step is to take the inverse transform with respect to k x T ( x,z) = 1 4π e 2π k x ( z+a) e i2π k xx dk x. (1.39) k x

15 One way to perform this final integration is to use the derivative property of the fourier transform to find the solution for T / z and then integrate over z to get the desired result. T ( x,z) z = 1 e 2π k x z+a ( ) e i2π kxx dk x. (1.40) 2 One can look up this definite integral T ( x,z) = z ( ) ( ) 2 z + a 4π $ x 2 + z + a, z > a. (1.41) & ' After integrating over z we find T ( x,z) = 1 4π ln # $ x2 + z + a ( ) 2 &1/2. (1.42) Finally we have not yet met the surface boundary condition T ( x, 0) = 0. This can be achieved by placing a line heat sink at z = a. The sum of the source and sink satisfy the differential equation and the 4 boundary conditions. ( ) = 1 ( ) 2 &1/2 ln # $ x 2 + ( z a) 2 { 1/2 & }. (1.43) T x,z 4π ln # $ x2 + z + a 1.6 Fourier series Many geophysical problems are concerned with a small area on the surface of the Earth having a width of W and length of L as shown in Figure 1.1. The coefficients of the 2-dimensional Fourier series are computed by the following integration. F n m = 1 LW L o W o ) # f (x, y)exp i2π m L x + n $ W y &, + (.dydx. (1.44) * '-

16 The function is reconstructed by the following summations over the fourier coefficients. ( ) = F n m f x, y n= m= * $ exp i2π & m L x + n W y '-, )/. (1.45) + (. The finite size of the area leads to a discrete set of wavenumbers k x = m / L, k y = n / W and a discrete set of fourier coefficients F n m. In addition to the finite size of the area, geophysical data commonly have a characteristic sampling interval Δx and Δy. Note that I = L / Δx is the number of points in the x-direction and J = W / Δy is the number of points in the y-direction. The Nyquist wavenumbers is k x =1/ ( 2Δx) and k x =1/ ( 2Δx) so there is a finite set of fourier coefficients I / 2 < m < I / 2 and J / 2 < n < J / 2. Recall the trapezoidal rule of integration. L 0 I 1 f ( x) dx f ( x i ) Δx where x i = iδx i=0. (1.46) L 0 ( ) f x dx L I I 1 i=0 f ( x i ) The discrete forward and inverse fourier transform are: F n m = 1 IJ I 1 J 1 j f i i=0 j=0 * $ exp i2π & m I i+ n J j '-, )/. (1.47) + (. f i j = I /2 1 J/2 1 m F n exp+ i2π i n= I /2 m= J/2 I m + j * $ J n ) # &, (.. (1.48) '-

17 The summations for the forward and inverse discrete fourier transforms are similar so one can use the same computer code for both transforms. Sorry for the dual use of the symbol i. The i in front to the 2π is 1 while the other non-itallic i's are integers. 1.6 Numerical Examples 1.7 Boundaries and windows