Closed evgueni-ovtchinnikov closed 2 years ago
@samdporter can you help with the path issues above?
actually path problems are probably #148
Sure, I'll have a look
I checked all the notebooks for PSMR on a new cloud instance that @paskino gave me. All the notebooks in the Introductory, Geometry, MR, PET, Synergestic folders are ok. However,
1) In almost all of the notebooks there is %matplotlib notebook
which atm raises Javascript Error: IPython is not defined
without showing the figures. In some notebooks both %matplotlib notebook
and %matplotlib inline
are present which is very strange. I suggest to remove these commands.
2) In all notebooks, the headers contain information about Apache licence and Authorship. This takes a lot of space and is not very useful for our users during the training. So I suggest to delete Apache licence and keep one cell with authorship.
@samdporter , @KrisThielemans , @paskino , @DANAJK
Thanks! Please do not delete license info. We could shorten it, but let's not do that now.
To be honest, I also wouldn't edit matplotlib statements due to git fun with notebooks (committers need to have followed nbstripout instructions)
I think the license should be written in verbatim, so that it's clear what it is.
The %matplotlib notebook
problem is due to some software issue with the image I create, and so far didn't manage to fix it.
BTW there are #161 and #162 PRs to the notebooks that we should consider merging before the school.
Hi, slightly unrelated. I can see that the NPL data is in the cloud but while I can access data downloaded from the download_data.sh I cannot do the same for the real data
Just for future training sessions, having a cell with Apache information is not good. In some notebooks, there is an Apache cell and then followed by important information about the notebook and is really confusing. For instance in the a_geometry notebook. It's better if we add a license to the repo and remove this cell from every notebook.
We should also add the following in order to reduce the output in the notebooks
from sirf.STIR import MessageRedirector
msg_red = MessageRedirector('info.txt', 'warn.txt', 'errr.txt')
We should also add the following in order to reduce the output in the notebooks ...
done in 4396a9e89e57ca6098635f5a1f8b2df1e73a4a6b
Just for future training sessions, having a cell with Apache information is not good. In some notebooks, there is an Apache cell and then followed by important information about the notebook and is really confusing. For instance in the a_geometry notebook. It's better if we add a license to the repo and remove this cell from every notebook.
sorry. License statements should be in each file to the best of my understanding.
@paskino does %matplotlib widget
work? If so, I would NOT modify all notebooks, but create a separate issue "document when to use matplotlib notebook/inline or widget " and add a statement to the HackMD page to use widget
Introductory/acquisition_model_mr_pet_ct.ipynb
astra problem should be resolved.
Synergistic/Solutions/Dual_PET_Answer-noMotion
could be path issue, but also depends on previous notebook being run. Ideally we add a statement in the notebook accordingly. @evgueni-ovtchinnikov can you please check the current status, and create a separate issue if it still fails?
all seems ok, so closing
ModuleNotFoundError: No module named 'cil.plugins.astra'
error: ??? "'ProjData::read_from_file: error opening file FDG_sino_noisy.hs' exception caught at line 327 of /home/sirfuser/devel/buildVM/sources/SIRF/src/xSTIR/cSTIR/cstir.cpp; the reconstruction engine output may provide more information"
FileNotFoundError Traceback (most recent call last)