From 03471cc26491aca511115ec484e85622e8af6eb3 Mon Sep 17 00:00:00 2001 From: Danica Sugic Date: Mon, 5 Aug 2024 17:57:18 +0100 Subject: [PATCH] Edit method name --- Wrappers/Python/ccpi/viewer/CILViewer.py | 2 +- Wrappers/Python/ccpi/viewer/CILViewer2D.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Wrappers/Python/ccpi/viewer/CILViewer.py b/Wrappers/Python/ccpi/viewer/CILViewer.py index 54377be5..14babf21 100644 --- a/Wrappers/Python/ccpi/viewer/CILViewer.py +++ b/Wrappers/Python/ccpi/viewer/CILViewer.py @@ -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.""" diff --git a/Wrappers/Python/ccpi/viewer/CILViewer2D.py b/Wrappers/Python/ccpi/viewer/CILViewer2D.py index 09c30d34..38a47d8b 100644 --- a/Wrappers/Python/ccpi/viewer/CILViewer2D.py +++ b/Wrappers/Python/ccpi/viewer/CILViewer2D.py @@ -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."""