Comments (5)
@pasansherath, no reason to apologize. Your comments are very helpful for making PyRaysum better and may be valuable for other users. Thanks for raising them.
I'll come back to you later this week. In the meantime, could you please post the parameters that you were using (model file, and the non-default arguments to Control and Geometry)? Perhaps a minimal working example?
from pyraysum.
From your output, I understand that you have set mults=2
in combination with a model with 8 layers. I understand and expect that seemingly infinite run times result from this setup, as the code will compute a vast combination of reflected wave types. In the standard configuration, this would yield a segmentation fault. Please see curve Obs-M2-F-RF
or Num-M2
of Figure 6 of the PyRaysum paper.
You have several options to proceed from here:
- Isolate the specific reflections you are interested in and define them using
Control.set_phaselist(descriptors)
. This is advanced usage and I am happy to get you started with that. - Try to reduce the complexity of your model, using fewer layers
- If you do not require dipping layers, you can try Telewavesim instead.
from pyraysum.
To limit the number of phases, there is now a new method of Model
in the dev
branch: Model.get_phaselist()
gives you fine-grained control over which phases to include in your calculation. This could be useful for your use case. I'd be happy to get some feedback, if you'd like to give it a try 😄
from pyraysum.
Hi @wsja, Thanks very much for your suggestions, and I am sorry for the delay in responding to you.
I was able to resolve the issue I had by splitting a ~20 km thick layer into two identical ~10 km thick layers.
from pyraysum.
I also need to model all possible phases, therefore setting the phase list is not ideal.
from pyraysum.
Related Issues (16)
- Things to do for PyRaysum HOT 1
- distutils DeprecationWarning
- Error AttributeError: module 'fraysum' has no attribute 'run_full' HOT 4
- Error: ImportError: DLL load failed while importing fraysum: The specified module could not be found. HOT 2
- Compiling params.h with new parameters HOT 10
- PyRaysum does not handle evanescent waves HOT 3
- how to compute epicentral distance HOT 1
- ValueError: failed in converting 1st argument `thick' of fraysum.run_full to C/Fortran array HOT 2
- Quick question HOT 1
- DLL load failed while importing fraysum
- No P wave arrival
- How to save synthetic 3 component RF's in '.H5' format
- Plotting
- How to calculate PPmS and how to export the data for the synthetic receiver function
- run_frs(): segmentation fault / infinite runtime / ERROR in evec_check
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 pyraysum.