Coder Social home page Coder Social logo

Comments (5)

wasjabloch avatar wasjabloch commented on August 18, 2024

@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.

wasjabloch avatar wasjabloch commented on August 18, 2024

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:

  1. 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.
  2. Try to reduce the complexity of your model, using fewer layers
  3. If you do not require dipping layers, you can try Telewavesim instead.

from pyraysum.

wasjabloch avatar wasjabloch commented on August 18, 2024

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.

pasansherath avatar pasansherath commented on August 18, 2024

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.

pasansherath avatar pasansherath commented on August 18, 2024

I also need to model all possible phases, therefore setting the phase list is not ideal.

from pyraysum.

Related Issues (16)

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.