Koç University
Department of Electrical and Electronics Engineering
ELEC 429/529: F UNDAMENTALS OF O PTICS
Numerical Homework #2 - Imaging Systems
A SSIGNED DATE : 7 April 2025
D UE DATE : 13 April 2025, 23.59
Contact TAs: Bahadır Kesgin (bkesgin22@ku.edu.tr), Bora Çarpınlıoğlu
(bcarpinlioglu21@ku.edu.tr)
WARNING: Read the submission guidelines carefully, not complying with the
guidelines will result in a deduction of 10% from the overall homework grade. In
your plots make sure to label your axes, undefined or incorrect (e.g., using unit
mm instead of um) axes will result in a 1 point deduction per every question
without correct labeling. Late submissions result in a deduction of 30% from the
overall homework grade per every calendar day that homework is submitted late.
SUBMISSION GUIDELINES: We do not accept Jupyter notebook (.ipynb) files for
submission, you can use these notebooks to work on your assignment but make
sure that you submit ONE python (.py) file and it is working as desired before
submitting. You can easily perform the conversion in your notebook editor. Name
your file as follows (case-sensitive): KUNET_ID_numericalhw_hwindex.py (e.g.
bkesgin22_numericalhw_3.py). Before submitting, double-check your files to ensure that all answers are clearly visible after running the code. Please avoid structuring your code in a way that requires us to modify any part of it to access your
results.
Question 1 (8 pts): Create a simulation grid (x, y) = 400 × 400 µm
with a pixel resolution of 1.5625 µm. Then create a Gaussian beam
spectrally centered at 1030 nm, with a full width at half maximum
(FWHM) of 100 × 100 µm and an average power of 1 W . Demagnify the Gaussian beam with 4-f imaging, using two lenses with focal lengths of 800 µm and 400 µm. Using a propagation step (dz) of
20 µm, plot the intensity of the propagated beam every 420 µm.
ELEC 429/529: Numerical Homework #2
Page 1 of 2
Question 2 (12 pts): Import the given image of Michael Faraday
and magnify it with 4-f imaging using two lenses with focal lengths
of 800 µm and 500 µm. Use the same propagation step as Q1 and
plot the intensity of the propagated beam every 420 µm. Note: If you
need to pad or shrink the given image array, you have a problem in
your grid.
Bonus Question (5 pts): Considering the results you obtained, design
an optical system that transfers the image of Michael Faraday to the
output plane without any distortion, change in size, or inversion. You
should use lenses with focal lengths of 800 µm and 500 µm. You
should not use each lens more than twice. Use the same propagation step as Q1 and plot the intensity of the propagated beam every
420 µm.
ELEC 429/529: Numerical Homework #2
Page 2 of 2