Open acse-yw11823 opened 4 days ago
Can you experiment changing vmin=-1e-3, vmax=1e-3 values? Look at the max and minimum value of p_r and set it for the pdf.
Thanks for reply! I will try now!
Sent from Outlook for iOShttps://aka.ms/o0ukef
From: Alexandre Olender @.> Sent: Wednesday, July 3, 2024 10:16:03 PM To: NDF-Poli-USP/spyro @.> Cc: Wu, Yifan @.>; Author @.> Subject: Re: [NDF-Poli-USP/spyro] shot_record pdfs when running marmousi model (Issue #115)
This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
Can you experiment changing vmin=-1e-3, vmax=1e-3 values? Look at the max and minimum value of p_r and set it for the pdf.
— Reply to this email directly, view it on GitHubhttps://github.com/NDF-Poli-USP/spyro/issues/115#issuecomment-2207314658, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDENNF4ROWHX5C6H5I7N4H3ZKRSZHAVCNFSM6AAAAABKFZ675KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBXGMYTINRVHA. You are receiving this because you authored the thread.Message ID: @.***>
Hello,
I have implemented the method you suggested, adjusting the vmin
and vmax
parameters. However, I have not observed any significant changes in the visualization of the shot record. Additionally, I found that the data in shot_record_1.dat
is identical to that in shot_record_11.dat
. Could this issue be related to using serial execution instead of parallel?
Furthermore, there is no difference in the results even when I specify different source_num
values in the forward function. For instance, both of the following calls yield the same results:
p, p_r_10 = spyro.solvers.forward(model, mesh, comm, vp, sources, wavelet, receivers, source_num = 10)
and thefollowing will give the same result
p, p_r_1 = spyro.solvers.forward(model, mesh, comm, vp, sources, wavelet, receivers, source_num = 1)
Do you have any idea about this result? Many thanks for your time!!
Could this issue be related to using serial execution instead of parallel?
Yes, currently we support using a number of cores that is a multiple of the number of sources (e.g., with 4 sources, you can use 4, 8, 16, 32, and so on). Each source is essentially a separate forward problem that utilizes spatial parallelism internally. We are also working on an enhancement (issue #105) to add the capability of running multiple shots in serial.
[like] Wu, Yifan reacted to your message:
From: Alexandre Olender @.> Sent: Thursday, July 4, 2024 2:08:16 PM To: NDF-Poli-USP/spyro @.> Cc: Wu, Yifan @.>; Author @.> Subject: Re: [NDF-Poli-USP/spyro] shot_record pdfs when running marmousi model (Issue #115)
This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
Could this issue be related to using serial execution instead of parallel?
Yes, currently we support using a number of cores that is a multiple of the number of sources (e.g., with 4 sources, you can use 4, 8, 16, 32, and so on). Each source is essentially a separate forward problem that utilizes spatial parallelism internally. We are also working on an enhancement (issue #105https://github.com/NDF-Poli-USP/spyro/issues/105) to add the capability of running multiple shots in serial.
— Reply to this email directly, view it on GitHubhttps://github.com/NDF-Poli-USP/spyro/issues/115#issuecomment-2209091011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDENNFZC2XF3IMQDNPBEGCDZKVJNBAVCNFSM6AAAAABKFZ675KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBZGA4TCMBRGE. You are receiving this because you authored the thread.Message ID: @.***>
Hello, I was successfully running the script located in the
/paper
folder namedrun_fwi_2d.py
. However, I noticed that the output files in the shots folder are identical. For instance,shot_number_1.pdf
is exactly the same asshot_number_30.pdf
.I am using MacOS and executing the script in the terminal with the command
python run_fwi_2d.py
. Does anyone know why this might be happening? I would really appreciate any insight.The code is the following:
The
shot_number_31.pdf
is like the following:The
shot_number_3.pdf
is like the following: