The script display_and_projection.py
runs ok, but subsequent running of any of the rest fail.
In Spyder (started from shell), running further scripts in the same console produces error messages suggesting that pystir
is None
, whereas running them in a separate dedicated console produces error message 'name pet is not defined'.
Richard checked that they also fail in IPython run in a terminal, so it is not a Spyder problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
There are a few problems here:
01_display_and_projection.py
and so forthdisplay_and_projection.py
does not display any image if run as a whole script. If you run the cells then the images are plotted and everything seems fine.slice
functionbasic_reconstruction.py
tries to display the slice 5 which is uniformly 0reconstruction.py
both acquisition_array
and noisy_array
have 4D so the display at these lines fail. Other plots fail because of the size of the array passed to imshow
According to the README the scripts should be run cell-by-cell.