Tutorial Solutions

3 Point Spread Functions

This set of questions look in detail at the of and its implications. The details of problems 6 and 7 are beyond the scope of this course but the results are very important since they put produce real practical numbers. The computer simulation programs in problem 8 are strongly recommended as they, hopefully, give insight into what a PSF looks like.

dx 3.1 Bessel Functions

Given that the expansion of Bessel functions of integer order is,

k n ·2k

µ ´ = µ

´ 1 x 2 µ=

Jn ´x ∑

· · µ k!Γ´n k 1

k =0

µ ´ µ write out the first three terms of the expansion for J0 ´x and J1 x .

Use this expansion to determine the value of µ J1 ´x

when x = 0

x

µ ´ µ ´ µ= = ! Plot the functions J0 ´x ,J1 x and J1 x x for x 10 10. (Maple would be a good idea).

Solution

Part a: Firstly note the identity, that for n an integer

Γ · µ= ´n 1 n!

so for we can write the expansion as:

k n ·2k

µ ´ = µ

´ 1 x 2 µ=

Jn ´x ∑

· µ k! ´n k !

k =0 So the first three terms are

x2 x4

µ = · ::: J ´x 1 0 4 64

x x3 x5

µ = · J ´x 1 2 16 192

So from these expansions, we get that

2 4 µ

J1 ´x 1 x x

· x = 2 16 192

Department of Physics and Revised: August 2000

so that when x = 0, µ J1 ´0 1 0 = 2

Part b: the plots are:

µ ! Plot of J0 ´x from 10 10:

1 besj0(x) 0.8

0.6

0.4

0.2

0

-0.2

-0.4

-0.6

-10 -8 -6 -4 -2 0 2 4 6 8 10

µ ! Plot of J1 ´x from 10 10:

0.6 besj1(x)

0.4

0.2

0

-0.2

-0.4

-0.6

-10 -8 -6 -4 -2 0 2 4 6 8 10

µ= ! Plot of J1 ´x x from 10 10:

Department of Physics and Astronomy Revised: August 2000 0.5 besj1(x)/x

0.4

0.3

0.2

0.1

0

-0.1 -10 -8 -6 -4 -2 0 2 4 6 8 10

3.2 PSF of Simple

Given that the Intensity PSF of a lens is given by the scaled Power Spectrum of the pupil function derive an expression for the PSF of a circular lens at geometric . This is the full solution to the round lens outlined in lectures.

Solution

; µ δ ∞ For a lens with pupil function p´x y then if the object is a -function at , the amplitude in the

back focal plane is:

 

ZZ κ

´ ; µ= ´ ; µ ´ · µ u x y Bˆ p s t exp ı xs yt dsdt

2 0 f  where  κ

2 2

´ · µ Bˆ = B exp ı x y 0 0 2 f the PSF is the intensity in the back focal plane, given by

2

; µ=j ´ ; j g´x y u2 x y

So for a simple round lens of radius a,wehave

2 2 2

; µ = ·  p´x y 1forx y a

= 0else

If we shift to Polar Coordinates, with

ρ θ = ρ θ s = cos & t sin

we get that

  Z

Z a 2π κ

; µ= ´ ρ θ · µρ θ ρ ρ θ u2 ´x y Bˆ0 exp ı x cos y sin d d 0 0 f

Department of Physics and Astronomy Revised: August 2000

; µ ´ ; µ We have that p´s t is circularly symmetric, so u2 x y must also be circularly symmetric.

Note: if we rotate a circular lens we do not do anything to the PSF! As a consequent, we can

; µ =

calculate u2 ´x y along one radial line. Select the line y 0, so we get,

  Z

Z a 2π κ

; µ= ρ ρ θ u2 ´x 0 Bˆ0 exp ı xρcosθ d d 0 0 f We now use the standard result that

Z 2π

θµ θ = π ´ µ exp ´ırcos d 2 J0 r 0 so if we let κ

r = xρ f

we get that

  Z a κ

ρ ; µ= π ρ ρ u2 ´x 0 2 Bˆ0 J0 x d 0 f now noting the second standard result that

d

µ= ´ ´ µµ rJ ´r rJ r 0 dr 1 so by integration we have

Z r

µ= ´ µ rJ1 ´r J0 t tdt 0 If we substitute, κ

α = xρ f

we can write  κ  Z xa 2

f f

; µ= π ´αµ α α u2 ´x 0 2 Bˆ0 J0 d 0 κx

This is now in the right form to be integrated, to get

  κax J1

2 f

; µ= π ´ ˆ u2 x 0 2 B0a κax

f

; µ= The PSF is usually normalised so that u2 ´0 0 1 and the phase term associated with Bˆ0

ignored, so that

  κax

2J1 f

; µ= u2 ´x 0 κax

f

µ= = = Note the factor of 2, since J1 ´0 0 1 2 from previous question.

The system is rotational symmetry, so in two dimensions we have that

  κar

2J1 f

; µ= u2 ´x y κar f

Department of Physics and Astronomy Revised: August 2000

2 2 2 ·

where r = x y . The intensity PSF is then

  ¬

¬ 2 ¬

¬ κar ¬

¬ 2J1 f

¬ ¬

; µ=

g´x y κ ¬

¬ ar ¬ ¬ f

which is the expressions given in lectures and in Physics 3 course. (See next question for plots of this function).

dx 3.3 Annular Many , and mirror objectives have a central stop, giving an annular aperture. Extend the above derivation to give an expression for the PSF of annular lens. Hint: The method is almost identical to the full aperture case except for the limits of integration. For the special case of the central stop being half the diameter of the aperture find the location of the first zero, and compare this with full aperture case. Plot the cross-section of the intensity PSF of both , and comment on the result. Hint: You will been a numerical solution to obtain the location of the first zero, and use Maple to produce the plots.

Solution

The annular aperture or outer radius a and inner b is described as

2 2 2 2

; µ =  ·  p´x y 1forb x y a

= 0else

being of shape

a

b

The amplitude in the back focal plane is given by the scaled of the pupil function. The main part of the integration is identical to the previous question for the open

circular aperture except that the radial integration is between b ! a. The amplitude in tha back

focal plane is now

 

Z a κ

; µ= π ρ ρ u2 ´x 0 2 Bˆ0 J0 xρ d b f

This can separated and written as,

      Z Z a κ 0 κ

ρ ρ ; µ= π ρ ρ · ρ ρ u2 ´x 0 2 Bˆ0 J0 x d J0 x d 0 f b f

Department of Physics and Astronomy Revised: August 2000

µ ´ µ We now note that J1 ´x is even so that xJ1 x is odd. Using this we can rearrange the integral

to give

      Z

Z a κ b κ

; µ= π ρ ρ ρ ρ u2 ´x 0 2 Bˆ0 J0 xρ d J0 xρ d 0 f 0 f Both terms here have the same form, that being identical to the form for the normal circular

aperture. This can then be integrated to give,

    ¿ ¾ κax κbx J1 J1

2 f 2 f

4 5

; µ= π ´ ˆ u2 x 0 2 B0 a κax b κbx

f f

; µ= so again, we “spin” about the optical axis, normalise to get u2 ´0 0 1 and ignore the phase

term associated with Bˆ0 to get

    ¾ κar κbr ¿ J1 J1

2 2 f 2 f

4 5

; µ=

u2 ´x y 2 2 a κar b κbr

µ ´a b f f and then the intensity PSF is given by

2

; µ=j ´ ; µj g´x y u2 x y Part b:

Look at locations of first zeros. For the full apetrure b = 0, we get the usual case

  ¬

¬ 2

¬ ¬ ¬ ¬ κ

ar 2

¬ ¬ ¬

J1 ¬ αµ

f J1 ´

¬ ¬ ¬ ¬

; µ= =

g´x y κ

¬ ¬ ¬

ar ¬ α ¬

¬ f

κ = α = : π where α = ar f The first zero occurs at 0 1 22 , so, as covered in lectures, the first zero is at λ 0:61 f

r =

0 a =

Look at the special case of b = a 2. By substitution we get that 

 2 2

αµ ´α= µ

4 2 J1 ´ a J1 2

; µ=

g´x y 2 2 2 a

= µ α α= ´a a 4 4 2

which can we rewritten as:

 

64  1 1 2

; µ= ´αµ ´α= µ g´x y J J 2 9 α 1 2 1 The first zero is thus when

1

αµ= ´α= µ J ´ J 2 1 2 1 This has a numerical solution of

α : < : π 0  3 144 1 22 so the first zero occurs at λ 0:5 f

r  0 a which is narrower then the full aperture case, so the PSF of the annular aperture in narrower, so the resolution is increased.Thisisnot what you would expect! The radial, normalsied, plot is

Department of Physics and Astronomy Revised: August 2000 1 Annular(x) 0.9 Full(x) 0.8

0.7

0.6

0.5

0.4

0.3

0.2

0.1

0 -10 -8 -6 -4 -2 0 2 4 6 8 10

The full aperture is the wider plot with the lower secondard maximas, while the annular aperture has a narrower central peak but higher secondary maximas.

3.4 Resoltion of the

Using the Rayleigh resolution criteria, estimate the the the . The quality of human vision is usually measured by a letter chart, and “perfect-vision” (usually referred to at 6:6 vision), is defined at the ability to read a letters who angular extent is 6’ of arc at a distance of 6 m. Is the human eye limited by ? Compare these results with the “number plate” criteria used in question 1.2.

Solution

To a first approximation, the human eye can be consider as a simple lens than images onto a photo-sensitive surface, (the retina). In good conditions, the diameter of the pupil is about 2.5 mm, and the peak sensitivity of the retina is 550 nm. The Rayleigh Resolution limit is given by λ 1:22

∆θ 4 = : ¢ : = 2 7 10 Rad d

converting to degrees we have that

¼ ¼

= :

∆θ 0 92  1 ¼

A letter that subtends 6 of arc viewed from 6 m must be of height 10:5mm. The letters are usually “square”. In order to read the letter the observer must be able to resolve the components, h

h/5 h

and in particular, able to resolve points that are about 1/5th of the height of the character. This

¼

 : estimate of the angular resolution of the eye is about 6 =5 1 2 of arc. Both these estimates are very close.

Department of Physics and Astronomy Revised: August 2000 Note: diffraction theory suggests that the larger the pupil the better the resolution. This is not true for the eye since in practice the resolution limit of the eye results from the separation cones

on the retina, again at about 1¼ of arc. This resolution is obtainable under optimal conditions with high contrast letters that are well illuminated.

The “number plate at 25 yards” limit (see solution 1.2) gives letters of angular extend ¼

∆θ 3 : ¢  = 3 3 10 Rad 11

which is about twice the resolution limit of the eye. This shows that the driving test eye criteria is not very strict. This however, is an easily obtainable resolution limit, and is a good working limit for cases such as question 1.2 where a person has be be able to “easily read” letters.

3.5 The Sparrow Limit

An alternative to the Rayleigh resolution limit is given by the Sparrow resolution limit which Optics occurs when the “dip” between two adjacent PSF “just” disappears. For an ideal PSF, find the separation when this limit occurs and discuss the practicallity of this limit. Hint: Use MAPLE or GNUPLOT to plot ideal PSFs at varying separations until the “dip” just disappears.

Solution

We know from lectures or solution 2 that the ideal PSF is of given by,

  ¬

¬ 2 ¬

¬ κar ¬

¬ 2J1 f

¬ ¬

; µ=

g´x y κ ¬

¬ ar ¬ ¬ f

which we can write as: ¬

¬ 2

¬ ¬ αµ

2J1 ´

¬ ¬ αµ=

g´ ¬ ¬ α

where κ α = ar f We know that the Rayleigh limit occurs at when the separation is given by the first zero of the

α : π Bessel function, as at = 1 22 which gives a 27% “dip” between the peaks.

We can plot

α = µ· ´α · = µ g´ a 2 g a 2 for various a and see what happens, (you can do this yourself!), and you find that the “dip” just disappears with a plot as shown below

Department of Physics and Astronomy Revised: August 2000 1.2

1

0.8

0.6

0.4

0.2

0

-10 -5 0 5 10 : when a  2 99, so giving a Sparrow separation of approximately

2:99 λ f λ f

= : r = 0 952 s 2π a d

where d = 2a, the lens diameter. The Sparrow angular resolution is then given by: λ

θ : = 0 952 s d which appears to give better resolution than the Rayleigh limit. If we compare the two limits plotted below,

1.2 Sparrow Rayleigh 1

0.8

0.6

0.4

0.2

0 -10 -5 0 5 10 we see that the Raleigh limit has a very distinct “dip” which is easy to measure while the Sparrow limit is narrower with a “flat top” to the intensity distribution which is much more difficult to measure. The Sparrow limit can be considered as an “absolute” limit while the Rayleigh limit is an easily obtainable limit. In particular we find that the Rayleigh limit is still obtainable by a system with aberrations to the Strehl limit while the slightest aberrations or noise in the detector system will result in two points at the Sparrow limit being interperated as a single unresolved point.

Department of Physics and Astronomy Revised: August 2000 3.6 Location of Best Focus

Write down an expression for the aberration with in the presence of Spherical Aber- dx ration and Defocus. Show by minimisation that the optimal defocus occurs when

∆ 7

W = S 72 1

and hence the Strehl limit for , with defocus is

: λ S1 < 5 36

Solution

Without defocus the shape of the wavefront is

1 r4 µ= W ´r S 8 1 a4

so the maximum phase error occurs at r = a, so Strehl Limit is, π π

φ  = S Max 1 4λ 2 λ so giving a Strehl Limit of S1  2 . Now allow defocus, so the shape of the wavefront is now

1 r4 r2

µ= · ∆ W ´r S W 8 1 a4 a2 We can allow some the defocus to partially cancel out Spherical Aberration, as shown in lec- tures. To determine the best focus, we want to form a least squared error, but what do we want to minimise? The wavefront aberration function is rotationally symmetric, and “rings” of the aperture contribute in proportion to their area.

δ r r a

Ring of radius r, and thickness δr, the area

π δ µ ∝ A = 2 r r A r

to we need to weight the wavefront aberration function by r, so we need to minimise

Z a

2

´ µj jrW r dr 0 To simplify the algebra, write

4 2

µ=α · β W ´rˆ rˆ rˆ

Department of Physics and Astronomy Revised: August 2000

1 r

α = β = ∆ = where 8 S1, W,andˆr a .Soweget

Z 1

2

´ µjj = jrWˆ rˆ dˆr Minimum 0 want to minimise with respect to β so that

∂ Z 1

2

´ µj = jrWˆ rˆ dˆr 0 ∂β 0

This gives us

Z  ∂ 1  2

5 3 β = αrˆ · rˆ dˆr 0 ∂β 0

Expand the square, and differentiate, to give

Z i 1 ∂ h

2 10 8 2 6

αβ · β = α rˆ · 2 rˆ rˆ dˆr 0

0 ∂β

Z i 1 h

8 6 β = 2αrˆ · 2 rˆ dˆr 0 0 We can now integrate to give

2 2 = α · β 0 9 7 so that we have

β 7

= α 9 now if we substitute back we get that

∆ 7

W = S 72 1 as quoted in lectures. The shape of the wavefront is given by

0.25

0.2

0.15

0.1

0.05

0

-0.05

-0.1

-0.15

-0.2 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 so to define the Strehl Limit we need to find the minimum and maximum. These are located at

d µ= W ´rˆ 0 dˆr

so at ¡

d 4 2

α · β = dr rˆ rˆ 0

3 β = 4αrˆ · 2 rˆ 0

Department of Physics and Astronomy Revised: August 2000 which either had solutionr ˆ = 0, or at β

2

rˆ = 2α

β 7 α

but we have that = 9 , so we get the minimum at

Ö Ö

7 7

µ = rˆ = r a 18 18

From the graph, we see that this is the minimum, and the maximum is at r = a.

We know that the phase abberation is

 

φ 4 2 2 2 7 µ=κ ´ µ=κ´α · β µ=κα ´rˆ W rˆ rˆ rˆ rˆ rˆ 9

So atr ˆ = 1, we have at

φ 2κα µ= ´1

9

Ô =

and atr ˆ = 7 18 we have that

!

Ö  2

φ 7 7 κα 18 = 18

so the maximum phase shift is

! Ö π

φ 7 121 = φ´ µ φ  1 = κα max 18 324 2

so we get that α 324λ  484

or in terms of S1,wehavethat

: λ ∆ = : λ S1  5 36 & W 0 52

which is much larger than the Strehl Limit.

3.7 Spherical Aberration of a Simple Lens

A simple bi-convex lens has two spherical surfaces of the same curvature,

dx

: = n = 1 51 and f 100mm. Derive an expression for the Spherical Aberration in- troduced by this lens when used with an infinite object plane. Calculate the maximum diameter of the lens such that on-axis, the Spherical Aberration is within the Strehl limit. Hint: calculate the phase function of the lens by polynomial expansion.

Department of Physics and Astronomy Revised: August 2000 Solution

Take a simple biconvex lens of the same radius of curvature on both surfaces, so giving:

δ δ 1 2

h R

R

Phase delay of this lens is given by

φ κ ∆ κ´ µ´δ · δ µ

= n n a 1 2

= δ = δ = δ but if the lens is “thin” and since R1 = R2 R,then 1 2 , so ignoring the overall phase shift, we get

φ κ´ µδ = 2 n 1 Look at one spherical surface, δ R h

We have that

2 2 2

δ µ · = ´R h R

2 2 2 2

δ · δ · = R 2 R h R 0

2 2 δ = 2δR h

If we take the traditional parabolic approximation, (ignoring δ2), then be get

2 δ h 0 = 2R as we used in lectures. But to get information about the Spherical Aberration, we need to take a better approximation than this and retain the terms to fourth order. Define a phase error ε so that

δ δ ε = 0 so that

2 2

δ ε µ ´δ ε µ = 2´ 0 R 0 h

2 2

δ ε δ · εδ = 2 0R 2 R 0 2 0 h 2 ε ε2 Now noting that 2δ0R = h and assuming that is small, so we can ignore , we get that

2

ε ´δ µ δ = 0 2 0 R

Department of Physics and Astronomy Revised: August 2000 Now again assuming that δ0  R,then δ2 4

ε 0 h =  2R 8R3 so to fourth order the phase term of the surface becomes

2 4

δ h h

= 2R 8R3

so the total phase term of the lens becomes   2 4

φ h h κ´ µ · = 2 n 1 2R 8R3 The first term is just the usual parabolic approximation, while the second term is associated with the Spherical Aberration. So the Spherical Aberration phase error is: 4

∆φ h κ´ µ = 2 n 1 8R3

The Wavefront Abberation function is of the form,

κ ´ µµ exp ´ ı W r

so, noting that r = h we have the

r4

µ= ´ µ W ´r n 1 4R3 so again noting that the expression for Spherical Aberration is

1 r4

µ = W ´r 8 S1 a4

2a4

´ µ S = n 1 1 R3

In term of focal length, we have that, if R1 = R2,then

1 1

´ µ = 2 n 1

f R

´ µ R = 2 n 1 f so we can substitute for R to get that

a4

S1 = 3 2

µ 4 f ´n 1 as a final expression. 4

Note that S1 ∝ a , to becomes a major problem as a become large.

¦ : λ

Example: Strehl limit, with defocus, is S1 = 5 36 so if

= : λ = f = 100mm n 1 47 550nm

then the

: = : Radius a = 7 14 mm Diameter d 14 3mm

so for a focal length of 100 mm, a lens with FNo > 7 is within the Strehl Limit for Spherical Aberration.

In most practical optical systems with FNo > 8 Spherical Aberration is not a problem.

Department of Physics and Astronomy Revised: August 2000 3.8 Computer Examples

Experiment with the program psf available on the CP laboratory machines to calculate the PSF of a round lens under various aberrations. The programme is located in: ˜wjh/mo/examples/pfs

When you run the program you will be prompted for the various aberrations and then the PSF will be displayed via xv. You will then be given the option to save the horizontal linescan through the centre of the PSF in a format that can be used with xgraph or xmgr.Thereisno programming involved here, you just have to run the program! Tasks to try with this programme:

1. Show that the psf of a annular aperture is slightly narrower than the corresponding open aperture.

2. Show that at the Strehl limit of defocus that the psf does not vary significantly in shape : to the ideal psf. (Note at the Strehl limit S4 = 0 5.) 3. Show that at with a defocus greater than the Strehl limit the psf become significantly wider.

4. Experiment with the off-axis aberrations an observe what happens to the shape of the psf.

; µ

Technical Details: The line scan in the intensity h´x 0 but the image displayed by xv is actually

´ ; µ· µ log ´h x y 1 in order to reduce the dynamic range and make the outer ring structure more visible. However when viewing the ideal and Strehl images you will have to use the “Colo(u)r Edit” facility in xv to make the outer rings visible.

Solution

The results below show the PSF of a circular aperture under defocus. The decocus is specified in terms of S4 which is ∆

S4 = 2 W λ= so the Strehl Limit for defocus is S4 = 2.

Department of Physics and Astronomy Revised: August 2000 λ

PSF with no defocus PSF with S4 =

λ = λ

PSF with S4 = 2 . PSF with S4 3 .

; : λ; λ; : λ; λ This can also be shown as a cross-section plot for S4 = 0 0 5 1 5 2 .

1.2 "0.d" "0.5.d" 1 "1.d" "1.5.d" "2.d" 0.8

0.6

0.4

0.2

0 100 110 120 130 140 150

λ These plots show that the PSF is sharply peaked up to a defocus of S4  , (twice the Strehl limit), but then broadens very rapidly with further defocus. This suggests that the Strehl limit is a very strict limit and it is not until about twice the Strehl limit that defocus seriously degrades the PSF. Compare these results with the plots for the OTF in the next section.

Department of Physics and Astronomy Revised: August 2000