{"id":22073470,"url":"https://github.com/slimgroup/constrainedfwiexamples","last_synced_at":"2025-10-07T07:09:43.291Z","repository":{"id":52917485,"uuid":"307709753","full_name":"slimgroup/ConstrainedFWIExamples","owner":"slimgroup","description":"FWI examples with constraints.","archived":false,"fork":false,"pushed_at":"2021-03-17T12:18:46.000Z","size":9746,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-24T13:47:43.855Z","etag":null,"topics":["box-constraints","constraints","fwi","tv-constraints"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slimgroup.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":"2020-10-27T13:30:48.000Z","updated_at":"2022-08-04T06:54:13.000Z","dependencies_parsed_at":"2022-08-23T14:11:27.075Z","dependency_job_id":null,"html_url":"https://github.com/slimgroup/ConstrainedFWIExamples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/slimgroup/ConstrainedFWIExamples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimgroup%2FConstrainedFWIExamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimgroup%2FConstrainedFWIExamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimgroup%2FConstrainedFWIExamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimgroup%2FConstrainedFWIExamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slimgroup","download_url":"https://codeload.github.com/slimgroup/ConstrainedFWIExamples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimgroup%2FConstrainedFWIExamples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271455271,"owners_count":24762702,"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-08-21T02:00:08.990Z","response_time":74,"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":["box-constraints","constraints","fwi","tv-constraints"],"created_at":"2024-11-30T21:18:50.069Z","updated_at":"2025-10-07T07:09:38.744Z","avatar_url":"https://github.com/slimgroup.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/307709753.svg)](https://zenodo.org/badge/latestdoi/307709753)\n\n# ConstrainedFWIExamples\n\nThis code base is using the Julia Language and [DrWatson](https://juliadynamics.github.io/DrWatson.jl/stable/)\nto make a reproducible scientific project named\n\u003e ConstrainedFWIExamples\n\nIt is authored by Mathias Louboutin.\n\nTo (locally) reproduce this project, do the following:\n\n0. Download this code base. Notice that raw data are typically not included in the\n   git-history and may need to be downloaded independently.\n1. Open a Julia console and do:\n   ```\n   julia\u003e using Pkg\n   julia\u003e Pkg.activate(\"path/to/this/project\")\n   julia\u003e Pkg.instantiate()\n   ```\n\nThis will install all necessary packages for you to be able to run the scripts and\neverything should work out of the box.\n\n# Content\n\nThis repository currently contains two  notebooks \n\n## 01_const_fwi_judi.ipynb\n\nThis notebook implements FWI with TV constraints and box constraints with the projectd quasi-Newton method. In this example, we highlight the use of constraints for a very simple transmission example with a squared perturation on the middle. This example is using [JUDI](https://github.com/slimgroup/JUDI.jl) as the framework for wave propagation and inversion where the wave-propagators are implemented using [Devito](https://github.com/devitocodes/devito). This tutorial demonstrates that our constraints framework  [SetIntersectionProjection](https://github.com/slimgroup/SetIntersectionProjection.jl) provides better result than standard FWI while never requiring any additional PDE solves (function and/or gradient evaluation).\n\n\n## 02_constr_fwi_jetpack.ipynb\nThis notebook implements FWI with TV constraints and box constraints with the projectd quasi-Newton method. This notebook is an adaptation of an FWI [example](https://github.com/ChevronETC/Examples/blob/main/50_fwi/01_fwi_L2.ipynb) using an open-source framework for wave propagation and inversion. The original example does not implement constraints and use a standard L-BFGS solver. In the example here, we show how to use out constraints framework, [SetIntersectionProjection](https://github.com/slimgroup/SetIntersectionProjection.jl), to setup constraints for FWI.\n\nThe major advantages of our constraints frameowrk is that, unlike standard optimization packages, are:\n\n- The constraints projection do not involve any function or gradient evaluation, making it computationally efficient.\n- The projection algorithm is implemented to be computationally scalable up to 3D, and support distriubted computing of the projection for efficiency.\n- A broad range of constraints are available, not only box constraints, such as TV, nuclear norm, rank, ....\n\nWe refer to the [Documentation](https://petersbas.github.io/SetIntersectionProjectionDocs/) of the software for a more detailed overview of the capabilities and performance.\n\n# Links\n\n- The origianl notebook can be found at [Notebook](https://github.com/ChevronETC/Examples/blob/main/50_fwi/01_fwi_L2.ipynb) for reference. This repository is in progress so their result may have changed.\n\n- The constraints framework can be found at [SetIntersectionProjection](https://github.com/slimgroup/SetIntersectionProjection.jl) and is described in [Projections].\n\n\n[Projections]: https://slim.gatech.edu/content/algorithms-and-software-projections-intersections-convex-and-non-convex-sets-applications\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimgroup%2Fconstrainedfwiexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslimgroup%2Fconstrainedfwiexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimgroup%2Fconstrainedfwiexamples/lists"}