{"id":27370128,"url":"https://github.com/flexcompute/metalens","last_synced_at":"2025-04-13T08:48:03.695Z","repository":{"id":40611501,"uuid":"380040119","full_name":"flexcompute/metalens","owner":"flexcompute","description":"Simulation and optimization of dielectric metalens with Tidy3D","archived":false,"fork":false,"pushed_at":"2021-07-30T20:31:19.000Z","size":3096,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2023-12-18T02:43:08.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flexcompute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-24T20:13:50.000Z","updated_at":"2023-12-08T05:17:05.000Z","dependencies_parsed_at":"2022-09-20T12:05:08.508Z","dependency_job_id":null,"html_url":"https://github.com/flexcompute/metalens","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexcompute%2Fmetalens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexcompute%2Fmetalens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexcompute%2Fmetalens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexcompute%2Fmetalens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flexcompute","download_url":"https://codeload.github.com/flexcompute/metalens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688190,"owners_count":21145762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-13T08:48:03.114Z","updated_at":"2025-04-13T08:48:03.684Z","avatar_url":"https://github.com/flexcompute.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# metalens\nSimulation and optimization of dielectric metalens with Tidy3D.\n\nThis repo contains an example of using Tidy3D to simulate and optimize a large area metalens.\n\n![alt text](https://github.com/flexcompute/metalens/blob/main/Metalens.png?raw=true)\n\n## Contents\n\n### Simulation Files\n\n- The jupyter notebook `Metalens_Simulate_Single.ipynb` runs the single simulation of a large area, 100 wavelength diameter metalens (with total dimensions of (100 x 100 x 46 wavelengths) in under 5 minutes.\n\n- The python script `Metalens_Optimize.py` runs a brute force optimization of the metalens unit cells to improve focusing efficiency by 10%.\n\n\n### Results and Post Processing\n\n- The colormap for plotting has data stored in `BGYR_cmp.txt` and is imported for plotting from `cmap.py`.\n\n- The data from the optimization runs are stored in `data` directory, as well as a script for potting this data.\n\n## Finally\n\nIf you want more information on signing up to use tidy3d for free, please see our [documentation](https://simulation.cloud/docs/html/index.html) or reach out to us directly!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexcompute%2Fmetalens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflexcompute%2Fmetalens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexcompute%2Fmetalens/lists"}