Skip to content

Commit

Permalink
Edit method name
Browse files Browse the repository at this point in the history
  • Loading branch information
DanicaSTFC committed Aug 5, 2024
1 parent 9d7beb5 commit 03471cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Wrappers/Python/ccpi/viewer/CILViewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def GetMinMaxVoxelsFromExtent(self, extent):
voxel_max = extent[1::2]
return voxel_min, voxel_max

def image2worldExtent(self, extent_image):
def Image2WorldExtent(self, extent_image):
"""Given the extent of a box or image, gets the voxels corresponding to the min values in all directions
and max values in all directions. Then, converts their coordinates in the world coordinate system.
Returns the converted extent."""
Expand Down
2 changes: 1 addition & 1 deletion Wrappers/Python/ccpi/viewer/CILViewer2D.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def GetMinMaxVoxelsFromExtent(self, extent):
voxel_max = extent[1::2]
return voxel_min, voxel_max

def image2worldExtent(self, extent_image):
def Image2WorldExtent(self, extent_image):
"""Given the extent of a box or image, gets the voxels corresponding to the min values in all directions
and max values in all directions. Then, converts their coordinates in the world coordinate system.
Returns the converted extent."""
Expand Down

0 comments on commit 03471cc

Please sign in to comment.