Giter VIP home page Giter VIP logo

Comments (6)

halbmy avatar halbmy commented on September 25, 2024

Can the model in meshtool is exported

I guess your asking whether a mesh (including properties like inverted model) can be exported?

A very widespread format, particularly for 3D visualization, is vtk. A mesh can be exported by

mesh.exportVTK("mesh.vtk")

If you want to include properties, e.g. from an inversion using a manager this might be extended

mesh = mgr.paraDomain
mesh["density"] = mgr.model
mesh.exportVTK(...

However, most managers have a method mgr.saveResult() that includes vtk export.

from gimli.

tonapawilliam avatar tonapawilliam commented on September 25, 2024

I want the my model just function in
pg.viewer.mpl.drawPLC
ISo I can make my model in one layer another software so I can my model in front of my inversion result. In pygimli I can do this with function pg.viewer, so I can comparion my inversion model with my syntetic model.

from gimli.

tonapawilliam avatar tonapawilliam commented on September 25, 2024

In case, I just want to export the line of my model:

`world = mt.createWorld (....)
circle= mt.createCircle (..)

model = world รท circle
pg.show(model)`

Exported model can be export in xyz or something for comparison inversion result with model in another software modelling

from gimli.

halbmy avatar halbmy commented on September 25, 2024

I want the my model just function in

It is really hard to guess what you mean.

The variable model (combined by the world and a circle) is a piece-wise linear complex. It does neither have a discretization nor any values associated. It is just structures (points and lines) that can be plotted, e.g. on an inversion result.

from gimli.

tonapawilliam avatar tonapawilliam commented on September 25, 2024

Okay, sir, so the structure can be exported to another software or not? If cannot, can the inversion result from Res2Dinv is plotted in pygimli? Or do you have recommendation software for comparison result of res2dinv and pygimli, and the software can plot the strutured model?

Edit:
I just an idea. I use Pykrige for interpolation gimli and res2dinv result. And i use pg.paraview for first layer all my inversion model.

from gimli.

halbmy avatar halbmy commented on September 25, 2024

Of course, inversion results can be exported or interpolated. To avoid interpolation errors, one should use a regular grid for a comparison. It should be easy to read in a res2dinv model into a grid.

I have no idea what you mean with pg.paraview.

from gimli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.