-
Notifications
You must be signed in to change notification settings - Fork 2
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
example notebook #2
Conversation
1ad233c
to
bf940ca
Compare
2ebb186
to
3bfbe68
Compare
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.
Most of this is very much out of date, unfortunately. Merging it will cause more confusion than anything else.
@@ -0,0 +1,126 @@ | |||
#%% |
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.
This is a CBCT example. It could be useful to some, but more than likely it is confusing to most. Please remove.
|
||
## Requirements | ||
|
||
- CIL with callbacks https://github.com/TomographicImaging/CIL/pull/1659 |
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.
this has long been merged.
|
||
### Installation | ||
|
||
Currently building from this SuperBuild branch https://github.com/SyneRBI/SIRF-SuperBuild/pull/718 |
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.
should be master as well.
docker/compose.sh -dgb -- --build-arg EXTRA_BUILD_FLAGS='-DGadgetron_TAG=6202fb7352a14fb82817b57a97d928c988eb0f4b -DISMRMRD_TAG=v1.13.7 -Dsiemens_to_ismrmrd_TAG=v1.2.11 -DDEVEL_BUILD=ON -DBUILD_CIL=ON -DCCPi-Regularisation-Toolkit_TAG=origin/master' --build-arg RUN_CTEST=0 | ||
|
||
``` |
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.
most of this should no longer be there.
docker/compose.sh -dgb -- --build-arg EXTRA_BUILD_FLAGS='-DGadgetron_TAG=6202fb7352a14fb82817b57a97d928c988eb0f4b -DISMRMRD_TAG=v1.13.7 -Dsiemens_to_ismrmrd_TAG=v1.2.11 -DDEVEL_BUILD=ON -DBUILD_CIL=ON -DCCPi-Regularisation-Toolkit_TAG=origin/master' --build-arg RUN_CTEST=0 | ||
|
||
``` | ||
where `-dgb` tells to `b`uild the `g`pu and `d`evelopment branches. The whole lot of flags can be checked [here](https://github.com/SyneRBI/SIRF-SuperBuild/blob/c21a2a45591550a6e257fc6f3dc343294b2c3127/docker/compose.sh#L24-L31) |
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.
Possibly wrong ref
"# add RDP prior to the objective functions\n", | ||
"step_size = 1e-7\n", | ||
"add_regulariser = True\n", | ||
"if add_regulariser:\n", | ||
" alpha = 500\n", | ||
" prior = construct_RDP(alpha, initial_image, kappa)\n", | ||
" # epsilon = initial_image.max()*1e-4\n", | ||
" # prior = add_RDP(alpha, epsilon, obj_funs)\n", | ||
" add_prior(prior, obj_funs)\n", | ||
" step_size = 1e-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.
will have to be replaced after merging #20
"# ISTA default step_size is 0.99*2.0/F.L\n", | ||
"step_size_rule = ConstantStepSize(step_size)\n", | ||
"\n", | ||
"alg = GD(initial=initial_image, objective_function=F, step_size=step_size_rule)" |
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.
Not using ISTA here, but GD. Please change and add positivity constraint
@@ -0,0 +1,805 @@ | |||
{ |
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.
this file is out-of-date. Don't merge.
@KrisThielemans this PR is definitely old and not intended for merging (yet). Marked as draft. |
e909f83
to
908c39a
Compare
An example is currently available. |
part of #1