clabtoolkit 0.5.1__tar.gz → 0.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/CITATION.cff +3 -2
  2. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/DOCUMENTATION.md +1 -1
  3. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/HISTORY.rst +8 -0
  4. clabtoolkit-0.5.2/LICENSE +202 -0
  5. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/MANIFEST.in +1 -0
  6. clabtoolkit-0.5.2/NOTICE +5 -0
  7. {clabtoolkit-0.5.1/clabtoolkit.egg-info → clabtoolkit-0.5.2}/PKG-INFO +94 -46
  8. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/README.rst +92 -45
  9. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/__init__.py +1 -1
  10. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/pipelinetools.py +8 -1
  11. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2/clabtoolkit.egg-info}/PKG-INFO +94 -46
  12. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit.egg-info/SOURCES.txt +1 -0
  13. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/conf.py +1 -1
  14. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/pyproject.toml +1 -1
  15. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-pipelinetools-methods.ipynb +24 -13
  16. clabtoolkit-0.5.1/LICENSE +0 -16
  17. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/AUTHORS.rst +0 -0
  18. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/CONTRIBUTING.rst +0 -0
  19. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/Makefile +0 -0
  20. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/architecture_diagram.md +0 -0
  21. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/bidstools.py +0 -0
  22. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/bidstools_utils.py +0 -0
  23. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/build_visualization_layout.py +0 -0
  24. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/colorstools.py +0 -0
  25. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/config/bids.json +0 -0
  26. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/config/config.json +0 -0
  27. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/config/lobes.json +0 -0
  28. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/config/stats_mapping.json +0 -0
  29. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/config/viz_views.json +0 -0
  30. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/config/viz_views_test.json +0 -0
  31. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/connectivitytools.py +0 -0
  32. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/data/parcellationtools/sub-test2_ses-01_atlas-chimeraLFIIHISIFN_scale-1_desc-grow1mm_dseg.lut +0 -0
  33. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/data/parcellationtools/sub-test2_ses-01_atlas-chimeraLFIIHISIFN_scale-1_desc-grow1mm_dseg.nii.gz +0 -0
  34. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/dicomtools.py +0 -0
  35. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/dwitools.py +0 -0
  36. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/dwitools_utils.py +0 -0
  37. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/freesurfertools.py +0 -0
  38. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/imagetools.py +0 -0
  39. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/imagetools_utils.py +0 -0
  40. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/misctools.py +0 -0
  41. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/misctools_utils.py +0 -0
  42. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/morphometrytools.py +0 -0
  43. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/networktools.py +0 -0
  44. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/parcellationtools.py +0 -0
  45. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/plottools.py +0 -0
  46. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/pointstools.py +0 -0
  47. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/qcqatools.py +0 -0
  48. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/segmentationtools.py +0 -0
  49. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/surfacetools.py +0 -0
  50. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/tracttools.py +0 -0
  51. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/tracttools_utils.py +0 -0
  52. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/visualization_utils.py +0 -0
  53. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit/visualizationtools.py +0 -0
  54. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit.egg-info/dependency_links.txt +0 -0
  55. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit.egg-info/requires.txt +0 -0
  56. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/clabtoolkit.egg-info/top_level.txt +0 -0
  57. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/Makefile +0 -0
  58. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/README.md +0 -0
  59. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/make.bat +0 -0
  60. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/_static/clabtoolkit_ecosystem.png +0 -0
  61. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/_static/clabtoolkit_favicon.ico +0 -0
  62. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/_static/clabtoolkit_favicon.png +0 -0
  63. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/_static/clabtoolkit_logo.png +0 -0
  64. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/_static/clabtoolkit_logo_notext.png +0 -0
  65. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/api.rst +0 -0
  66. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/changelog.rst +0 -0
  67. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/contributing.rst +0 -0
  68. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/examples.rst +0 -0
  69. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/index.rst +0 -0
  70. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/installation.rst +0 -0
  71. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/bidstools.rst +0 -0
  72. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/colorstools.rst +0 -0
  73. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/connectivitytools.rst +0 -0
  74. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/dicomtools.rst +0 -0
  75. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/dwitools.rst +0 -0
  76. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/freesurfertools.rst +0 -0
  77. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/imagetools.rst +0 -0
  78. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/misctools.rst +0 -0
  79. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/morphometrytools.rst +0 -0
  80. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/networktools.rst +0 -0
  81. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/parcellationtools.rst +0 -0
  82. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/pipelinetools.rst +0 -0
  83. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/plottools.rst +0 -0
  84. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/pointstools.rst +0 -0
  85. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/qcqatools.rst +0 -0
  86. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/segmentationtools.rst +0 -0
  87. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/surfacetools.rst +0 -0
  88. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/tracttools.rst +0 -0
  89. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/modules/visualizationtools.rst +0 -0
  90. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/docs/source/quickstart.rst +0 -0
  91. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/environment-mac.yaml +0 -0
  92. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/environment.yaml +0 -0
  93. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/requirements-docs.txt +0 -0
  94. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/requirements.txt +0 -0
  95. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/requirements_dev.txt +0 -0
  96. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/setup.cfg +0 -0
  97. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/tox.ini +0 -0
  98. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/README.md +0 -0
  99. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/clabtoolkit_examples.ipynb +0 -0
  100. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-bidstools-methods.ipynb +0 -0
  101. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-colorstools-methods.ipynb +0 -0
  102. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-connectivitytools-methods.ipynb +0 -0
  103. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-dicomtools-methods.ipynb +0 -0
  104. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-dwitools-methods.ipynb +0 -0
  105. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-freesurfertools-methods.ipynb +0 -0
  106. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-imagetools-methods.ipynb +0 -0
  107. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-misctools-methods.ipynb +0 -0
  108. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-morphometrytools-methods.ipynb +0 -0
  109. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-networktools-methods.ipynb +0 -0
  110. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-parcellationtools-methods.ipynb +0 -0
  111. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-plottools-methods.ipynb +0 -0
  112. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-pointstools-methods.ipynb +0 -0
  113. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-qcqatools-methods.ipynb +0 -0
  114. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-segmentationtools-methods.ipynb +0 -0
  115. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-surfacetools-methods.ipynb +0 -0
  116. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-tracttools-methods.ipynb +0 -0
  117. {clabtoolkit-0.5.1 → clabtoolkit-0.5.2}/usage_examples/examples-visualizationtools-methods.ipynb +0 -0
@@ -6,9 +6,10 @@ abstract: >-
6
6
  A Python toolkit for neuroimaging data processing and analysis, designed for
7
7
  brain connectivity data, BIDS datasets and the file formats used in
8
8
  neuroimaging.
9
- version: 0.5.1
10
- date-released: 2026-10-21
9
+ version: 0.5.2
10
+ date-released: 2026-10-22
11
11
  license: Apache-2.0
12
+ doi: "10.5281/zenodo.23540587" # Zenodo concept DOI: always resolves to the latest version
12
13
  repository-code: "https://github.com/connectomicslab/clabtoolkit"
13
14
  url: "https://clabtoolkit.readthedocs.io"
14
15
  keywords:
@@ -4,7 +4,7 @@
4
4
 
5
5
  **clabtoolkit** is a comprehensive Python toolkit designed for neuroimaging data processing and analysis, with specialized focus on brain connectivity data, BIDS datasets, and various neuroimaging formats. Developed by Yasser Alemán-Gómez, this toolkit provides an end-to-end solution for connectomics research and surface-based brain analysis.
6
6
 
7
- **Version**: 0.5.1
7
+ **Version**: 0.5.2
8
8
  **License**: Apache Software License 2.0
9
9
  **Python Support**: 3.11+
10
10
  **Documentation**: https://clabtoolkit.readthedocs.io
@@ -2,6 +2,14 @@
2
2
  History
3
3
  =======
4
4
 
5
+ 0.5.2 (2026-10-22)
6
+ ------------------
7
+
8
+ * Updated the README (absolute image URLs so they render on PyPI, new badges and ecosystem figure)
9
+ * Added .zenodo.json so the Zenodo record has a description and complete metadata
10
+ * Added the Zenodo DOI of the toolkit to CITATION.cff and the README
11
+ * Replaced the LICENSE file by the unmodified Apache-2.0 text, so GitHub recognizes the license, and moved the copyright statement to a NOTICE file
12
+
5
13
  0.5.1 (2026-10-21)
6
14
  ------------------
7
15
 
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -3,6 +3,7 @@ include CITATION.cff
3
3
  include CONTRIBUTING.rst
4
4
  include HISTORY.rst
5
5
  include LICENSE
6
+ include NOTICE
6
7
  include README.rst
7
8
  include pyproject.toml
8
9
 
@@ -0,0 +1,5 @@
1
+ clabtoolkit
2
+ Copyright 2024-2026 Yasser Alemán-Gómez
3
+
4
+ This product includes software developed at the Connectomics Lab, Radiology
5
+ Department, CHUV - Lausanne University Hospital.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clabtoolkit
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: A comprehensive toolkit for neuroimaging data processing and analysis
5
5
  Author-email: Yasser Alemán-Gómez <yasseraleman@protonmail.com>
6
6
  Maintainer-email: Yasser Alemán-Gómez <yasseraleman@protonmail.com>
@@ -24,6 +24,7 @@ Classifier: Topic :: Scientific/Engineering :: Image Processing
24
24
  Requires-Python: >=3.11
25
25
  Description-Content-Type: text/x-rst
26
26
  License-File: LICENSE
27
+ License-File: NOTICE
27
28
  License-File: AUTHORS.rst
28
29
  Requires-Dist: nibabel>=5.3.2
29
30
  Requires-Dist: numpy>=1.23.5
@@ -69,7 +70,7 @@ Dynamic: license-file
69
70
  Connectomics Lab Toolkit
70
71
  ========================
71
72
 
72
- .. image:: docs/source/_static/clabtoolkit_logo.png
73
+ .. image:: https://raw.githubusercontent.com/connectomicslab/clabtoolkit/main/docs/source/_static/clabtoolkit_logo.png
73
74
  :alt: clabtoolkit logo
74
75
  :align: center
75
76
  :width: 400
@@ -77,27 +78,48 @@ Connectomics Lab Toolkit
77
78
 
78
79
  .. image:: https://img.shields.io/pypi/v/clabtoolkit.svg
79
80
  :target: https://pypi.python.org/pypi/clabtoolkit
81
+ :alt: PyPI version
82
+
83
+ .. image:: https://img.shields.io/pypi/pyversions/clabtoolkit.svg
84
+ :target: https://pypi.python.org/pypi/clabtoolkit
85
+ :alt: Python versions
86
+
87
+ .. image:: https://img.shields.io/badge/License-Apache_2.0-blue.svg
88
+ :target: https://opensource.org/licenses/Apache-2.0
89
+ :alt: License: Apache 2.0
80
90
 
81
91
  .. image:: https://github.com/connectomicslab/clabtoolkit/actions/workflows/ci.yml/badge.svg
82
92
  :target: https://github.com/connectomicslab/clabtoolkit/actions/workflows/ci.yml
93
+ :alt: CI status
94
+
95
+ .. image:: https://codecov.io/gh/connectomicslab/clabtoolkit/branch/main/graph/badge.svg
96
+ :target: https://codecov.io/gh/connectomicslab/clabtoolkit
97
+ :alt: Code coverage
83
98
 
84
99
  .. image:: https://readthedocs.org/projects/clabtoolkit/badge/?version=latest
85
100
  :target: https://clabtoolkit.readthedocs.io/en/latest/?version=latest
86
101
  :alt: Documentation Status
87
102
 
88
- .. image:: https://img.shields.io/pypi/pyversions/clabtoolkit.svg
89
- :target: https://pypi.python.org/pypi/clabtoolkit
103
+ .. image:: https://img.shields.io/badge/arXiv-2607.02638-b31b1b.svg
104
+ :target: https://arxiv.org/abs/2607.02638
105
+ :alt: arXiv
106
+
107
+ .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.23540587.svg
108
+ :target: https://doi.org/10.5281/zenodo.23540587
109
+ :alt: Zenodo DOI
90
110
 
91
- .. image:: https://codecov.io/gh/connectomicslab/clabtoolkit/branch/main/graph/badge.svg
92
- :target: https://codecov.io/gh/connectomicslab/clabtoolkit
93
111
 
112
+ **clabtoolkit** (Connectomics Lab Toolkit) is a Python toolkit for neuroimaging data processing
113
+ and analysis, with a focus on brain connectivity, BIDS datasets and common neuroimaging formats.
94
114
 
95
- A comprehensive Python toolkit for neuroimaging data processing and analysis, specifically designed for working with brain connectivity data, BIDS datasets, and various neuroimaging formats.
115
+ It is built around a small set of objects (``Surface``, ``Parcellation``, ``Tractogram`` and
116
+ ``Connectome``) that share a common plotting layer (``BrainPlotter``), so surfaces, parcellations,
117
+ streamlines and connectivity matrices can be loaded, processed and visualized with a consistent API.
118
+ It is designed to work alongside libraries such as nibabel, nilearn and DIPY.
96
119
 
97
120
  * **Free software**: Apache Software License 2.0
98
121
  * **Documentation**: https://clabtoolkit.readthedocs.io
99
- * **Source Code**: https://github.com/connectomicslab/clabtoolkit
100
- * **Python versions**: 3.11+
122
+ * **Source code**: https://github.com/connectomicslab/clabtoolkit
101
123
 
102
124
  Installation
103
125
  ------------
@@ -106,11 +128,11 @@ Install from PyPI::
106
128
 
107
129
  pip install clabtoolkit
108
130
 
109
- For development installation::
131
+ For a development installation::
110
132
 
111
133
  git clone https://github.com/connectomicslab/clabtoolkit.git
112
134
  cd clabtoolkit
113
- pip install -e .[dev]
135
+ pip install -e ".[dev]"
114
136
 
115
137
  Requirements and optional dependencies:
116
138
 
@@ -123,13 +145,16 @@ Requirements and optional dependencies:
123
145
  Features
124
146
  --------
125
147
 
126
- .. image:: docs/source/_static/clabtoolkit_ecosystem.png
148
+ .. image:: https://raw.githubusercontent.com/connectomicslab/clabtoolkit/main/docs/source/_static/clabtoolkit_ecosystem.png
127
149
  :alt: clabtoolkit ecosystem
128
150
  :align: center
129
151
  :width: 700
130
152
 
131
- Each module has a notebook in ``usage_examples`` (``examples-<module>-methods.ipynb``)
132
- with runnable examples.
153
+ Every module has a notebook with runnable examples in the
154
+ `usage_examples <https://github.com/connectomicslab/clabtoolkit/tree/main/usage_examples>`_ folder
155
+ (``examples-<module>-methods.ipynb``), and
156
+ `clabtoolkit_examples.ipynb <https://github.com/connectomicslab/clabtoolkit/blob/main/usage_examples/clabtoolkit_examples.ipynb>`_
157
+ gives an overview of the whole toolkit.
133
158
 
134
159
  **Data organization**
135
160
 
@@ -181,8 +206,6 @@ Quick Start
181
206
  -----------
182
207
 
183
208
  The examples below are self-contained: they use simulated data, so you can run them as they are.
184
- More examples for every module are available in the ``usage_examples`` folder
185
- (see ``usage_examples/clabtoolkit_examples.ipynb``).
186
209
 
187
210
  **Filter a parcellation by region name** (``keep_by_name``)
188
211
 
@@ -202,19 +225,30 @@ More examples for every module are available in the ``usage_examples`` folder
202
225
 
203
226
  To load your own parcellation, use ``cltparc.Parcellation("parc.nii.gz", color_table="lut.txt")``.
204
227
 
228
+ .. note::
229
+
230
+ If a file called ``parc.lut`` is in the same directory as the parcellation, it is used as the
231
+ color table by default, so ``cltparc.Parcellation("parc.nii.gz")`` is enough. As long as they
232
+ share the same base name, the LUT file will be automatically detected.
233
+
205
234
  **Sample an image along the streamlines of a tractogram** (``interpolate_on_tractogram``)
206
235
 
207
236
  .. code-block:: python
208
237
 
238
+ import os
239
+ import tempfile
240
+
209
241
  import clabtoolkit.imagetools as cltimg
210
242
  import clabtoolkit.tracttools as clttract
211
243
 
244
+ image_path = os.path.join(tempfile.gettempdir(), "image.nii.gz")
245
+
212
246
  # Simulate a reference image and a tractogram with 5 bundles
213
- cltimg.simulate_image(reference=(100, 100, 70), simulated_image="/tmp/image.nii.gz")
214
- tract = clttract.Tractogram.simulate_tractogram(ref_image="/tmp/image.nii.gz")
247
+ cltimg.simulate_image(reference=(100, 100, 70), simulated_image=image_path)
248
+ tract = clttract.Tractogram.simulate_tractogram(ref_image=image_path)
215
249
 
216
250
  # Sample the image at every point of every streamline
