New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amplitude regularization #1103
Amplitude regularization #1103
Conversation
# Conflicts: # SimPEG/regularization/sparse.py
Codecov Report
@@ Coverage Diff @@
## main #1103 +/- ##
==========================================
- Coverage 81.85% 76.48% -5.38%
==========================================
Files 163 163
Lines 24570 24674 +104
==========================================
- Hits 20111 18871 -1240
- Misses 4459 5803 +1344
|
@orerocks All your dreams will come true. |
# Conflicts: # SimPEG/directives/directives.py # SimPEG/directives/pgi_directives.py # SimPEG/regularization/__init__.py # SimPEG/regularization/sparse.py
# Conflicts: # SimPEG/directives/directives.py # SimPEG/directives/pgi_directives.py # SimPEG/maps.py # SimPEG/regularization/sparse.py
…diplicate code in VectorAmplitude
Hey Dom, I think we're both finding some similar choke points in my cross-reference vector regularization (just opened it at #1214), and this one.
I think we can split a few common things into a Some design thoughts, would it be easier if we didn't have to specify a wiremap for the three components in this regularizer? (The simulations already except models like this without mapping them to the different components, so the model should already be in a One detail though, why are you passing the model difference ( P.S. Can you merge main in? I think there's some duplicate fixes. |
@jcapriot Yea I saw your modifications to the UpdateSensWeights. I like yours better. Looks like we may be able to share some components indeed. Not sure how you want to proceed? The wire mapping is kind of nice to keep the operations close to what the linear algebra looks like. And since Wires doesn't have derivatives, I thought we could just implement it in here. Good point on I will merge main in. |
# Conflicts: # SimPEG/directives/directives.py
@jcapriot I refactored using your base class. |
@jcapriot Ready for another review. |
New implementation for MVI sparse inversion to keep the problem (mostly) linear.
VectorAmplitude
regularizationGroup
map as extension ofWire
with derivatives of wires returned as a list.Solution with amplitude regularizer