/phase-retrieval-algorithm

Determining high-accuracy random phase-only masks for complex local modulation of light fields

Primary LanguageMATLABOtherNOASSERTION

Beam shaping using random phase-only mask for MATLAB®

Reference

Please use the following citation when citing phase-retrieval-algorithm in your research work:

@article{Yommi2019,
  title={Determining high-accuracy random phase-only masks for local complex modulation of light fields},
  author={M. Yommi, A. Bianchetti, P. Etchepareborda, A. Federico},
  year={2019}
}

See licensing terms for details.

Contents

Script Description
main.m Main script.
define_T.m Initial conditions settings.
FFT2.m Fast Fourier Transform balanced.
iFFT2 Inverse Fast Fourier Transform balanced.
PR.m Phase retrieval algorithm.
speckle_gen.m Speckle field generator.
ssim_index.m Structural SIMilarity (SSIM) index.
format_subplot.m Subplot function.

For a detailed description of arguments and outputs consult the docstring in the files.

If you have suggestions, bugs or feature requests or want to contribute code, please email us.

Disclaimer

All functions in this toolbox were implemented with care and tested on the examples presented in Determining high-accuracy random phase-only masks for local complex modulation of light fields. were possible. Nevertheless, they may contain errors or bugs, which may affect the outcome of your analysis. We do not take responsibility for any harm coming from using this toolbox, neither if it is caused by errors in the software nor if it is caused by its improper application. Please email us any bugs you find.

Distributed under Open Source Script.