217
- tract.interpolate_on_tractogram("/tmp/image.nii.gz", map_name="fa",
251
+ tract.interpolate_on_tractogram(image_path, map_name="fa",
218
252
  storage_mode="data_per_point", interp_method="linear")
219
253
 
220
254
  print(tract.list_maps()["maps_per_point"]) # ['fa']
@@ -229,53 +263,67 @@ Use ``storage_mode="data_per_streamline"`` with ``reduction="mean"`` to store a
229
263
  import clabtoolkit.surfacetools as cltsurf
230
264
  import clabtoolkit.visualizationtools as cltvis
231
265
 
266
+ # On a server without a display, set PYVISTA_OFF_SCREEN=true before running
267
+
232
268
  # Simulate a surface and a thickness map
233
269
  surf = cltsurf.Surface.simulate_surface(seed=42, shape="sphere")
234
270
  surf.simulate_map(map_name="thickness")
235
271
 
236
- # Plot two views of the map and save the figure
272
+ # Option 1 (Surface object): plot the lateral and medial views of the map
273
+ surf.plot(views=["lateral", "medial"],
274
+ maps="thickness",
275
+ colorbar_title="Thickness (mm)")
276
+
277
+ # Option 2 (BrainPlotter): the same plot, with more control over colormaps and colorbars
237
278
  plotter = cltvis.BrainPlotter()
238
- plotter.plot(objs2plot=surf, views=["lateral", "medial"], map_names="thickness",
239
- colormaps="viridis", colorbar=True, save_path="/tmp/thickness.png")
279
+ plotter.plot(objs2plot=surf,
280
+ views=["lateral", "medial"],
281
+ map_names="thickness",
282
+ colormaps="hot",
283
+ colorbar=True,
284
+ colorbar_titles="Thickness (mm)")
240
285
 
241
286
  To plot your own data, load a surface with ``cltsurf.Surface("lh.pial")`` and its map with
242
287
  ``surf.load_scalar_maps("lh.thickness", maps_names="thickness")``.
243
288
 
244
- Contributing
245
- ------------
289
+ Citing
290
+ ------
246
291
 
247
- Contributions are welcome! Please open an issue first to discuss major changes. See
248
- `CONTRIBUTING.rst <CONTRIBUTING.rst>`_ for the full guidelines.
292
+ If you use clabtoolkit in your work, please cite the toolkit paper:
249
293
 
250
- Testing
251
- -------
294
+ Alemán-Gómez, Y., et al. CLABTOOLKIT: An Open-Source Toolkit for Routine Processing, Manipulation, and Visualization of Neuroimaging Data. arXiv:2607.02638.
295
+ https://arxiv.org/abs/2607.02638
252
296
 
253
- Run tests with::
297
+ .. code-block:: bibtex
254
298
 
255
- pytest
299
+ @article{aleman2026clabtoolkit,
300
+ title = {CLABTOOLKIT: An Open-Source Toolkit for Routine Processing, Manipulation, and Visualization of Neuroimaging Data},
301
+ author = {Alem{\'a}n-G{\'o}mez, Yasser and Herv{\'e} Nino and Hagmann, Patric},
302
+ journal = {arXiv preprint arXiv:2607.02638},
303
+ year = {2026},
304
+ url = {https://arxiv.org/abs/2607.02638}
305
+ }
256
306
 
257
- Run tests with coverage::
307
+ The repository includes a ``CITATION.cff`` file, and every release is archived in Zenodo: the DOI
308
+ `10.5281/zenodo.23540587 <https://doi.org/10.5281/zenodo.23540587>`_ always points to the latest
309
+ version, and each version has its own DOI listed on that page.
310
+
311
+ Contributing
312
+ ------------
258
313
 
259
- pytest --cov=clabtoolkit
314
+ Contributions are welcome! Please open an issue first to discuss major changes. See
315
+ `CONTRIBUTING.rst <https://github.com/connectomicslab/clabtoolkit/blob/main/CONTRIBUTING.rst>`_
316
+ for the guidelines, including how to run the test suite.
260
317
 
261
318
  Changelog
262
319
  ---------
263
320
 
264
- See `HISTORY.rst <HISTORY.rst>`_ for a detailed changelog.
265
-
266
- Citing
267
- ------
268
-
269
- If you use clabtoolkit in your work, please cite the toolkit paper::
270
-
271
- Alemán-Gómez, Y., et al. clabtoolkit. arXiv:2607.02638.
272
- https://arxiv.org/abs/2607.02638
273
-
274
- The repository includes a ``CITATION.cff`` file, so GitHub shows a "Cite this repository" option
275
- with the same reference. The source code is available at https://github.com/connectomicslab/clabtoolkit.
321
+ See `HISTORY.rst <https://github.com/connectomicslab/clabtoolkit/blob/main/HISTORY.rst>`_ for a
322
+ detailed changelog.
276
323
 
277
324
  Credits
278
325
  -------
279
326
 
280
- Developed by Yasser Alemán-Gómez and collaborators at the Connectomics Lab. See
281
- `AUTHORS.rst <AUTHORS.rst>`_ for the full list.
327
+ Developed by Yasser Alemán-Gómez and collaborators at the Connectomics Lab (Lausanne University
328
+ Hospital, CHUV). See `AUTHORS.rst <https://github.com/connectomicslab/clabtoolkit/blob/main/AUTHORS.rst>`_
329
+ for the full list.