Beams
ABCDMatrixOptics.AbstractBeam
— Typeabstract type AbstractBeam{T}
Serves as abstract type for GeometricBeam
and GaussianBeam
.
Simple Geometric Beam
ABCDMatrixOptics.GeometricBeam
— TypeGeometricBeam(w=0.0, k=0.0, z=0.0)
Defines a geometrical ray beam with keywords. Distance to the axis is w
, the angle with respect to the axis is k
. zpos
is the initial position along the optical axis.
See also GaussianBeam
.
Example
julia> GeometricBeam(w=1.0)
GeometricBeam{Float64}(1.0, 0.0, 0.0)
Simple Gaussian Beam
ABCDMatrixOptics.GaussianBeam
— Typestruct GaussianBeam{T} <: AbstractBeam{T}
q
zpos
n
λ
end
ABCDMatrixOptics.z
— Functionz(beam::GaussianBeam)
Return the distance to the beam waist z
of the Gaussian beam.
ABCDMatrixOptics.zR
— FunctionABCDMatrixOptics.R
— FunctionABCDMatrixOptics.w0
— FunctionABCDMatrixOptics.w
— Function