{"id":17162474,"url":"https://github.com/weisongzhao/adaptiveoptics.simulation","last_synced_at":"2025-09-07T01:06:17.512Z","repository":{"id":152835237,"uuid":"175464267","full_name":"WeisongZhao/AdaptiveOptics.simulation","owner":"WeisongZhao","description":"Simulation for sensorless adaptive optics (Confocal microscopy, Modal method)","archived":false,"fork":false,"pushed_at":"2022-01-03T16:15:33.000Z","size":127,"stargazers_count":23,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T14:12:29.446Z","etag":null,"topics":["adaptive-optics","confocal-microscopy","matlab","matlab-toolbox","simulation"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WeisongZhao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-03-13T17:02:03.000Z","updated_at":"2025-04-06T13:49:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"f15262e4-f6cb-4c07-99e0-2bedf64e9c6b","html_url":"https://github.com/WeisongZhao/AdaptiveOptics.simulation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WeisongZhao/AdaptiveOptics.simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeisongZhao%2FAdaptiveOptics.simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeisongZhao%2FAdaptiveOptics.simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeisongZhao%2FAdaptiveOptics.simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeisongZhao%2FAdaptiveOptics.simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WeisongZhao","download_url":"https://codeload.github.com/WeisongZhao/AdaptiveOptics.simulation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WeisongZhao%2FAdaptiveOptics.simulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273983127,"owners_count":25202098,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["adaptive-optics","confocal-microscopy","matlab","matlab-toolbox","simulation"],"created_at":"2024-10-14T22:45:46.919Z","updated_at":"2025-09-07T01:06:17.505Z","avatar_url":"https://github.com/WeisongZhao.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Simulation for sensorless adaptive optics (Confocal microscopy, Modal method)\n## Introduction\n### The simulation generates the aberrated PSF on the pupil with Zernike polynomial 5-22 orders, and corrects them with different methods: \n1. GA (Genetic Algorithm). **1000+measurements**\n2. Modal method. **350+measurements**\n3. SPGD (Stochastic Parallel Gradient  Descent). **250+measurements**\n4. Optimal Modal method. **150+measurements**\n\n\n\n\n\n### All the methods follow the basic direction---\u003e Estimate the Zernike polynomial coefficients based on images with some of measurements.\n\n\u003cp\u003e\n\u003cimg src='img/Comparison of different metrics.png' align=\"right\" width=400\u003e\n\u003c/p\u003e\n\nA comparison of different metrics (the steeper the curve, the better the metric).\n- M1: Variance (`aberration.m`);\n- M2: Sharpness (`aberration2.m`);\n- M3: Gradient (`aberration3.m`);\n- M4: Summation (`aberration4.m`).\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n\n## Attention\nThis repo. is made just for self using. It may have bugs or trouble. You can contact me with a github issue.\n\nIf you find it useful, please cite our work:\n\n[Liu, J., Zhao, W., Liu, C., Kong, C., Zhao, Y., Ding, X., \u0026 Tan, J. (2019). Accurate aberration correction in confocal microscopy based on modal sensorless method. Review of Scientific Instruments, 90(5), 053703.](https://aip.scitation.org/doi/abs/10.1063/1.5088102)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweisongzhao%2Fadaptiveoptics.simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweisongzhao%2Fadaptiveoptics.simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweisongzhao%2Fadaptiveoptics.simulation/lists"}