diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-12-12 14:45:38 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-12-12 16:10:47 +0100 |
commit | 3276485c96636cd38248908ff3575282654ff335 (patch) | |
tree | 426f5a84fc3d11a8c2436deff5933dd707c8793a /samples | |
parent | 40979a6f4ab678a2f57ccaf8aede1156713e3bf8 (diff) | |
download | astra-3276485c96636cd38248908ff3575282654ff335.tar.gz astra-3276485c96636cd38248908ff3575282654ff335.tar.bz2 astra-3276485c96636cd38248908ff3575282654ff335.tar.xz astra-3276485c96636cd38248908ff3575282654ff335.zip |
Reorganize functions into packages/private functions
This also replaces modifying the path with a request to the user to modify the path.
Diffstat (limited to 'samples')
-rw-r--r-- | samples/matlab/s024_plot_geometry.m | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/samples/matlab/s024_plot_geometry.m b/samples/matlab/s024_plot_geometry.m index dd57997..6c4c3f0 100644 --- a/samples/matlab/s024_plot_geometry.m +++ b/samples/matlab/s024_plot_geometry.m @@ -13,6 +13,11 @@ %% close all; +if exist('astra_create_example_cone') ~= 2 + error('Please add astra/algorithms/plot_geom to your path to use this function') +end + + % proj_geom = astra_create_example_cone('vec'); % proj_geom = astra_create_example_cone('normal'); proj_geom = astra_create_example_cone('helix'); @@ -20,7 +25,7 @@ proj_geom = astra_create_example_cone('helix'); % proj_geom = astra_create_example_fanflat('vec'); % proj_geom = astra_create_example_fanflat(); % proj_geom = astra_create_example_parallel3d(); -% proj_geom = create_example_cone('deform_vec'); +% proj_geom = astra_create_example_cone('deform_vec'); astra_plot_geom(proj_geom); hold on; |