Calculating diffraction patterns

  • Thread starter Gobil
  • Start date
  • #1
59
0
hi All,

I recently got interested in a general solution to diffraction from an object at verious distance and wavelengths. I came across the Fresnel Kirchoff formula (attached formula from Schnars, digital holography).

My problem is I cannot seem to replicate a diffraction that makes sense to me from this formula. My approach is to calculate numerically the terms inside the double integral, then integrate in x and y, and display the magnitude squared. If I try this with a square aperture centered in a opaque screen, I get something that looks like the image attached.

Am I doing something basic wrong?

Thanks in advance!
 

Attachments

Answers and Replies

  • #2
sophiecentaur
Science Advisor
Gold Member
25,160
4,800
Itg strikes me that you need to start with a very simple situation and aim at getting what you can predict analytically with your numerical method. You have probably made some simple error in your coding which you will either have to find by re-examining in detail or by breaking the problem down into individual steps. If your aperture just consists of a top hat function in one dimension then you would expect a sin(x)/x pattern, for instance.
Scaling could be a problem, too - dimensions in wavelengths etc.
 
  • #3
jtbell
Mentor
15,656
3,728
To check your results, try to compare them against this applet for Fresnel diffraction:

http://www.falstad.com/diffraction/

One of the source options is a square aperture.
 
  • #4
59
0
ok, thanks jtbell, the applet is useful, as you can see from my image, it looks like I´m just getting one corner of the actual diffraction pattern, which I don´t understand very well. I did read somewhere when doing Fourier transforms you get a one sided spectrum and have to reflect it, but I´m not entirely clear on why this is.

Any more info welcome!
 
  • #5
59
0
hmm, after much fiddling around I´m pretty sure I´m putting in the right values, but for the diffraction pattern of a square aperture is the image you see below, which seems like one quarter of the real image or something like that.

any ideas?
 

Attachments

Related Threads on Calculating diffraction patterns

  • Last Post
Replies
15
Views
4K
  • Last Post
Replies
7
Views
2K
  • Last Post
Replies
2
Views
685
  • Last Post
Replies
6
Views
7K
Replies
28
Views
3K
Replies
2
Views
2K
Replies
3
Views
4K
Replies
2
Views
635
Replies
16
Views
4K
Replies
5
Views
2K
Top