Skip to content
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

Update ertIPManager.py #726

Merged
merged 1 commit into from
May 25, 2024
Merged

Update ertIPManager.py #726

merged 1 commit into from
May 25, 2024

Conversation

AlainPlattner
Copy link
Contributor

In ERTIPManager I added the option to run a pure ERT inversion. I think this is useful to be able to make sure that the resistivity model is good before running the IP inversions. Before my change, this was not possible, because the invert() function in ERTIPManager was overwriting the invert() function in ERTManager, and there is no way of constructing an ERTIPManager object directly from an ERTManager object. Creating an invertDC function seemed to me the simplest solution...

Frist of all, thank you for submitting a pull request. We appreciate that
you follow the spirit of open-source and that you are willing to contribute to
pyGIMLi. Please make sure that this PR is targeted to the dev branch. If not,
please change this
now
.
Additional notes on development can be found on
pygimli.org/dev.

In ERTIPManager I added the option to run a pure ERT inversion. I think this is useful to be able to make sure that the resistivity model is good before running the IP inversions. Before my change, this was not possible, because the invert() function in ERTIPManager was overwriting the invert() function in ERTManager, and there is no way of constructing an ERTIPManager object directly from an ERTManager object. Creating an invertDC function seemed to me the simplest solution...
@halbmy
Copy link
Contributor

halbmy commented May 25, 2024

Indeed a good idea as one will probably first optimize the parameters of the DC inversion before proceeding to IP.

@halbmy halbmy merged commit 56f759f into gimli-org:dev May 25, 2024
@halbmy halbmy self-assigned this May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants