image thumbnail

updated 1 day ago

Ince Gaussian Beam by Miguel A. Bandres

Calculate the Ince Gaussian beams of the paraxial wave equation and stable laser resonators. (ince gaussian, hermite gaussian, laguerre gaussian)

Ince_Gaussian.m

example.m

image thumbnail

updated 1 month ago

Optometrika by Yury Petrov

Fast ray tracing across lenses, prisms, and human eye (optics, optical modeling, ray tracing)

coslens( y, z, args, flag )

ellipse_draw( x0, cv, ax, angle, nvert, color )

ellipse_fill( X, Y, x0, cv, ax, angle, hard )

image thumbnail

updated 3 months ago

Mueller-Stokes-Jones Calculus by Martin Vogel

Functions for Mueller, Stokes Jones matrices and vectors used in polarization calculus (polarization, light, mueller)

c2n(array, defaultvalue)

cellfunc(varargin)

jones(varargin)

image thumbnail

updated 7 months ago

Free-space prapagation function using Huygens spherical convolution by Disi A

Given a certain field information at input plane, we can predict any field of view at output plane (optics, physics, simulation)

[g2]=ConvProp(g1,dx1,dx2,z,Nx2,lambda)

image thumbnail

updated 9 months ago

Fiber Lasers and Amplifiers Design Toolbox by Luke Rumbaugh

Design toolbox allows parameter selection by solving lasers/amplifiers for various L,R,P,lambda etc (lasers, fiber lasers, fiber amplifiers)

AmplifierPerformance(s)

AmplifierPerformanceManager(s)

ConvAbsDB2N(alpha,sigma)

image thumbnail

updated 9 months ago

Huygens-Fresnel integral approximation, free-form apertures and rough surfaces by Dominik Hofer

Simulate wave propagation through free-form apertures, or off rough surfaces. (simulation, physics, optics)

addSurface(obj)

byteSize(in, fid)

checkBasics(obj)

image thumbnail

updated 10 months ago

Zernike Package by Yasushi Iwasaki

This package provides Zernike utilities. (zernike, polynomial, optics)

DisplayFringeOrder0(kMax)

DisplayFringeOrder1(kMax)

DisplayParityOrder0(kMax)

image thumbnail

updated 1 year ago

SPR XPhase by Joshua Guske

Computes reflectance (Rp/Rs) for surface plasmon resonance on a system of thin films (spr, multilayer, matrix transfer)

R_mat=exp_xphase(Epsilon,phiRange,wRange,d)

input_xphase.m

image thumbnail

updated 1 year ago

Dynamical Systems with Applications using MATLAB by Stephen Lynch

Companion Software. (mathematics, discrete, fractals)

Program_5c(~)

Programs_17a

Programs_17b

image thumbnail

updated 1 year ago

Fabry Perot filter modeling and Analysis by Tamir Suliman

Matlab program used to Fabry Perot filter (fabry perot, fabry perot filter, fabryperot)

fabryparot4project.m

image thumbnail

updated 1 year ago

Gaussian beam propagation through a series of thin lenses by natan

Propagates a Gaussian beam through a series of thin lenses (gaussian optics, beam, propagation)

Gaussian_Propagation(lambda,beam_waist,wp,fpos,f,show_flag)

image thumbnail

updated 1 year ago

Avantes to Matlab by Kotya Karapetyan

Read spectral data from Avantes USB2 spectrometer files (avantes, spectrometer, optics)

Reading spectra from Avantes binary files (demonstration)

addtolog(string)

avantesBinaryRead(filename)

image thumbnail

updated 1 year ago

Zernike calculator by Christina Dunn

Graphical calculator showing Zernike polynomials for a variety of aperture shapes. (optics, gui)

Zernike calculator

zernikes.m

image thumbnail

updated 1 year ago

barrel and pincushion lens distortion correction by Jaap de Vries

I = LENSDISTORT(I, k)corrects for radially symmetric distortions (image processing, mathematics, optics)

lensdistort(I, k, varargin)

image thumbnail

updated 1 year ago

Planck's Law by Jaap de Vries

SPECEXITANCE Calculates the spectral radiant exitance for a black body (W/m^2·µm) (measurement, physics, radiation)

specexitance.m

image thumbnail

updated almost 2 years ago

Read a binary ZEMAX beam file (ZBF) by Chris Betters

The function returns the values stored in ZBF file for presentation and analysis in matlab. (zemax, zbf, beam)

[Ex Ey x y dx dy nx ny]=readZBF(filename)

image thumbnail

updated 2 years ago

Holoeye SLM by Marcoleonetti1

Routine to send a BW BMP image A Holoeye spatial Ligh Modulator ( LC-R 1080 adaptable for others) (holoeye, optics, polarization)

Send_function(Grey_2,z)

Stripe_bmp_2.m

image thumbnail

updated 2 years ago

Zernike polynomials by Paul Fricker

Zernike polynomials and functions (orthogonal basis on the unit circle). (chemistry, physics, zernike)

zernfun(n,m,r,theta,nflag)

zernfun2(p,r,theta,nflag)

zernpol(n,m,r,nflag)

image thumbnail

updated 2 years ago

Frequency-resolved optical gating (FROG) by Steven Byrnes

An extension of Adam Wyatt's MATLAB FROG program. Various features include anti-aliasing algorithm. (frequency resolved op..., optics, physics)

guesspulse(EF,lastPt,domain,antialias,PowerOrSVD)

makeFROG(Pt,domain,antialias)

mirror()

image thumbnail

updated 2 years ago

Optical Fibre Toolbox by Kotya Karapetyan

Simulation of optical fiber modes (optics, fibre, fiber)

Effective refractive index of three-layer modes

Optical Fibre Toolbox two-layer demo

...

image thumbnail

updated 2 years ago

Pseudo-Zernike Functions by Paul Fricker

Computes the pseudo-Zernike functions (an orthogonal basis on the unit disk). (image processing, mathematics, physics)

pzernfun(n,m,r,theta)

image thumbnail

updated 2 years ago

Diffraction grating, version 2 by Tom O'Haver

Aids for learning and teaching about the principles of diffraction gratings. (chemistry, physics, optics)

interference

monograting

ordergrating

image thumbnail

updated 2 years ago

Read ZEMAX Beam File (ZBF) by Sean Bryan

Reads a ZEMAX Beam File into Matlab, allowing presentation of physical optics simulation results. (zemax, zbf, beam file)

read_zbf( filename )

image thumbnail

updated almost 3 years ago

Interplay of fft, ifft, fftshift, and ifftshift in MATLAB by Shalin Mehta

This file clarifies assumptions about the position of origin in computation of DFT (fft, ifftshift, fftshift)

HowSwappingWorksInFFTandIFFT.m

image thumbnail

updated 3 years ago

Chandrasekhar's H function by Mike Simcock

Chandrasekhar's H function (sometimes called Ambartsumian's or Busbridge's H function) (diffuse reflection, light scattering, hfunction)

str2num(nas);

image thumbnail

updated 3 years ago

A CUDA accelerated Beam Propagation Method [BPM] Solver using the Parallel Computing Toolbox by Patrick Kano

A beam propagation method solver using the CUDA capabilities in the parallel computing toolbox. (mathematics, optics, cuda)

CUDAparaxbpm(CUDAswitch, PLOTswitch, BetaSwitch, Nx, Ny, ...

FunEfieldinit(MeshX, MeshY, Nx, Ny, LengthX, LengthY)

FunPlotSim(zidx, PosZ, MeshX, MeshY, nMatrix, Efield, Mes...

image thumbnail

updated 3 years ago

3-D Propagation Code by Charles Rino

3-D Propagation simulator for turbulent media (radio propagation, light propagation, atmosphere)

AtmosphericCorrectionCRPL( x, z, varargin )

Cphi=PhaseStructConst(Cp,gnu)

Cs=Cn2Cs(gnu,Cn2)

image thumbnail

updated 3 years ago

3-D Ray Trace by Charles Rino

3-D Ray Trace function for refractive propagation (ray trace, radio propagation, light propagation)

AtmosphericCorrectionCRPL( x, z, varargin )

Cs=Cn2Cs(gnu,Cn2)

Gradient_Of_Index_Of_Refraction(Position0,modelRfn)

image thumbnail

updated 3 years ago

zernike3 by Carey Smith

Compute Zernike polynomials and coefficients of a Zernike fit with mutually consistent functions. (zernike, zernike decomposition, optics)

zernfun(n,m,r,theta,nflag)

zernike_coeffs3(phi, zernv, X, Y, valid, order)

zernike_fcn3(zernv, X, Y, valid, order)

image thumbnail

updated almost 4 years ago

1D Linear BPM by David Romero-Antequera

FFT-based Beam Propagation Method for linear operators. (fft, bpm, linear bpm)

D=D_lateral1D(Scale,power,varargin)

Field=LinearBPM(InputField,D,z)

image thumbnail

updated almost 4 years ago

Disk Harmonic Functions by Carey Smith

Computes Disk Harmonic Functions; uses Bessel functions and derivatives (mathematics, physics, harmonic bessel)

DiskHarmonic.m

image thumbnail

updated almost 4 years ago

Optical Communications Systems (SOFTDM Ver 1.5) Update Matlab 2010a by David Steckler

Toolbox/blockset about optical comunication system Sonet/SDH mapping over fiber optics (sonet, sdh, communication)

Acerca_SoftTDM.m

Average(u)

Circuito_Decision(u)

image thumbnail

updated almost 4 years ago

Phase and amplitude hue plot by Iacopo Mochi

Plots a complex 2D array. The phase is shown as hue and the amplitude as brightness. (phase, hue, optics)

varargout=phplot(varargin)

image thumbnail

updated almost 4 years ago

Optical_bench by Bjorn Gustavsson

Optical_bench - a simple ray-tracing tool for optical systems. (physics, optics)

opt_absorption.m

opt_all_refrindx(wavelength)

opt_aperture(opt_type,opt_args)

image thumbnail

updated 4 years ago

Zernfun2a.m by David Schaack

Alternative to Paul Fricker's Zernfun2.m. Allows selection of industry standard Zernike orderings. (optics)

zernfun2A(p,r,theta,order,nflag)

image thumbnail

updated 4 years ago

Kramers-Kronig solution of Electroabsorption experimental data by Yous Jalili

calculate electrore-fraction spectra from experimentally measured electro-absorption data (optics, optoelectronics, physics)

KramKrog.m

image thumbnail

updated almost 5 years ago

Grating's factor by Bo Chen

calculate sin(n*pi*x)/sin(pi*x) (chemistry, physics, grating)

y=nsinc(x,N)

image thumbnail

updated 5 years ago

Fabry Perot filter modeling and Analysis by Tamir Suliman

Matlab program used to Fabry Perot filter (fabry perot, fabry perot filter, optical filters)

fabryparot4project.m

image thumbnail

updated 5 years ago

Photonic bands for a 2D photonic crystal by Cazimir-Gabriel Bostan

Calculates and plots the photonic bands for a 2D photonic crystal made of of cylinders with circular (chemistry, physics, photonic crystal)

[BZx,BZy,kx,ky]=bz_irr1(Nr)

[omegaE, omegaH]=eigsEH(kGx,kGy,epsi,N,bands)

epsi=epsgg(r, na, nb, b1, b2, N1, N2)

image thumbnail

updated 5 years ago

Spectral filtering for optics by Amita B Deb

Does spatial filtering. (chemistry, physics, spatial filtering)

fourier_filter.m

image thumbnail

updated 8 years ago

Tools for Data Analysis in Optics, Acoustics, Signal Processing by Valerio Lucarini

A simple software package for sophisticated data analysis for optics, acoustics, signal processing (physics, optics, acoustics)

[refin,imfin]=selfconscam(omega,rechi,imchi,iter,w)

imchi=kkimbook2(omega,rechi,alpha)

imchi=sskkimbook2(omega,rechi,omega1,imchi1)

Contact us