slimgroup / JUDI.jl

Julia Devito inversion.
https://slimgroup.github.io/JUDI.jl
MIT License
94 stars 29 forks source link

sim source experiment #208

Closed jddorellanao closed 9 months ago

jddorellanao commented 9 months ago

Hi everyone,

I am trying to replicate the sim source experiment from the documentation, so far this is my code. The problem I have encountered is that it takes too long (~60 min) and I don't even get any results. For comparison, I have run the same experiment without the sim source and it takes about 5 seconds to get the shot records, so is there something wrong with my code or is it normal that it takes so long?

mloubout commented 9 months ago

Hi

It should take the same time (5s) with sim source so something is off. Will have a look at your code.

mloubout commented 9 months ago

Your wavelet for the sim-source part is a Float64 array instead of a Float32 which currently leads to some overflow due to type mismatch. if you make it Float32 then it'll be fine

jddorellanao commented 9 months ago

Thanks a lot @mloubout