# Diffractsim: A diffraction simulator for exploring and visualizing physical optics
Flexible, and easy-to-use Python diffraction simulator that focuses on visualizing physical optics phenomena.
The simulator uses mainly scalar diffraction techniques for light propagation, provides an interface for simulation set up, and includes several plotting options, counting with CIE Color matching functions for accurate color reproduction.
The implemented methods are differentiable when using the JAX-backend, enabling optimization and design of the optical setups.
The basic use of this simulator using the angular spectrum method is described in this [article](https://rafael-fuente.github.io/simulating-diffraction-patterns-with-the-angular-spectrum-method-and-python.html).
Take a look to the [videos](https://www.youtube.com/watch?v=Ft8CMEooBAE&list=PLYkZehxPE_IhyO6wC21nFP0q1ZYGIW4l1&index=1) to see the animated simulations!
Raw data
{
"_id": null,
"home_page": "https://github.com/rafael-fuente/Diffraction-Simulations--Angular-Spectrum-Method",
"name": "diffractsim",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "diffraction, angular spectrum method, optics, physics simulation",
"author": "Rafael de la Fuente",
"author_email": "rafael.fuente.herrezuelo@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/06/a9/ee9984f246d44b7434b286e2e2bed240542e519af9af5391e6f0050e98ba/diffractsim-2.2.7.tar.gz",
"platform": null,
"description": "\r\n# Diffractsim: A diffraction simulator for exploring and visualizing physical optics\r\nFlexible, and easy-to-use Python diffraction simulator that focuses on visualizing physical optics phenomena.\r\nThe simulator uses mainly scalar diffraction techniques for light propagation, provides an interface for simulation set up, and includes several plotting options, counting with CIE Color matching functions for accurate color reproduction. \r\nThe implemented methods are differentiable when using the JAX-backend, enabling optimization and design of the optical setups.\r\n\r\n\r\nThe basic use of this simulator using the angular spectrum method is described in this [article](https://rafael-fuente.github.io/simulating-diffraction-patterns-with-the-angular-spectrum-method-and-python.html).\r\nTake a look to the [videos](https://www.youtube.com/watch?v=Ft8CMEooBAE&list=PLYkZehxPE_IhyO6wC21nFP0q1ZYGIW4l1&index=1) to see the animated simulations!\r\n",
"bugtrack_url": null,
"license": "MPL 2.0",
"summary": "A flexible diffraction simulator for exploring and visualizing physical optics",
"version": "2.2.7",
"project_urls": {
"Download": "https://github.com/rafael-fuente/Diffraction-Simulations--Angular-Spectrum-Method/archive/main.zip",
"Homepage": "https://github.com/rafael-fuente/Diffraction-Simulations--Angular-Spectrum-Method"
},
"split_keywords": [
"diffraction",
" angular spectrum method",
" optics",
" physics simulation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7805017fe3e4ad9f2c643a7bfb829aba94cb398ed5642ddefee86a78fb3d39bc",
"md5": "434ae4dbb76a9ad4639d8f7ab5e53685",
"sha256": "cf6a6794986dc031ec35524c9e763b8fd34bd84f0fd7bca949a334c84298b763"
},
"downloads": -1,
"filename": "diffractsim-2.2.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "434ae4dbb76a9ad4639d8f7ab5e53685",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 71872,
"upload_time": "2024-07-12T04:21:10",
"upload_time_iso_8601": "2024-07-12T04:21:10.937312Z",
"url": "https://files.pythonhosted.org/packages/78/05/017fe3e4ad9f2c643a7bfb829aba94cb398ed5642ddefee86a78fb3d39bc/diffractsim-2.2.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "06a9ee9984f246d44b7434b286e2e2bed240542e519af9af5391e6f0050e98ba",
"md5": "b25c76e39c2dca3ab46db7bd43e4dd01",
"sha256": "8766691e7df7bb1183724f1bca94b075cee8d26dd4363c70524c720c904c84ed"
},
"downloads": -1,
"filename": "diffractsim-2.2.7.tar.gz",
"has_sig": false,
"md5_digest": "b25c76e39c2dca3ab46db7bd43e4dd01",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 56739,
"upload_time": "2024-07-12T04:21:12",
"upload_time_iso_8601": "2024-07-12T04:21:12.644174Z",
"url": "https://files.pythonhosted.org/packages/06/a9/ee9984f246d44b7434b286e2e2bed240542e519af9af5391e6f0050e98ba/diffractsim-2.2.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-12 04:21:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rafael-fuente",
"github_project": "Diffraction-Simulations--Angular-Spectrum-Method",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "cycler",
"specs": [
[
">=",
"0.10.0"
]
]
},
{
"name": "kiwisolver",
"specs": [
[
">=",
"1.3.1"
]
]
},
{
"name": "matplotlib",
"specs": [
[
">=",
"3.3.3"
]
]
},
{
"name": "numpy",
"specs": [
[
">=",
"1.19.4"
]
]
},
{
"name": "pillow",
"specs": [
[
">=",
"8.3.2"
]
]
},
{
"name": "progressbar",
"specs": [
[
">=",
"2.5"
]
]
},
{
"name": "pyparsing",
"specs": [
[
">=",
"2.4.7"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
">=",
"2.8.1"
]
]
},
{
"name": "scipy",
"specs": [
[
">=",
"1.6.0"
]
]
},
{
"name": "six",
"specs": [
[
">=",
"1.15.0"
]
]
}
],
"lcname": "diffractsim"
}