Skip to content

Commit 54f836d

Browse files
committed
DOC: Place Jupyter Notebook section before Code
Make it easier to find. Use *Jupyter Notebook* consistently over *Binder*.
1 parent 663b75c commit 54f836d

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

src/Core/Transform/MutualInformationAffine/Documentation.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ Output::
4040
Metric value = 0.000971698
4141
Numb. Samples = 567
4242

43+
Jupyter Notebook
44+
----------------
45+
46+
.. image:: https://mybinder.org/badge_logo.svg
47+
:target: https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKExamples/master?filepath=src%2FCore%2FTransform%2FMutualInformationAffine%2FMutualInformationAffine.ipynb
48+
49+
4350
Code
4451
----
4552

@@ -50,12 +57,6 @@ C++
5057
:lines: 18-
5158

5259

53-
Binder
54-
------
55-
.. image:: https://mybinder.org/badge_logo.svg
56-
:target: https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKExamples/master?filepath=src%2FCore%2FTransform%2FMutualInformationAffine%2FMutualInformationAffine.ipynb
57-
58-
5960
Classes demonstrated
6061
--------------------
6162

src/Numerics/Optimizers/ExhaustiveOptimizer/Documentation.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ Results
1919
Reconfiguration of CMakeList.txt may be necessary.
2020
`Write An Example <https://itk.org/ITKExamples/Documentation/Contribute/WriteANewExample.html`>
2121

22+
Jupyter Notebook
23+
-----------------
24+
25+
.. image:: https://mybinder.org/badge_logo.svg
26+
:target: https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKExamples/master?filepath=src%2FNumerics%2FOptimizers%2FExhaustiveOptimizer%2FPlotExhaustiveOptimizer.ipynb
27+
2228
Code
2329
----
2430

@@ -35,14 +41,6 @@ Python
3541
:language: python
3642
:lines: 20-
3743

38-
Jupyter Notebook
39-
-----------------
40-
41-
.. image:: https://mybinder.org/badge_logo.svg
42-
:target: https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKExamples/master?filepath=src%2FNumerics%2FOptimizers%2FExhaustiveOptimizer%2FPlotExhaustiveOptimizer.ipynb
43-
44-
45-
4644
Classes demonstrated
4745
--------------------
4846

src/Registration/Common/MutualInformation/Documentation.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,20 @@ Results
3434
Output::
3535

3636
Optimizer stop condition: GradientDescentOptimizer: Maximum number of iterations (200) exceeded.
37-
37+
3838
Result =
3939
Translation X = 12.9484
4040
Translation Y = 17.0856
4141
Iterations = 200
4242
Metric value = 0.594482
4343
Numb. Samples = 567
4444

45+
Jupyter Notebook
46+
----------------
47+
48+
.. image:: https://mybinder.org/badge_logo.svg
49+
:target: https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKExamples/master?filepath=src%2FRegistration%2FCommon%2FMutualInformation%2FMutualInformation.ipynb
50+
4551
Code
4652
----
4753

@@ -52,13 +58,6 @@ C++
5258
:lines: 18-
5359

5460

55-
Binder
56-
------
57-
.. image:: https://mybinder.org/badge_logo.svg
58-
:target: https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKExamples/master?filepath=src%2FRegistration%2FCommon%2FMutualInformation%2FMutualInformation.ipynb
59-
60-
61-
6261
Classes demonstrated
6362
--------------------
6463

src/Registration/Metricsv4/RegisterTwoPointSets/Documentation.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,15 @@ Results
4343
1.0000000000010232, 1.0000000000010232]
4444
Optimizer learning rate: 164.938
4545

46+
Jupyter Notebook
47+
----------------
48+
49+
.. image:: https://mybinder.org/badge_logo.svg
50+
:target: https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKExamples/master?filepath=src%2FRegistration%2FMetricsv4%2FRegisterTwoPointSets%2FRegisterTwoPointSets.ipynb
51+
4652
Code
4753
--------
54+
4855
C++
4956
...
5057

@@ -58,11 +65,6 @@ Python
5865
:language: python
5966
:lines: 1, 23-
6067

61-
Binder
62-
-------
63-
.. image:: https://mybinder.org/badge_logo.svg
64-
:target: https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKExamples/master?filepath=src%2FRegistration%2FMetricsv4%2FRegisterTwoPointSets%2FRegisterTwoPointSets.ipynb
65-
6668
Classes demonstrated
6769
--------------------
6870

0 commit comments

Comments
 (0)