diff options
-rwxr-xr-x[-rw-r--r--] | Wrappers/Python/ccpi/astra/ops.py (renamed from Wrappers/Python/ccpi/astra/astra_ops.py) | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | Wrappers/Python/ccpi/astra/processors.py (renamed from Wrappers/Python/ccpi/astra/astra_processors.py) | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | Wrappers/Python/ccpi/astra/utils.py (renamed from Wrappers/Python/ccpi/astra/astra_utils.py) | 0 | ||||
-rwxr-xr-x | Wrappers/Python/conda-recipe/meta.yaml | 2 | ||||
-rwxr-xr-x | Wrappers/Python/wip/demo_sophiabeads.py | 4 | ||||
-rwxr-xr-x | Wrappers/Python/wip/simple_demo_astra.py | 6 | ||||
-rwxr-xr-x | Wrappers/Python/wip/simple_mc_demo.py | 6 |
7 files changed, 13 insertions, 13 deletions
diff --git a/Wrappers/Python/ccpi/astra/astra_ops.py b/Wrappers/Python/ccpi/astra/ops.py index 45b8238..cd0ef9e 100644..100755 --- a/Wrappers/Python/ccpi/astra/astra_ops.py +++ b/Wrappers/Python/ccpi/astra/ops.py @@ -15,12 +15,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -from ccpi.reconstruction.ops import Operator +from ccpi.optimisation.ops import Operator import numpy import astra from ccpi.framework import AcquisitionData, ImageData, DataContainer -from ccpi.reconstruction.ops import PowerMethodNonsquare -from ccpi.astra.astra_processors import AstraForwardProjector, AstraBackProjector, \ +from ccpi.optimisation.ops import PowerMethodNonsquare +from ccpi.astra.processors import AstraForwardProjector, AstraBackProjector, \ AstraForwardProjectorMC, AstraBackProjectorMC class AstraProjectorSimple(Operator): diff --git a/Wrappers/Python/ccpi/astra/astra_processors.py b/Wrappers/Python/ccpi/astra/processors.py index 3de43bf..16c1f78 100644..100755 --- a/Wrappers/Python/ccpi/astra/astra_processors.py +++ b/Wrappers/Python/ccpi/astra/processors.py @@ -1,5 +1,5 @@ from ccpi.framework import DataSetProcessor, ImageData, AcquisitionData -from ccpi.astra.astra_utils import convert_geometry_to_astra +from ccpi.astra.utils import convert_geometry_to_astra import astra diff --git a/Wrappers/Python/ccpi/astra/astra_utils.py b/Wrappers/Python/ccpi/astra/utils.py index 9f8fe46..9f8fe46 100644..100755 --- a/Wrappers/Python/ccpi/astra/astra_utils.py +++ b/Wrappers/Python/ccpi/astra/utils.py diff --git a/Wrappers/Python/conda-recipe/meta.yaml b/Wrappers/Python/conda-recipe/meta.yaml index 12e83e2..ca91ed0 100755 --- a/Wrappers/Python/conda-recipe/meta.yaml +++ b/Wrappers/Python/conda-recipe/meta.yaml @@ -19,7 +19,7 @@ requirements: - python - numpy - scipy - - ccpi-common + - ccpi-framework - astra-toolbox about: diff --git a/Wrappers/Python/wip/demo_sophiabeads.py b/Wrappers/Python/wip/demo_sophiabeads.py index e3c7f3a..33ce9ec 100755 --- a/Wrappers/Python/wip/demo_sophiabeads.py +++ b/Wrappers/Python/wip/demo_sophiabeads.py @@ -3,8 +3,8 @@ from ccpi.io.reader import XTEKReader import numpy as np import matplotlib.pyplot as plt from ccpi.framework import ImageGeometry, AcquisitionGeometry, AcquisitionData, ImageData -from ccpi.astra.astra_ops import AstraProjectorSimple -from ccpi.reconstruction.algs import CGLS +from ccpi.astra.ops import AstraProjectorSimple +from ccpi.optimisation.algs import CGLS # Set up reader object and read the data datareader = XTEKReader("C:/Users/mbbssjj2/Documents/SophiaBeads_256_averaged/SophiaBeads_256_averaged.xtekct") diff --git a/Wrappers/Python/wip/simple_demo_astra.py b/Wrappers/Python/wip/simple_demo_astra.py index 3365504..26f3ff4 100755 --- a/Wrappers/Python/wip/simple_demo_astra.py +++ b/Wrappers/Python/wip/simple_demo_astra.py @@ -2,9 +2,9 @@ #sys.path.append("..") from ccpi.framework import ImageData , ImageGeometry, AcquisitionGeometry -from ccpi.reconstruction.algs import FISTA, FBPD, CGLS -from ccpi.reconstruction.funcs import Norm2sq, Norm1 , TV2D -from ccpi.astra.astra_ops import AstraProjectorSimple +from ccpi.optimisation.algs import FISTA, FBPD, CGLS +from ccpi.optimisation.funcs import Norm2sq, Norm1 , TV2D +from ccpi.astra.ops import AstraProjectorSimple import numpy as np import matplotlib.pyplot as plt diff --git a/Wrappers/Python/wip/simple_mc_demo.py b/Wrappers/Python/wip/simple_mc_demo.py index f77a678..7369d8f 100755 --- a/Wrappers/Python/wip/simple_mc_demo.py +++ b/Wrappers/Python/wip/simple_mc_demo.py @@ -2,9 +2,9 @@ #sys.path.append("..") from ccpi.framework import ImageData, AcquisitionData, ImageGeometry, AcquisitionGeometry -from ccpi.reconstruction.algs import FISTA -from ccpi.reconstruction.funcs import Norm2sq, Norm1 -from ccpi.astra.astra_ops import AstraProjectorMC +from ccpi.optimisation.algs import FISTA +from ccpi.optimisation.funcs import Norm2sq, Norm1 +from ccpi.astra.ops import AstraProjectorMC import numpy import matplotlib.pyplot as plt |