Skip to content

Hao-Laboratory/Angular-Spectrum-Rearrangement

Repository files navigation

Angular Spectrum Rearrangement

This repository provides the official open-source code of the following paper:

Diffraction modeling between arbitrary non-parallel planes using angular spectrum rearrangement, Optica, 2024
Yiwen Hu*, Xin Liu*,✉, Xu Liu, and Xiang Hao
*Equal contributors
Correspondence: Prof. Hao (www.haoxiang.ac.cn) and Dr. Liu (https://liux2018.github.io).
For implementation and simulation details, please contact Yiwen (huyw@zju.edu.cn).

principle

Quick start

This repository contains demonstrations of scalar and vectorial diffraction modeling between two arbitrary planes using the proposed angular spectrum rearrangement. It also includes the comparison of our method with the control algorithm that combines the chirp Z-transform and angular spectrum interpolation, where the naive point-by-point integration serves as the ground truth.

Config and Run

Just run the following main scripts:

ScalarDiffraction_test.m
VectorialDiffraction_test.m

Citation

If you use this code and find our work valuable, please cite our paper.

@article{Hu2025DiffractionModelingBetween,
  title={Diffraction modeling between arbitrary planes using angular spectrum rearrangement},
  author={Hu, Yiwen and Liu, Xin and Liu, Xu and Hao, Xiang},
  year={2025},
  journal={Optica},
  volume = {12},
  number = {1},
  pages = {39--45},
  doi={10.1364/OPTICA.544604},
}

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.