Commit fa268d58 authored by Stephan Seitz's avatar Stephan Seitz

- remove debug statement in sart_cl.py

parent 8aa7d8c3
......@@ -22,7 +22,6 @@ jvm.add_import('edu.stanford.rsl.conrad.geometry')
jvm.add_import('edu.stanford.rsl.tutorial.cone')
jvm.add_import('edu.stanford.rsl.conrad.data.numeric.opencl')
jvm.start_conrad()
helix = False
......@@ -95,7 +94,6 @@ try:
java.lang.System.out.println("L1: %f" % foo.getGridOperator().normL1(foo))
java.lang.System.out.println(
"RMSE: " + str(foo.getGridOperator().rmse(foo, grid)))
foo.show()
except JavaException as e:
e.printStackTrace()
......
......@@ -12,10 +12,9 @@ except:
__version__ = 'unknown'
from jpype import JDouble, JArray, JInt, JString, JShort, JProxy, JByte, JBoolean, JChar, JLong, JFloat, JClass, JIterator, JavaException, java, JPackage
from ._pygrid import PyGrid, ndarray_to_grid, grid_to_ndarray
from pyconrad._pyconrad import setup_pyconrad, start_conrad, start_reconstruction_pipeline, is_initialized, is_gui_started, stop_gui
from pyconrad._pyconrad import setup_pyconrad, start_imagej, start_reconstruction_pipeline, is_initialized, is_gui_started, stop_gui
from pyconrad._classgetter import ClassGetter
from .constants import java_float_dtype
from .download_conrad import download_conrad, conrad_jar_dir, conrad_jar_path
......
......@@ -29,7 +29,7 @@ def setup_pyconrad(max_ram='8G', min_ram='7G', dev_dirs=[]):
PyConrad().setup(max_ram, min_ram, dev_dirs)
def start_conrad():
def start_imagej():
PyConrad().start_conrad()
......
......@@ -132,6 +132,7 @@ class PyGrid(np.ndarray):
f_buffer.put(self.__grid.getSubGrid(f).getSubGrid(z).getBuffer()) # TODO: stride == 0?
else:
raise Exception("shape dimension not supported")
del self.__dbuffer
def update_grid(self):
if not hasattr(self, '__dbuffer'):
......@@ -169,6 +170,8 @@ class PyGrid(np.ndarray):
else:
raise Exception("shape dimension not supported")
del self.__dbuffer
@deprecated
def show_grid(self):
if not hasattr(self, '__grid'):
......
This file is placed here by pip to indicate the source was put
here by pip.
Once this package is successfully installed this source code will be
deleted (unless you remove this file).
pyconrad-java @ ff1710e3
Subproject commit ff1710e3cbd001381590a9a7d39f40c160cfddc0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment