+ All Categories
Home > Documents > Fourier Transforms - ph.unimelb.edu.aupart2/ONLINE/LABNOTES/Fourier_transforms.pdf · Figure 2:...

Fourier Transforms - ph.unimelb.edu.aupart2/ONLINE/LABNOTES/Fourier_transforms.pdf · Figure 2:...

Date post: 04-Apr-2019
Category:
Upload: nguyencong
View: 215 times
Download: 0 times
Share this document with a friend
14
Fourier Transforms Laboratory & Computational Physics 2 Last compiled August 8, 2017 1
Transcript

Fourier TransformsLaboratory & Computational Physics 2

Last compiled August 8, 2017

1

Contents

1 Introduction 31.1 Prelab questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Background theory 52.1 Physical discussion of Fourier transforms . . . . . . . . . . . . . . . . . . 6

2.1.1 Distance from the object to the image . . . . . . . . . . . . . . . . 82.1.2 Spatial filtering of diffraction patterns . . . . . . . . . . . . . . . . 9

3 Procedure 103.1 Investigating optical components . . . . . . . . . . . . . . . . . . . . . . . 103.2 Fraunhofer diffraction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.3 Inverse Fourier transformations . . . . . . . . . . . . . . . . . . . . . . . . 123.4 Filtering the diffraction pattern . . . . . . . . . . . . . . . . . . . . . . . . 13

3.4.1 Filtering the centre of the diffraction pattern . . . . . . . . . . . . . 14

2

1 Introduction

Over the course of this six hours you will be investigating the wave properties of light, inparticular diffraction, interference patterns, and filtering of light waves.

You will be introduced to lenses and will investigate Fourier transforms through Fraunhoferdiffraction. Unlike the first experiment, you will start by considering the mathematics of thediffraction process before creating and observing different diffraction patterns.

1.1 Prelab questions

1. Given that the length of the Fourier apparatus is around 1.5 m, calculate the time ittakes for a photon to traverse the length of the bench.

2. Given this time-of-flight, calculate the average time between photons for an emissionrate of 2×106 photons/second (as may correspond to the count rate of your experimentat the central maximum).

3. What does this say about the number of photons present along the length of the benchat any point in time? How much energy does this equate to?

4. Look at the general, one-dimensional form of a Fourier transform (equation 7) andits inverse (equation 8). What exactly is represented by F(k) and f(x)? What does krepresent and what are its dimensions?

5. Consider a rectangular aperture as shown below:

This aperture can be described using the function:

f(x, y) =

{1 if |x| ≤ a/2, |y| ≤ b/20 otherwise

3

b/2

-b/2

-a/2 a/2

Figure 1: A rectangular aperture.

a) Substitute this function into equation 9 to obtain an expression describing theFraunhofer diffraction pattern.

b) Compute the diffraction pattern produced by this aperture. Note that the x and ydimensions can be treated separately as the integral is separable.

c) Show that the equation describing the intensity,

I(k) = F (k)F ∗(k) (1)

of the Fraunhofer pattern is given by:

I(kx, ky) = a2b2sinc2(kxa

2)sinc2(ky

b

2) (2)

where sinc(α) = sin(α)/α

d) Provide a sketch of the expected diffraction pattern.

4

2 Background theory

Fourier analysis is the method by which any function can be expressed as an infinite sumof sines and cosines. An example of this process of addition of trigonometric functions toapproximate another function is shown in figure 2 below.

(a) Example square pulse (b) Sum of 2 cosine terms overlaid

(c) Sum of 5 cosine terms (d) Sum of 10 cosine terms

Figure 2: These graphs illustrate the Fourier series sum for a square wave. A nice gif ofthis showing the contributions of increasingly small trigonometric functions canbe found at https://goo.gl/ZxWVvT

For an infinite non-periodic function the Fourier integral is used to calculate the sum ofperiodic functions. This is written as:

f(x) =1

π

[∫ ∞0

A(k) cos(kx)dk +

∫ ∞0

B(k) sin(kx)dk

](3)

A discrete version of Fourier integral also exists, known as the discrete Fourier series:

f(x) =A0

2+∞∑

m=1

Am cos(m|k|x) +∞∑

m=1

Bm sin(m|k|x) (4)

where |k| = 2π

λ.

In both representations, A(k) and B(k) are functions for weighting the sine and cosine com-ponents of the Fourier series. They are themselves integrals and depend on our initial func-tion f(x):

A(k) =

∫ ∞−∞

f(x) cos(kx)dx (5)

5

andB(k) =

∫ ∞−∞

f(x) sin(kx)dx (6)

It’s important to note here that in equations 3 to 6, we’re plugging in our function f(x) to turnit into a Fourier series, not trying to solve for f(x), so don’t go re-arranging terms trying tofind a solution.

These equations can be combined into a single complex integral equation:

F (k) =

∫ ∞−∞

f(x)eikxdx (7)

The corresponding/reciprocal integral is known as the inverse Fourier transform and isgiven by:

f(x) =1

∫ ∞−∞

F (k)e−ikxdk (8)

Note the (1/2π) term as a consequence of converting from frequency space to real space.

In two dimensions the complex and inverse transforms generalise to, respectively:

F (kx, ky) =

∫ ∞−∞

∫ ∞−∞

f(x, y)ei(kxx+kyy)dxdy (9)

f(x, y) =1

(2π)2

∫ ∞−∞

∫ ∞−∞

F (kx, ky)e−i(kxx+kyy)dkxdky (10)

Although the exact mathematical representation of the Fourier transform varies across theliterature, all forms are equivalent (this definition is from Hecht’s Optics). Another termcommonly used for the function F (k) is the ‘spatial frequency spectrum’, or more simplythe ‘frequency spectrum’.

2.1 Physical discussion of Fourier transforms

Okay, so that’s the mathematics of Fourier transforms (or at least one form of it). But whatdoes this mean physically? Let’s consider the optical case.

Consider a photographic slide (such as the one shown in figure 3(a)) illuminated by a monochro-matic plane wave. The incoming plane wave is scattered by the image and rays diffract fromit depending on the inherent properties of the image (and to an extent, the optical compo-nents, but let’s assume an ideal case).

Each scattered ray scatters in a particular direction, labelled as ~ki. Each direction ~ki corre-sponds to a spatial frequency component of the Fourier transform.

The relative strength of each of the scattered rays leaving the slide is given by the Fouriertransform of the electric field just after the slide. The light transmitted through the image isthe sum of all of the individual scattered rays.

6

(a) Input photographic slide. (b) Amplitude of Fourier trans-form of the image (log scaled).

Incidentplane wave

Photographicslide

Screen

(c) Scattered plane waves. Fouriertransform in (b) appears on screen.

Figure 3: Example of Fourier transforming an image.

Figure 4: A diffraction pattern from a crystal - note the points are discrete and bright.

Very close to the slide, the image formed on a viewing screen will look very much like theslide because the scattered rays have not yet spread or interfered with each other. As thedistance to the viewing screen increases the scattered rays will increasingly overlap and theobserved image will no longer resemble the original. The wave in the region beyond theslide is called the diffraction pattern.

Note that the rays only scatter to discrete points if the object has periodic structure, forexample crystals, as in figure 4. If the object being imaged instead has non-periodic structure,the diffraction pattern may appear featureless or lacking particular identifiers, as in figure3(b).

This then raises a number of questions;

• What can we ‘immediately’ determine about an object based on its diffraction pattern?

• If we slowly increase the periodicity of an object, how does the diffraction patternrespond?

• What if an object has both periodic and non-symmetric features?

• Are we able to diffract simple objects and use their diffraction patterns to understandthe diffraction patterns of more complex objects?

We will investigate some of these questions today.

7

2.1.1 Distance from the object to the image

Depending on the distance from the object to the viewing screen, two different mathematicalapproximations can be used to describe the diffraction pattern.

• The Fresnel approximation describes the diffraction pattern close to the slide but ismathematically complicated, and won’t be covered here.

• The Fraunhofer approximation describes the diffraction pattern when the distancebetween the slide and the viewing screen is extremely large. In this case any sharppoints of light on the viewing screen each correspond to a specific Fourier spatialfrequency component.

Strictly speaking, a true Fraunhofer diffraction pattern is only produced when the screen isan ‘infinite’ distance from the object. We can achieve this condition by placing the object atthe focal point of a lens and the viewing screen at the ‘back focal point’ of the lens. A quickray tracing diagram should convince you that an object placed at the focal point of a lens willhave its image reproduced at infinity. So a lens physically performs a Fourier transform(it is a Fourier transformer).

We will use two Fourier transforming lenses. One will produce the diffraction patterns fromthe light exiting our objects, and the other will invert those diffraction patterns to recreateimages of the original objects.

It is worth noting that although the wave field is in general a complex function, we onlyobserve the intensity (see equation 1), while the phase remains unknown. Obtaining phaseinformation in a reliable fashion remains an ongoing question in research.

8

2.1.2 Spatial filtering of diffraction patterns

INPUT IMAGE

LOW-PASS FILTER

HIGH-PASS FILTER

F(k)f(x)

F(k)f(x)

Figure 5: An image Fourier transformed, then filtered with a low- or high-pass filter, and thefiltered image inverse transformed.

If you look back at figure 2, you can see that the sharp edges of the pulse become moredefined as larger numbers of cosines are summed. Adding ten cosines produces much sharperedges than only adding five or two. From this observation we can argue that the high spatialfrequencies of a Fourier transform produce the edges in an image. Conversely the lowerorder frequencies give magnitude to the signal, and smooth out the centre of the squarepulse.• Low-pass filters block out the edges of the Fourier transform, cutting out the high

frequency components. In the top middle image above, the edges of the Fourier trans-form are removed. The inverse Fourier transform has lost its edges and sharp contours,resulting in a blurring of the image.

• High-pass filters block the centre of the Fourier transform, as in the bottom row ofimages above. In this case the inverse Fourier transform contains the edges of theimage, but has lost the bright and dark regions.

Complementary low- and high-pass filters allow for addition to return the complete inverseFourier transform. High and low pass filters can be used for a variety of applications. (Sidenote: a band-pass filter is combination of filters.) Fourier transforms aren’t restricted to onlyelectromagnetic waves but also audio, electronic, etc signals. A simple example is playingmusic from a different room - the low frequencies can diffract more around corners and soare heard more clearly than the high frequencies.

9

3 Procedure

Remember to always be very careful using any lasers.Minimise stray reflections and NEVER place your head in the path of laser beams.

There are a number of optical components in use in this experiment. Do not to touchtheir surfaces as oil and dust are very hard to remove. If you think any component

needs cleaning please ask your demonstrator.

Microscopeobjective

Collimating lens

f f

LASER

OBJECT

CAMERA

lensDiffracting

Figure 6: Fraunhofer diffraction experimental setup. f represents the focal length of thediffracting lens.

3.1 Investigating optical components

Before diving in to examining diffraction patterns, it’s important to familiarise yourselveswith the optical components you’ll be using. Having a conceptual understanding of lightpaths and ray tracing involving lenses is great, but as always, reality throws in various otherconsiderations...

1. Start by removing all of the components except the laser and viewing screen. Makesure the laser beam is parallel along the track right up to the viewing screen, bothhorizontally and vertically. Describe your method.

2. Next, investigate the behaviour of the laser beam by placing pieces of equipment oneat a time on the track. Compare, for example, the laser beam with and without thecollimating lens. Does it effectively collimate the light? What is the purpose of themicroscope objective?

3. Place an object (a slide) in the path of the laser and note your observations. What doesthe light immediately leaving the slide look like? What does it look like far away, doyou see any evidence of diffraction with no lenses in place?

4. Now you’ll need to determine the focal lengths of some of the lenses that are provided.It may seem simple, but there are two important considerations: firstly, that no lens isperfect and won’t diffract to a single sharp point, and secondly, the stated focal lengthof the lenses tends to have a large degree of error...

5. Determine the focal lengths of at least four lenses, making sure the focal lengths aren’ttoo long for our setup on the bench.

10

Question 1 What qualitative differences do you notice between the long and short focallength lenses? Describe what makes a ‘good lens’ in your opinion - why would you chooseone over another?

6. Now that you are familiar with the apparatus, set up the track as in figure 6 (note thatit’s not to scale).

7. Make sure the beam is still aligned each time you add a new component. It’s possiblethe beam might be aligned but the microscope or lenses are on an angle - check this.

8. Place a simple object on a mount on the track and make sure again this object iscentered in the laser beam. It should be uniformly illuminated.

3.2 Fraunhofer diffraction

Okay, if you’ve set everything up in the correct order and at the correct locations, you shouldsee a diffraction pattern on the viewing screen. It’s very likely you’ll need to move thediffracting lens until it’s in quite a precise location - how accurately did you measure thefocal length earlier?

Question 2 Does inserting the second lens after the collimating lens effectively Fouriertransform the light leaving the object? Draw your observations.

9. Once you have obtained one diffraction pattern, use a lens with a different focal lengthand find the diffraction pattern again. Draw a diagram with labelled positions forboth of the setups.

Question 3 Did the diffraction pattern look different between the two lenses? Could changesbe due to aberrations in the lenses themselves, rather than anything to do with the focallengths? Based on your observations, which focal length is better suited to this experiment?

Question 4 Now we can consider more specific details of diffraction patterns.

Place each of the items listed below in the object position. Sketch or print out of the diffrac-tion patterns and explain the relationships between each object and its diffraction pattern.

• A single slit, at three different rotations. In which direction does the diffraction patternappear relative to the slit?

• A double slit, both vertically and horizontally. Make sure you can see the fine structurein the bright spots!

• A two-dimensional rectangle. What features correspond to straight lines and which tothe corners of the rectangle? You might want to try highlighting specific corners toinvestigate further (move the object, not the laser spot).

• A wavy/jagged edge. Cut some paper and try to create a non-straight edge.

• An adjustable slit. Observe and comment on the change in diffraction pattern as youopen the slit. Record the size of the central peak with aperture opening.

11

(a) Slide 13 (b) Slide 14

Figure 7: Slides 13 and 14. Cover up the sections you don’t want to image.

• Different sized circles. How does this compare to the rectangle? Is the circle simpleror more complex? Try different size circles.

Now create a table in your books that tries to assign specific diffraction pattern features tothe object features. Then try to predict what a semicircle would look like.

We can also look at what might appear to be ‘more complicated’ objects:

• Place each of the three wire grids in the object position. Relate the grid spacing tothe diffraction pattern features. Make sure to include comments about vertical andhorizontal features.

• Slides 13 and 14 have six sections each, with each one offering a different diffractionpattern. You’ll have to cover up the sections of the slide you aren’t using (unless youwant to try combining various sections).

• The various other slides available to you. Look at them, consider what the diffractionpattern might look like, and then investigate and comment.

3.3 Inverse Fourier transformations

Okay so we’ve had a good go at performing Fourier transforms and looking at diffractionpatterns. Let’s now add a second lens in to look at inverse Fourier transforms.

We now want to invert a Fourier transform to obtain an image of the original object. Figure8 shows the rough setup, remembering that accurate focal lengths and spacings are criticalto this experiment. You should use something complicated, like a person’s face or othercomplicated image, and if you are successful you’ll see a clear, regular image on the screen.

Question 5 Where did you place the imaging lens to produce an inverse Fourier transformon the imaging screen? Draw a diagram with labelled distances.

12

LASER

Microscopeobjective O

BJECT

Collimating lens

Diffractinglens

fd fd fi fi

Imaginglens

Screen

Figure 8: Inverse Fourier transformations experimental setup. fd is the focal length ofdiffracting lens and fi is the focal length of the imaging lens.

Question 6 What differences do you notice between the original object and the image? Doyou think differences are due to imperfect optics, or the nature of Fourier transforms, orsomething else perhaps?

Question 7 Block say, the left half of the original object and note how the recovered imagechanges. What happens if you block more and more of the object? Explain this behaviour.

3.4 Filtering the diffraction pattern

As mentioned in the theory, we can introduce filters just after our Fourier transform to alterthe recovered image. Make sure you have a number of items on hand that you can use toblock various parts of the diffraction pattern, including the adjustable iris and different sizeddots and slits and rectangles.

You will begin by blocking the outer edges of the diffraction pattern.1. Place the array of eight slits in the object position, and make sure the image of this

object is clear on the imaging screen.

2. Next, place either the adjustable iris or slit at the focal point between the diffractingand imaging lens.

Question 8 Is it important that the adjustable iris or slit is centered on the object? How willyou centre it accurately? What happens if you intentionally offset the iris from the centre ofthe object?

3. Once the slit is properly centered, very very slowly make it smaller (don’t close itcompletely) and keep a close eye on the recovered image.

4. If you don’t observe any change in the recovered image make even smaller adjustmentsto the slit width. Have a closer look at the image, particularly the spacings and sizesof the dots.

5. Remove the eight slit object and put in the semitone object, the one marked ‘1/2 tone’.Note your observations.

13

6. Now use one of the wire grids (the one you thought most ‘interesting’) with this filter,again noting observations and comparing to other objects.

Question 9 Which type of filtering is this? High- or low-pass? Can you suggest anything toimprove your filtering methods?

Question 10 Did this filtering work as you expected? Explain, without maths, how onlyincluding the centre of the diffraction pattern alters the resulting image.

3.4.1 Filtering the centre of the diffraction pattern

Figure 9: Though this is an x-ray diffraction image, you can see the the filter they’ve appliedin the centre. You could fabricate and apply a similar filter in place of the adjustableiris.

Now we want to investing blocking the centre of the diffraction pattern. To do this, there area number of dots or different sized that can be positioned to block the centre of the pattern,in place of the adjustable iris.

You should try using both a semitone image (a face) and again the most interesting wire gridwith some of these dots and record your observations.

Question 11 Do you expect to see anything different in the re-creation of the wire grid im-age? How does this filtering of the wire grid compare with the previous filtering your per-formed?

Question 12 Again, which type of filtering is this? How could you improve this particularfiltering method? Consider both the equipment and how everything is set up.

Question 13 Try moving the dot around the pattern. Does this have any noticeable effect?

You may have a bit of trouble filtering the centre of the diffraction patterns. Remember totry to be as precise in measurements and observations as possible!

If your filtering wasn’t up to your expectations, can you explain why? A good startingcomment is whether focal points are actually ‘points’, or whether they might be a line, oreven a volume...

14


Recommended