Skip to content

Commit b3ea415

Browse files
authored
πŸ“ Document desc-xcp_quality.tsv files (#269)
2 parents 63a2050 + 9d9b536 commit b3ea415

23 files changed

+216
-29
lines changed

β€Ždocs/_sources/_static/custom.cssβ€Ž

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,47 @@
1+
:root {
2+
--bg-dark: #11303D;
3+
--bg-light: #F0F0F0;
4+
}
5+
6+
html {
7+
background-color: var(--bg-dark, #11303D);
8+
}
9+
10+
body {
11+
background-color: var(--bg-light, #F0F0F0);
12+
}
13+
114
div.body {
2-
max-width: 100%;
15+
max-width: 100%;
16+
}
17+
div.bodywrapper p {
18+
margin-block: 0;
19+
}
20+
div.bodywrapper section {
21+
background-color: white;
22+
padding: 0 20px 30px 20px;
23+
}
24+
div.bodywrapper section h2 {
25+
margin-block-start: 0;
26+
padding-block-start: 0.83em;
27+
}
28+
div.citation p {
29+
display: inline;
330
}
431
div.flowchart-container {
5-
max-width: 1200px;
32+
max-width: 1200px;
33+
}
34+
div.footer {
35+
background-color: var(--bg-dark, #11303D);
36+
}
37+
div.sphinxsidebar {
38+
background-color: var(--bg-light, #F0F0F0);
639
}
7-
840

941
object {
10-
max-width: 100%;
42+
max-width: 100%;
1143
}
1244

13-
1445
.bibtex .brackets::before {
1546
content: "[";
1647
}

β€Ždocs/_sources/conf.pyβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ def _unireplace(release_note, unireplace):
329329
330330
.. toctree::
331331
:hidden:
332+
:titlesonly:
333+
:maxdepth: 1
332334
333335
/user/release_notes/{latest}.rst
334336
""".format(latest=str(t))
@@ -347,6 +349,8 @@ def _unireplace(release_note, unireplace):
347349
348350
.. toctree::
349351
:hidden:
352+
:titlesonly:
353+
:maxdepth: 1
350354
351355
{}
352356

β€Ždocs/_sources/developer/index.rstβ€Ž

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,29 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
.. title:: Developer Documentation
6+
Developer Documentation
7+
=======================
78

89
Welcome to CPAC's developer documentation!
9-
==========================================
10+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1011

1112
Contents:
1213

1314
.. toctree::
1415
:maxdepth: 2
16+
:titlesonly:
1517

1618
installation
1719
pipeline
1820
nodes
1921
random_state
2022
workflow_documentation
2123
workflows/index
24+
xcpqc
2225
testing
2326

2427
Indices and tables
25-
==================
28+
^^^^^^^^^^^^^^^^^^
2629

2730
* :ref:`genindex`
2831
* :ref:`modindex`
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
eXtensible Connectivity Pipeline-style quality control files
2+
============================================================
3+
4+
.. automodule:: CPAC.qc.xcp
5+
:members:
6+
7+
.. rubric:: References
8+
9+
.. bibliography:: /references/xcpqc_citation.bib
10+
:style: cpac_docs_style
11+
:cited:
12+
:keyprefix: cite-

β€Ždocs/_sources/index.rstβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Contents:
1010

1111
.. toctree::
1212
:maxdepth: 1
13+
:titlesonly:
1314

1415
User Guide <user/index>
1516
Developer Documentation <developer/index>

β€Ždocs/_sources/references/style.pyβ€Ž

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,15 @@ def get_book_template(self, entry):
7575
optional[sentence[date]],
7676
optional[sentence[href[
7777
field('url'),
78-
optional[tag('em')[self.format_title(entry, 'title')]]
78+
optional[tag('em')[join(sep=', ')[
79+
self.format_title(entry, 'title', as_sentence=False),
80+
optional_field('edition')
81+
]]]
7982
]]] if entry.fields.get('url') else optional[sentence[
80-
tag('em')[self.format_title(entry, 'title')]
83+
tag('em')[join(sep=', ')[
84+
self.format_title(entry, 'title', as_sentence=False),
85+
optional_field('edition')
86+
]]
8187
]],
8288
optional[sentence[
8389
join(sep=': ')[
@@ -89,19 +95,20 @@ def get_book_template(self, entry):
8995
]
9096
return template
9197

92-
def get_incollection_template(self, e):
98+
def get_incollection_template(self, entry):
9399
template = toplevel[optional[
94100
sentence[self.format_names('author')]],
95101
optional[sentence[date]],
96102
optional[sentence[href[
97103
field('url'),
98-
optional[tag('em')[self.format_title(e, 'title')]]
99-
]] if e.fields.get('url') else optional[sentence[
100-
tag('em')[self.format_title(e, 'title')]
101-
]]],
102-
optional[sentence[
103-
tag('em')[self.format_title(e, 'booktitle')]
104+
self.format_title(entry, 'title')
105+
]]] if entry.fields.get('url') else optional[sentence[
106+
self.format_title(entry, 'title')
104107
]],
108+
optional[tag('em')[join(sep=', ')[
109+
self.format_title(entry, 'booktitle', as_sentence=False),
110+
optional_field('edition')
111+
]]],
105112
optional[sentence[
106113
join(sep=': ')[
107114
optional_field('address'),
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
2+
@incollection{BIDS21,
3+
title = {Appendix {{IX}}: {{Entities}}},
4+
booktitle = {The {{Brain Imaging Data Structure}} ({{BIDS}}) {{Specification}}},
5+
author = {{BIDS-contributors}},
6+
year = {2021},
7+
edition = {1.6.0},
8+
url = {https://bids-specification.readthedocs.io/en/v1.6.0/99-appendices/09-entities.html}
9+
}
10+
11+
@incollection{Ciri19,
12+
title = {Quality Control Dictionary},
13+
booktitle = {{{xcpEngine}} 1.0 Documentation},
14+
author = {Ciric, Rastko and Rosen, Adon F. G. and Erus, Guray and Cieslak, Matthew and Adebimpe, Azeez and Cook, Philip A. and Bassett, Danielle S. and Davatzikos, Christos and Wolf, Daniel H. and Satterthwaite, Theodore D.},
15+
year = {2019},
16+
edition = {a7254873},
17+
url = {https://xcpengine.readthedocs.io/qualitycontrol.html}
18+
}
19+
20+
@article{Jenk02,
21+
title = {Improved Optimization for the Robust and Accurate Linear Registration and Motion Correction of Brain Images},
22+
author = {Jenkinson, Mark and Bannister, Peter and Brady, Michael and Smith, Stephen},
23+
year = {2002},
24+
month = oct,
25+
journal = {NeuroImage},
26+
volume = {17},
27+
number = {2},
28+
pages = {825--841},
29+
issn = {1053-8119},
30+
doi = {10.1006/nimg.2002.1132},
31+
abstract = {Linear registration and motion correction are important components of structural and functional brain image analysis. Most modern methods optimize some intensity-based cost function to determine the best registration. To date, little attention has been focused on the optimization method itself, even though the success of most registration methods hinges on the quality of this optimization. This paper examines the optimization process in detail and demonstrates that the commonly used multiresolution local optimization methods can, and do, get trapped in local minima. To address this problem, two approaches are taken: (1) to apodize the cost function and (2) to employ a novel hybrid global\textendash local optimization method. This new optimization method is specifically designed for registering whole brain images. It substantially reduces the likelihood of producing misregistrations due to being trapped by local minima. The increased robustness of the method, compared to other commonly used methods, is demonstrated by a consistency test. In addition, the accuracy of the registration is demonstrated by a series of experiments with motion correction. These motion correction experiments also investigate how the results are affected by different cost functions and interpolation methods.},
32+
langid = {english}
33+
}
34+
35+
@misc{Penn19,
36+
title = {{{maskOverlap}}.{{R}}},
37+
year = {2019},
38+
month = jan,
39+
abstract = {Official public repository for the XCP Engine},
40+
copyright = {MIT},
41+
howpublished = {{The {{Lifespan Informatics and Neuroimaging Center}} at the {{University of Pennylvannia}}}},
42+
url = {https://github.com/PennLINC/xcpEngine/blob/640f1c01/utils/maskOverlap.R}
43+
}
44+
45+

β€Ždocs/_sources/user/1.7-1.8-nesting-mappings.rstβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
:http-equiv=refresh: 0; url=./pipelines/1.7-1.8-nesting-mappings.rst
33

44
.. title:: Filed under 'pipelines'
5+
6+
:orphan:

β€Ždocs/_sources/user/compute_config.rstβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:orphan:
2-
31
Computer Settings
42
-----------------
53
.. figure:: /_images/compute_gui.png

β€Ždocs/_sources/user/default.rstβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
:http-equiv=refresh: 0; url=./pipelines/default
33

44
.. title:: Filed under 'pipelines'
5+
6+
:orphan:

0 commit comments

Comments
Β (0)