-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename spontaneous potential to self potential (#1422)
Deprecate the `spontaneous_potential` module and replace it by the new `self_potential`. Raise warning when importing the deprecated module. Add tests that check the warning and if all modules in `self_potential` are made available also in the deprecated module. Update API reference to apply the replacement. Closes #1408 --------- Co-authored-by: Santiago Soler <santisoler@fastmail.com> Co-authored-by: Joseph Capriotti <josephrcapriotti@gmail.com>
- Loading branch information
1 parent
a22fb58
commit aa0a258
Showing
8 changed files
with
104 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docs/content/api/SimPEG.electromagnetics.static.self_potential.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.. automodule:: SimPEG.electromagnetics.static.self_potential |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from . import resistivity | ||
from . import induced_polarization | ||
from . import self_potential | ||
from . import spectral_induced_polarization | ||
from . import utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
""" | ||
============================================================================================ | ||
Self Potential (:mod:`simpeg.electromagnetics.static.self_potential`) | ||
============================================================================================ | ||
.. currentmodule:: simpeg.electromagnetics.static.self_potential | ||
Simulations | ||
=========== | ||
.. autosummary:: | ||
:toctree: generated/ | ||
Simulation3DCellCentered | ||
Receivers | ||
========= | ||
This module makes use of the receivers in :mod:`simpeg.electromagnetics.static.resistivity` | ||
Sources | ||
======= | ||
.. autosummary:: | ||
:toctree: generated/ | ||
sources.StreamingCurrents | ||
Surveys | ||
======= | ||
.. autosummary:: | ||
:toctree: generated/ | ||
Survey | ||
Maps | ||
==== | ||
The self potential simulation provides two specialized maps to extend to inversions | ||
with different types of model sources. | ||
.. autosummary:: | ||
:toctree: generated/ | ||
CurrentDensityMap | ||
HydraulicHeadMap | ||
""" | ||
|
||
from .simulation import ( | ||
Simulation3DCellCentered, | ||
Survey, | ||
CurrentDensityMap, | ||
HydraulicHeadMap, | ||
) | ||
from . import sources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters