Skip to content

Commit

Permalink
X Ray Query Docs Fix Examples (#19350)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinPrivitera committed Feb 29, 2024
1 parent 3def160 commit 6c1ef90
Showing 1 changed file with 28 additions and 15 deletions.
43 changes: 28 additions & 15 deletions src/doc/using_visit/Quantitative/XRayImageQuery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,13 @@ down the Z Axis and the resulting image. ::
params = GetQueryParameters("XRay Image")
params['image_size'] = (300, 300)
params['divide_emis_by_absorb'] = 1
params['width'] = 10.
params['height'] = 10.
params['parallel_scale'] = 5.
params['near_plane'] = -100.0
params['far_plane'] = 100.0
params['normal'] = (0,0,1)
params['focus'] = (0,0,0)
params['view_up'] = (0,1,0)
params['perspective'] = 0
params['vars'] = ("d", "p")
Query("XRay Image", params)

Expand All @@ -432,10 +437,13 @@ from the side. ::
params = GetQueryParameters("XRay Image")
params['image_size'] = (300, 300)
params['divide_emis_by_absorb'] = 1
params['width'] = 10.
params['height'] = 10.
params['theta'] = 90.
params['phi'] = 0.
params['parallel_scale'] = 5.
params['near_plane'] = -100.0
params['far_plane'] = 100.0
params['normal'] = (1,0,0)
params['focus'] = (0,0,0)
params['view_up'] = (0,1,0)
params['perspective'] = 0
params['vars'] = ("d", "p")
Query("XRay Image", params)

Expand All @@ -449,11 +457,13 @@ moves the image down and to the right by 1. ::
params = GetQueryParameters("XRay Image")
params['image_size'] = (300, 300)
params['divide_emis_by_absorb'] = 1
params['width'] = 10.
params['height'] = 10.
params['theta'] = 90.
params['phi'] = 0.
params['origin'] = (0., 1., 1.)
params['parallel_scale'] = 5.
params['near_plane'] = -100.0
params['far_plane'] = 100.0
params['normal'] = (1,0,0)
params['focus'] = (0,1,1)
params['view_up'] = (0,1,0)
params['perspective'] = 0
params['vars'] = ("d", "p")
Query("XRay Image", params)

Expand Down Expand Up @@ -484,10 +494,13 @@ x ray image shows some variation. ::
params = GetQueryParameters("XRay Image")
params['image_size'] = (300, 300)
params['divide_emis_by_absorb'] = 1
params['width'] = 4.
params['height'] = 4.
params['theta'] = 90.
params['phi'] = 0.
params['parallel_scale'] = 2.
params['near_plane'] = -40.0
params['far_plane'] = 40.0
params['normal'] = (1,0,0)
params['focus'] = (0,0,0)
params['view_up'] = (0,1,0)
params['perspective'] = 0
params['vars'] = ("w1", "v1")
Query("XRay Image", params)

Expand Down

0 comments on commit 6c1ef90

Please sign in to comment.