Data type in Devito #2398
Replies: 2 comments 2 replies
-
Well I don't know what spyro does for the source so I'm not sure I can tell you the difference. But I can already see that you use an odd set of units with spyro (time in seconds, but velocity in m/ms ) so the scaling will change. I would probably look at normalized data to avoid trying to infer the differences in choices you made inside Spyro with Devito. THe other option is to make the acoustic solver by hand with devito so you can choose your source injection expression how you want it. |
Beta Was this translation helpful? Give feedback.
-
Hello, I noticed that the difference might be due to the fact that the parameter
However, in Spyro, the PDE is:
Is there an easy way to adjust this in Devito, for example, when I call the simple circle model, so I can compare the results between Devito and Spyro? Many thanks for the help!! |
Beta Was this translation helpful? Give feedback.
-
I concurrently use Spyro and Devito tools to process the most simple velocity model. In Spyro, I obtained minimal data values in true_d.data, as shown below:
Conversely, in Devito, the amplitude values are significantly larger, as illustrated below:
How should I interpret these differences? Does Devito implement any form of automatic data scaling or normalization for the amplitude values in seismic simulations? I will also attach the relevant sections of code from both Devito and Spyro for your reference.
For devito:
For spyro:
Beta Was this translation helpful? Give feedback.
All reactions