LAT Hologramm-Software 2.0
Loading...
Searching...
No Matches
Axicon_Hologram.m
Go to the documentation of this file.
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % Funktion
3 %
4 % Phasenbild für ein Axikon, welches an der Stelle (x0,y0) auf dem SLM seinen Mittelpunkt hat
5 % (Koordinaten bezogen auf den Mittelpunkt des Hologramms, Einheit mm
6 % alpha gibt den Axikonwinkel an)
7 %
8 % Projekt: "UKP-Laseroptikmodul zur Erzeugung von Multi-Besselstrahlen zum Bohren mit
9 % hohem Aspektverhältnis"
10 %
11 % Autor: Jan Marx
12 % Zuletzt bearbeitet: 29.09.22
13 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14
15function [image] = Axicon_Hologram(alpha,x0,y0)
16Hologram = evalin('base', 'Hologram');%> #Hochgradig ineffiziente Lösung!!!
17wavelength = evalin('base', 'Laser.wavelength');%#Hochgradig ineffiziente Lösung!!!
18
19r = Hologram.distanceFromPoint(x0,y0)/(wavelength/1000/1000)*2*pi;
20
21image = exp(1i*(r.* tand(alpha)));
22end
23
function Axicon_Hologram(in alpha, in x0, in y0)
Phasenbild für ein Axikon, welches an der Stelle (x0,y0) auf dem SLM seinen Mittelpunkt hat.
Hologramme werden als Objekte vom Typ Hologram dargestellt.
Definition: Hologram.m:11
function distanceFromPoint(in obj, in x0, in y0)
Gibt Matrix mit Abstand jedes Pixels des Holograms zum Punkt x0,y0.
Definition: SLM.m:7