GithubHelp home page GithubHelp logo

Accuracy problems about empymod HOT 3 CLOSED

liuzg-23 avatar liuzg-23 commented on August 30, 2024
Accuracy problems

from empymod.

Comments (3)

prisae avatar prisae commented on August 30, 2024

Hi Zhengguan,

Thanks for getting in touch. I run your example, and I cannot see any issues with it. What is, in your opinion, incorrect in the result?

Just to confirm a few things, you have:

  • a 100 m long, x-directed electric dipole source, centred at x=y=z=0;
  • 41 x-directed electric point-receivers, from (x, y, z) = (-10 km, +5 km, 0) to (+10 km, +5 km, 0).

If you can tell me what you expect to be different and why I might be able to help more.

I can see two potential points of confusion.

strength

One thing that might be confusing is the source strength. From the docstring:

strength : float, default: 0.0
    Source strength (A):

    - If 0, output is normalized to source and receiver of 1 m length, and
      source strength of 1 A.
    - If != 0, output is returned for given source and receiver length, and
      source strength.

You provide strength=1, which means that the returned result corresponds to a 100 Am source (100 m long, 1 A strong).

srcpts

The number of source points is by default set to 1. That means that your 100 m long dipole source is approximated by a single point source at (0,0,0). If you set srcpts=3, for instance, it uses Gaussian Quadrature to approximate the finite length dipole with three points.

However, given your source-receiver distances this will hardly make any difference at all, and approximating it with a point source is absolutely fine.

from empymod.

liuzg-23 avatar liuzg-23 commented on August 30, 2024

Hi Dieter,

Thanks very much for your detailed response. You are so kind. According to your answers, I have checked my code again. I made a particularly small mistake about my code.

Best Regards,
Zhengguang.

from empymod.

prisae avatar prisae commented on August 30, 2024

You're welcome Zhengguang. I assume it works now, great!

from empymod.

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.