Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dokumentation not consistent (snapshot) #442

Open
igel89 opened this issue May 3, 2024 · 1 comment
Open

dokumentation not consistent (snapshot) #442

igel89 opened this issue May 3, 2024 · 1 comment

Comments

@igel89
Copy link

igel89 commented May 3, 2024

The documentation of gprMax is no longer consistent with regard to snapshot.

https://docs.gprmax.com/en/latest/input.html#snapshot

#python:
for i in range(1, 31):
print('#snapshot: x1 y1 z1 x2 y2 z2 dx dy dz {} snapshot{}'.format((i/10)*1e-9, i))
#end_python:

vs.

https://docs.gprmax.com/en/latest/output.html#snapshots

#python:
from gprMax.input_cmd_funcs import *
for i in range(1, 31):
snapshot(xs, ys, zs, xf, yf, zf, dx, dy, dz, (i/10)*1e-9, 'snapshot' + str(i))
#end_python:

@craig-warren
Copy link
Member

@igel89 I don't see the issue here. The first examples prints the snapshot hash command and the second uses the snapshot API function. Two different ways of doing the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants