Comments (3)
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.
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.
You're welcome Zhengguang. I assume it works now, great!
from empymod.
Related Issues (20)
- BUG: Issues with `numba>=0.54.0` HOT 2
- Potential issue with `numpy>=v1.21` HOT 1
- Failing tests due to changes in matplotlib 3.5 HOT 1
- Improve build / install
- About the tilted transverse isotropy (TTI) model HOT 1
- dipole() result for magnetic source or magnetic source and receiver combination HOT 3
- Improve / monitor CLI load time HOT 3
- Tests fail for Hankel[QWE] on Windows/Mac HOT 2
- DOC: Improve documentation
- How to calculate other EM components HOT 4
- MAINT: Fix failing tests HOT 4
- logging
- empymod-plain
- bipole without checks & custom example HOT 1
- More flexible src/rec coordinate definition HOT 1
- ENH: Ensure src/rec are in the subsurface for analytic diffusive HS solution
- License
- article-fdesign notebooks not working for empymod v2 HOT 4
- Bipole Current Propagation Direction HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from empymod.