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
Error message with fop.modelTrans
in LCInversion
#647
Comments
createParametrization
fop.modelTrans
in LCInversion
Hello! I'm still trying to work out the the LCI Inversion, so now I'm using the
and the inversion runs but it shows this prompt
It indicates that not constraint matrix is defined I'm not sure if the inversion is using the constraints defined in the Thanks! |
Hello @mariacarrizo I run your code and it is showing these results |
Thank you @ahsan435 for helping with this code. I just didn't have have the time to dive deep in but I am having the same result with the newest pyGIMLi v1.5.0. So it seems everything is correct. The inversion class @mariacarrizo you were not sure whether the constraint matrices are correct but Nevertheless, the framework is quite bulky and needs to be redesigned based on existing methods and documented by an example. |
Dear Sir @halbmy Thank you very much for verifying the results! I'm also working on the LCI method for Time Domain Electromagnetics (TDEM) data. That's why it is also very interesting for me, and I am learning a lot from that code. |
Problem description
Hello! I have a problem with the function
modelTrans
of the classLCModelling
. It's giving me an error message but I'm not able to find the issue causing it.Your environment
Thu Feb 08 14:06:55 2024 CET -- OS | Linux | CPU(s) | 8 | Machine | x86_64 Architecture | 64bit | RAM | 7.8 GiB | Environment | Jupyter Python 3.9.15 \| packaged by conda-forge \| (main, Nov 22 2022, 08:45:29) [GCC 10.4.0] numpy | 1.23.5 | scipy | 1.9.3 | numba | 0.56.4 empymod | 2.2.1 | IPython | 8.6.0 | matplotlib | 3.5.1Operating system: Linux
Python version: Python 3.9.15
pyGIMLi version: 1.3.0
Additional: Using
empymod
version '2.2.1'Way of installation: Conda package
Steps to reproduce
The code is written in the following order:
First several class are defined
fop1D
is the EM forward function inempymod
in 1DFDEM1D
is the EM forward modelling framework in 1DLCModelling
to perform the modelling using FDEM1DLCInversion
to run the inversion schemeThe setup are 10 1D models with 3 layers
Then the classes are initialized and run
Expected behavior
Run the LCInversion
Actual behavior
When the inversion calls the LCModelling and initializeJacobian:
I obtain an error message related to the
fop._regionProperties
insideLCModelling
classThe text was updated successfully, but these errors were encountered: