Skip to content

Commit

Permalink
Added example
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanHazineh committed Aug 28, 2024
1 parent b5aa92c commit c4da6af
Show file tree
Hide file tree
Showing 2 changed files with 584 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,21 @@
"ax[2].imshow(meas_gs[0,0,0,0].detach().cpu().numpy(), cmap='gray')\n",
"[axi.axis('off') for axi in ax.flatten()];\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The image is blurry? Yes because metasurfaces by themselves are high chromatic. You have chromatic dispersion.\n",
"Dflat can be used to optimize metasurfaces with gradient descent to minimize dispersion or can be used alongside post-processing algorithms to learn to deblurr these images and restore high quality images or reconstruct properties of the scene like depth and hyperspectral information. "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Tutorials on this will be made in the future\n"
]
}
],
"metadata": {
Expand Down
569 changes: 569 additions & 0 deletions scripts/field_propagation.ipynb

Large diffs are not rendered by default.

0 comments on commit c4da6af

Please sign in to comment.