-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update 3_Multichannel #160
Conversation
- part of #155
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I only got part way through reviewing so far, will continue next week.
"show2D( data, slice_list=[('channel',0),('channel',1),('channel',2)], \\\n", | ||
" title=[\"Red\",\"Green\",\"Blue\"], origin=\"upper\", num_cols=3)" | ||
"show2D(data, slice_list=[('channel',0),('channel',1),('channel',2)],\n", | ||
" title=[\"Red\",\"Green\",\"Blue\"], origin=\"upper\", num_cols=3);" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
" title=[\"Red\",\"Green\",\"Blue\"], origin=\"upper\", num_cols=3);" | |
" title=[\"Red\",\"Green\",\"Blue\"], origin=\"upper\", num_cols=3)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely not. See OP.
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"show_geometry(ag)" | ||
"show_geometry(ag);" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"show_geometry(ag);" | |
"show_geometry(ag)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely not. See OP.
@@ -282,7 +277,7 @@ | |||
"metadata": {}, | |||
"outputs": [], | |||
"source": [ | |||
"show_geometry(ag, view_distance = 4.5, elevation=10, azimuthal=-65, figsize=(10,10))" | |||
"show_geometry(ag, view_distance = 4.5, elevation=10, azimuthal=-65, figsize=(10,10));" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"show_geometry(ag, view_distance = 4.5, elevation=10, azimuthal=-65, figsize=(10,10));" | |
"show_geometry(ag, view_distance = 4.5, elevation=10, azimuthal=-65, figsize=(10,10))" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely not. See OP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are quite a few places where check_convergence is called - why is this?
Whilst checking, I found some additional issues with the notebooks which need updating, sorry
" [(\"channel\", 20),(\"horizontal_y\", 35)],\n", | ||
" [(\"channel\", 20),(\"horizontal_x\", 25)]],\n", | ||
" cmap=\"inferno\", num_cols=3,\n", | ||
" origin=\"upper\", fix_range=(0,0.5));" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
" origin=\"upper\", fix_range=(0,0.5));" | |
" origin=\"upper\", fix_range=(0,0.5))" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely not. See OP.
Sorry if I've missed this but why do we need ';' after show2D if its the last cell line? |
I am going to revert the show_geometry change |
Relevant issue in CIL: TomographicImaging/CIL#1954 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have now made the changes that I suggested. @MargaretDuff would you like to review or shall I merge?
Tested on 24.2.0 - happy to merge! |
Tested working on CIL 24.2.0
2506598
to
653891f
Compare
demos/3_Multichannel
(part of Update to CIL version 24.2 (latest release) #155)max_iteration
check_convergence
k = 0; k+=1
->enumerate
str.format
-> f-stringsprint
->tqdm
show2D
: append;
if last cell line