{"id":46860540,"url":"https://github.com/a-rouxel/simca","last_synced_at":"2026-03-10T18:18:54.181Z","repository":{"id":196282651,"uuid":"695625543","full_name":"a-rouxel/simca","owner":"a-rouxel","description":"Simulator for Coded Aperture Spectral Snapshot Imaging","archived":false,"fork":false,"pushed_at":"2024-10-22T14:54:37.000Z","size":51742,"stargazers_count":5,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"dimensionning","last_synced_at":"2024-12-05T11:31:26.020Z","etag":null,"topics":["coded-aperture","compressive-sensing","hyperspectral-imaging","optics","optics-code","optics-simulation","snapshot-compressive-imaging","snapshot-imaging"],"latest_commit_sha":null,"homepage":"https://a-rouxel.github.io/simca/","language":"Python","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/a-rouxel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-09-23T18:30:20.000Z","updated_at":"2024-10-22T14:55:54.000Z","dependencies_parsed_at":"2023-12-19T14:54:23.870Z","dependency_job_id":"0e68eb1d-517e-47d7-86b9-e2ca0daaa0d1","html_url":"https://github.com/a-rouxel/simca","commit_stats":{"total_commits":230,"total_committers":4,"mean_commits":57.5,"dds":"0.22608695652173916","last_synced_commit":"11067b3d811d192f8204338525f27eb046df0e5b"},"previous_names":["a-rouxel/simca"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a-rouxel/simca","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-rouxel%2Fsimca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-rouxel%2Fsimca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-rouxel%2Fsimca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-rouxel%2Fsimca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-rouxel","download_url":"https://codeload.github.com/a-rouxel/simca/tar.gz/refs/heads/dimensionning","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-rouxel%2Fsimca/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30346828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["coded-aperture","compressive-sensing","hyperspectral-imaging","optics","optics-code","optics-simulation","snapshot-compressive-imaging","snapshot-imaging"],"created_at":"2026-03-10T18:18:53.486Z","updated_at":"2026-03-10T18:18:54.153Z","avatar_url":"https://github.com/a-rouxel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SIMCA: Coded Aperture Snapshot Spectral Imaging (CASSI) Simulator\n\nSIMCA is a package designed to perform optical simulations for Coded Aperture Snapshot Spectral Imaging (CASSI). \n\n\n## Installation\n\nTo install SIMCA, follow these steps:\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/a-rouxel/simca.git\ncd simca\n```\n\n2. Create and activate a dedicated Python environment using Miniconda:\n\n```bash\nconda create -n simca-env python=3.10\nconda activate simca-env\n```\n\n3. Install the necessary Python packages:\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\nSIMCA provides two main scripts for designing and analyzing CASSI systems:\n\n### Designing a CASSI System\n\nUse the `design_cassi.py` script to optimize the design of a Snapshot Dispersive Coded Aperture Spectral Imaging (SD-CASSI) system:\n\n```bash\npython design_cassi.py --prism_type [amici|single] --output_dir \u003coutput_directory\u003e\n```\n\n- `--prism_type`: Choose between \"amici\" or \"single\" prism system.\n- `--output_dir`: Specify the directory to save the optimization results.\n\nThis script performs a two-step optimization process and generates performance metrics for the final optimized system.\n\n### Analyzing a CASSI System\n\nUse the `analyze_cassi.py` script to analyze an existing SD-CASSI system caracteristics from a configuration file:\n\n```bash\npython analyze_cassi.py --input_dir \u003cinput_directory\u003e\n```\n\n- `--input_dir`: Specify the directory containing the `config_system.yml` file to analyze.\n\nThis script will display the optical system configuration and performance metrics, and save visualization figures in the input directory.\n\n\n## License\n\nSIMCA is licensed under the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html).\n\n## Contact\n\nFor questions or feedback, please contact us at arouxel@laas.fr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-rouxel%2Fsimca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-rouxel%2Fsimca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-rouxel%2Fsimca/lists"}