Skip to content
Discussion options

You must be logged in to vote

Your mesh is having the outer boundary with marker 2 and the inner with marker 1 (by default it is the other way),

so you need to tell which is the inversion and which is background by

mgr = ert.ERTManager(data, verbose=True)
mgr.setMesh(mesh)
mgr.inv.setRegularization(1, background=False)
mgr.inv.setRegularization(2, background=True)
model = mgr.invert(lam=20, verbose=True)

Then everything works well technically

However, something is wrong with your data file data.dat as for a lot of data identical indices are occurring:

# a b m n ...
1	2	1	3	
2	3	1	3	
3	3	2	4	
3	4	3	5	
4	5	3	5	
5	5	4	6	
5	6	5	7	
6	7	5	8	
7	8	6	8	

There is something wrong.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by aldefern
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants