File:Phase-shift illustration.png

Phase-shift_illustration.png(485 × 485 pixels, file size: 5 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description Illustration of en:phase-shift masks
Date (UTC)
Source Own work (Original text: self-made with MATLAB)
Author Oleg Alexandrov

Licensing edit

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Source code (MATLAB) edit

% A very simple code to illustrate the phase-shift in a plane wave
% Things become much more complex if the effects of diffraction are
% included.

Lx=1;
Ly=0.4;

Mx = Lx/2;
Wy = Ly/2;

M=400;
N = floor(M*Ly/Lx);

[X, Y]=meshgrid(linspace(0, Lx, M), linspace(0, Ly, N));


k = 100; % the wavenumber
Z = real(exp(i*k*X));

% The field Z with a phase-shifted part
S = find ( X > Mx & Y < Ly/2 + Wy/2 & Y > Ly/2 - Wy/2);
W = Z;
W(S) = W(S)*exp(i*pi);


figure(1); clf; hold on; axis equal; axis off;
surf(X, Y, real(Z));

downshift = 1.5*Ly;
surf(X, Y-downshift, real(W));

view(0, 90);
shading flat;
colormap copper;
axis([0, Lx, -downshift, Ly]);

saveas(gcf, 'Phase-shift_illustration.eps', 'psc2');


This simple math image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with {{vector version available|new image name}}.


It is recommended to name the SVG file “Phase-shift illustration.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current04:26, 9 October 2007Thumbnail for version as of 04:26, 9 October 2007485 × 485 (5 KB)Oleg Alexandrov (talk | contribs)Rotate and flip to be consistent with another picture
01:39, 25 September 2007Thumbnail for version as of 01:39, 25 September 2007485 × 485 (4 KB)Oleg Alexandrov (talk | contribs){{Information |Description=Illustration of en:phase-shift masks |Source=self-made with MATLAB |Date=~~~~~ |Author= Oleg Alexandrov }} {{PD-self}} Category:Files by User:Oleg Alexandrov from en.wikipedia

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: