slimgroup / JUDI.jl

Julia Devito inversion.
https://slimgroup.github.io/JUDI.jl
MIT License
96 stars 29 forks source link

Optional misfit input #149

Closed mloubout closed 1 year ago

mloubout commented 1 year ago

Add option to provide a per-shot misfit function to the FWI/LSRTM wrappers.

codecov[bot] commented 1 year ago

Codecov Report

Base: 84.03% // Head: 83.96% // Decreases project coverage by -0.06% :warning:

Coverage data is based on head (1c30307) compared to base (37824f6). Patch coverage: 85.36% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #149 +/- ## ========================================== - Coverage 84.03% 83.96% -0.07% ========================================== Files 24 25 +1 Lines 1967 1996 +29 ========================================== + Hits 1653 1676 +23 - Misses 314 320 +6 ``` | [Impacted Files](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup) | Coverage Δ | | |---|---|---| | [src/TimeModeling/Modeling/propagation.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL1RpbWVNb2RlbGluZy9Nb2RlbGluZy9wcm9wYWdhdGlvbi5qbA==) | `69.81% <ø> (ø)` | | | [src/TimeModeling/TimeModeling.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL1RpbWVNb2RlbGluZy9UaW1lTW9kZWxpbmcuamw=) | `100.00% <ø> (ø)` | | | [src/TimeModeling/Modeling/losses.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL1RpbWVNb2RlbGluZy9Nb2RlbGluZy9sb3NzZXMuamw=) | `40.00% <40.00%> (ø)` | | | [src/JUDI.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL0pVREkuamw=) | `88.23% <100.00%> (+4.90%)` | :arrow_up: | | [src/TimeModeling/Modeling/distributed.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL1RpbWVNb2RlbGluZy9Nb2RlbGluZy9kaXN0cmlidXRlZC5qbA==) | `94.11% <100.00%> (ø)` | | | [src/TimeModeling/Modeling/misfit\_fg.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL1RpbWVNb2RlbGluZy9Nb2RlbGluZy9taXNmaXRfZmcuamw=) | `93.22% <100.00%> (+0.36%)` | :arrow_up: | | [src/TimeModeling/Modeling/python\_interface.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL1RpbWVNb2RlbGluZy9Nb2RlbGluZy9weXRob25faW50ZXJmYWNlLmps) | `99.21% <100.00%> (+0.04%)` | :arrow_up: | | [src/TimeModeling/Modeling/twri\_objective.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL1RpbWVNb2RlbGluZy9Nb2RlbGluZy90d3JpX29iamVjdGl2ZS5qbA==) | `70.58% <100.00%> (+0.58%)` | :arrow_up: | | [src/TimeModeling/Utils/auxiliaryFunctions.jl](https://codecov.io/gh/slimgroup/JUDI.jl/pull/149/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup#diff-c3JjL1RpbWVNb2RlbGluZy9VdGlscy9hdXhpbGlhcnlGdW5jdGlvbnMuamw=) | `78.65% <100.00%> (+0.19%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=slimgroup)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

mloubout commented 1 year ago

@ziyiyin97 typos should be mostly fixed. Got PR lined up so will merge today unless something blocking