Skip to content

SSPIM is a pattern producer for gray and binary spatial light modulators.

Notifications You must be signed in to change notification settings

aakhtemostafa/SSPIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Here, we present Structured SPIM (SSPIM), which provides an open-source, user-friendly and compact toolbox for beam shaping that can generate digital patterns for a wide range of illumination beams.

1. Graphical user interface

SSPIM represents a toolbox to produce static, spherical Gaussian, Bessel, and Airy beams by simple control of a Spatial Light Modulator (SLM). In addition, it is able to produce patterns for incoherent and coherent (lattice beam) array beam formation and tiling for all types of beams supported.SSPIM is designed with a graphical user interface (GUI) of MATLAB and is also able to work stand-alone. Output patterns of the SSPIM can be used with any type of SLM, such as grayscale or binary SLMs.

2. Capabilities of SPPIM

The SSPIM toolbox has the capability to generate different types of SLM patterns for a wide range of optical beams using different methods.

∙ Static Gaussian beam

∙ 1D Airy beam

∙ 2D Airy beam

∙ Bessel beam

∙ Incoherent Gaussian array beams

∙ Incoherent Bessel array beams

∙ Incoherent Airy array beams

∙ Square lattice beam

∙ Hexagonal lattice beam

∙ Tiling method for all types of beams.

*SLM pattern generating for lattice beam is dependent to the position of the SLM in the optical setup than to the illumination objective lens.


∙ Damman gating

∙ Optimal grating

∙ Amplitude mask (ellipse, annular, Gaussian, rectangular )

∙ Far field intensity prediction as feedback.

∙ Gray value SLM pattern

∙ Binary value SLM Pattern

3. Download

The standalone version of the SSPIM toolbox is available for Windows and Mac.

📎 Source codes for Windows (see Installation and Requirements ☟)

📎 Standalone toolbox for Windows (see Installation and Requirements ☟)

📎 Source codes for Mac (see Installation and Requirements ☟)

📎 Standalone toolbox for Mac (see Installation and Requirements ☟)

📎 Usermanual (see Installation and Requirements ☟)

4. Installation and Requirements for the standalone version

Windows version of the SSPIM toolbox is implemented in Matlab 2015a and the standalone version of the SPPIM requires the Matlab Runtime 2015a (8.5).

∙ Matlab Runtime 8.5 is available at this link. (32bit/64bit)

Mac version of the SSPIM toolbox is implemented in Matlab 2015b and the standalone version of the SPPIM requires the Matlab Runtime 2015b (9.0).

∙ Matlab Runtime 9.0 is available in this link. After click on the link, you will be redirected to the dropbox, then in the dropbox page, click on the Download button. After download, unzip the file and then launch "install" file. The Matlab Runtime 9.0 will be installed in this directory "/Applications/MATLAB/MATLAB_Runtime".

6. Using SSPIM with Matlab

If you want to work with SSPIM's sources code, First download the correct version of source codes for your operating system: Mac or Windows (see Download section ☝︎). Then, unzip the downloaded folder and copy the directory of unzipped folder into the current directory in Matlab environment. In order to using the SSPIM, open the m file that entitled "SSPIM_toolbox.m". Then run and enjoy it.

7. Tutorial videos

For more information about the SSPIM and its capabilities check out SSPIM's youtube channel.

Releases

No releases published

Packages

No packages published