当前位置: X-MOL 学术Comput. Phys. Commun. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
OTSLM toolbox for Structured Light Methods
Computer Physics Communications ( IF 6.3 ) Pub Date : 2020-08-01 , DOI: 10.1016/j.cpc.2020.107199
Isaac C.D. Lenton , Alexander B. Stilgoe , Timo A. Nieminen , Halina Rubinsztein-Dunlop

We present a new Matlab toolbox for generating phase and amplitude patterns for digital micro-mirror device (DMD) and liquid crystal (LC) based spatial light modulators (SLMs). This toolbox consists of a collection of algorithms commonly used for generating patterns for these devices with a focus on optical tweezers beam shaping applications. In addition to the algorithms provided, we have put together a range of user interfaces for simplifying the use of these patterns. The toolbox currently has functionality to generate patterns which can be saved as an image or displayed on a device/screen using the supplied interface. We have only implemented interfaces for the devices our group currently uses but we believe that extending the code we provide to other devices should be fairly straightforward. The range of algorithms included in the toolbox is not exhaustive. However, by making the toolbox open sources and available on GitHub we hope that other researchers working with these devices will contribute their patterns/algorithms to the toolbox. Program summary: Program Title: OTSLM Toolbox for Structured Light Methods Program Files doi: http://dx.doi.org/10.17632/8sc66m9r7s.1 Licensing provisions: GPLv3 Programming language: Matlab Nature of problem: There are many algorithms for generating computer controlled holograms however the code and descriptions for these algorithms is often provided as supplementary material to research publications which use these methods, and in some cases only the description is provided without code to reproduce the pattern. Furthermore, implementation of these algorithms can be a time consuming task. Even for simple patterns with simple analytical expressions for the far-field phase or amplitude, such as the Laguerre-Gaussian and Hermite-Gaussian beams, time is often wasted by researchers having to re-implement and test these patterns. Existing libraries for generation of SLM patterns focus on specific tasks, methods of pattern generation, or target specific hardware. These libraries are not general purpose or easily modifiable for general use by researchers working with computer controlled holograms in fields such as beam shaping and optical tweezers. Solution method: We have assembled a toolbox containing many methods commonly used with these devices. The number of methods available makes assembling a complete toolbox impossible, instead we have focused on putting together a general collection of methods, in the form of an open source toolbox, with the hope that other researchers will contribute patterns/algorithms they use. The toolbox currently includes a range of simple and iterative methods for beam shaping and steering as well as some of the methods our group currently uses for SLM control, calibration, imaging and optical tweezers beam shaping. To make the tools we have developed easy to use, we have tried to maintain a consistent well documented interface to each of the functions and provided graphical user interfaces to many of the simpler functions enabling code-free pattern generation. Additional comments: Some of the features require the Optical Tweezers Toolbox [1], in particular, the non-paraxial beam visualisation and optimisation routines. Certain functions require components from other Matlab packages such as the image acquisition toolbox, these can be licensed and installed from Mathworks. There is also interest from the authors in providing a Python version that requires no proprietary components depending on interest from the community. A public repository for the toolbox is available on GitHub [2]. References [1] Optical Tweezers Toolbox (Version 1), https://github.com/ilent2/ott, (2019). [2] OTSLM, https://github.com/ilent2/otslm, (2019).

中文翻译:

用于结构光方法的 OTSLM 工具箱

我们提出了一个新的 Matlab 工具箱,用于为基于数字微镜器件 (DMD) 和液晶 (LC) 的空间光调制器 (SLM) 生成相位和幅度模式。该工具箱包含一组通常用于为这些设备生成图案的算法,重点是光镊光束整形应用。除了提供的算法之外,我们还整合了一系列用户界面以简化这些模式的使用。该工具箱目前具有生成图案的功能,这些图案可以保存为图像或使用提供的界面显示在设备/屏幕上。我们只为我们团队目前使用的设备实现了接口,但我们相信将我们提供的代码扩展到其他设备应该相当简单。工具箱中包含的算法范围并不详尽。但是,通过将工具箱开源并在 GitHub 上可用,我们希望使用这些设备的其他研究人员将他们的模式/算法贡献给工具箱。程序摘要:程序名称:OTSLM Toolbox for Structured Light Methods Program Files doi: http://dx.doi.org/10.17632/8sc66m9r7s.1 许可条款:GPLv3 编程语言:Matlab 问题性质:有很多算法生成计算机然而,这些算法的代码和描述通常作为使用这些方法的研究出版物的补充材料提供,在某些情况下,仅提供描述而没有代码来重现模式。此外,这些算法的实现可能是一项耗时的任务。即使对于远场相位或幅度具有简单解析表达式的简单模式,例如拉盖尔-高斯光束和厄米-高斯光束,研究人员也经常浪费时间,不得不重新实施和测试这些模式。用于生成 SLM 模式的现有库侧重于特定任务、模式生成方法或目标特定硬件。这些库不是通用的,也不是易于修改的,供研究人员在光束整形和光镊等领域使用计算机控制的全息图进行一般使用。解决方法:我们组装了一个工具箱,其中包含许多这些设备常用的方法。可用方法的数量使得组装一个完整的工具箱变得不可能,相反,我们专注于组合一个通用的方法集合,以开源工具箱的形式,希望其他研究人员能够贡献他们使用的模式/算法。该工具箱目前包括一系列用于光束整形和转向的简单迭代方法,以及我们团队目前用于 SLM 控制、校准、成像和光镊光束整形的一些方法。为了使我们开发的工具易于使用,我们试图为每个函数维护一个一致的、有据可查的界面,并为许多更简单的函数提供图形用户界面,从而实现无代码模式生成。附加评论:某些功能需要光学镊子工具箱 [1],特别是非近轴光束可视化和优化程序。某些功能需要来自其他 Matlab 包的组件,例如图像采集工具箱,这些可以从 Mathworks 获得许可和安装。作者也有兴趣提供一个不需要专有组件的 Python 版本,这取决于社区的兴趣。GitHub [2] 上提供了该工具箱的公共存储库。参考文献 [1] 光镊工具箱(第 1 版),https://github.com/ilent2/ott,(2019 年)。[2] OTSLM,https://github.com/ilent2/otslm,(2019 年)。com/ilent2/ott,(2019 年)。[2] OTSLM,https://github.com/ilent2/otslm,(2019 年)。com/ilent2/ott,(2019 年)。[2] OTSLM,https://github.com/ilent2/otslm,(2019 年)。
更新日期:2020-08-01
down
wechat
bug