rockverse.viz.OrthogonalViewer.ref_voxel#
- property OrthogonalViewer.ref_voxel#
Get or set the plot reference point in voxel position. Voxel position must be an iterable (i, j, k), where
0 <= i < nx,0 <= j < ny, and0 <= k < nz, withnx, ny, nz = image.shape.Examples
>>> viewer = rockverse.OrthogonalViewer(<your parameters here...>) >>> ref_voxel = viewer.ref_voxel #get the current reference voxel >>> viewer.ref_voxel = (8, 33, 9) # Set new reference voxel and update