Skip to content

Commit 2d97f07

Browse files
authored
Merge pull request #645 from FZJ-INM1-BDA/doc_showcase_paper_nbs
Doc showcase paper nbs
2 parents fcc09ad + 69b661c commit 2d97f07

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1780
-2085
lines changed

README.rst

+9-5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ It aims to facilitate programmatic and reproducible incorporation of brain parce
2020
It supports both discretely labelled and statistical (probabilistic) parcellation maps, which can be used to assign brain regions to spatial locations and image signals, to retrieve region-specific neuroscience datasets from multiple online repositories, and to sample information from high-resolution image data.
2121
The datasets anchored to brain regions address features of molecular, cellular and architecture as well as connectivity, and are complemented with live queries to external repositories as well as dynamic extraction from "big" image volumes such as the 20 micrometer BigBrain model.
2222

23+
``siibra`` hides much of the complexity that would be required to collect and interact with the individual parcellations, templates and data repositories.
24+
By encapsulating many aspects of interacting with different maps and reference templates spaces, it also minimizes common errors like misinterpretation of coordinates from different reference spaces, confusing label indices of brain regions, or using inconsistent versions of parcellation maps.
25+
It aims to provide a safe way of using maps defined across multiple spatial scales for reproducible analysis.
26+
27+
.. intro-end
28+
29+
.. about-start
30+
2331
``siibra`` was developed in the frame of the `Human Brain Project <https://humanbrainproject.eu>`__ for accessing the `EBRAINS
2432
human brain atlas <https://ebrains.eu/service/human-brain-atlas>`__.
2533
It stores most of its contents as sustainable and open datasets in the `EBRAINS Knowledge Graph <https://kg.ebrains.eu>`__, and is designed to support the `OpenMINDS metadata standards <https://github.com/HumanBrainProject/openMINDS_SANDS>`__.
@@ -28,11 +36,7 @@ In fact, the viewer is a good resource for exploring ``siibra``\ ’s core funct
2836
Feature queries in ``siibra`` are parameterized by data modality and anatomical location, while the latter could be a brain region, brain parcellation, or location in reference space.
2937
Beyond the explorative focus of ``siibra-explorer``, the Python library supports a range of data analysis functions suitable for typical neuroscience workflows.
3038

31-
``siibra`` hides much of the complexity that would be required to collect and interact with the individual parcellations, templates and data repositories.
32-
By encapsulating many aspects of interacting with different maps and reference templates spaces, it also minimizes common errors like misinterpretation of coordinates from different reference spaces, confusing label indices of brain regions, or using inconsistent versions of parcellation maps.
33-
It aims to provide a safe way of using maps defined across multiple spatial scales for reproducible analysis.
34-
35-
.. intro-end
39+
.. about-end
3640
3741
.. getting-started-start
3842

docs/_static/siibra-logo-darkmode.png

263 KB
Loading

docs/concepts.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
.. _mainconcepts:
2-
Elements of an atlas in siibra
1+
.. _glossary:
2+
Glossary
33
==============================
44

55
A typical brain atlas consists of

docs/conf.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
print("sphinx-book-theme:", sphinx_book_theme.__version__)
2020
print("sphinx-autopackagesummary", sphinx_autopackagesummary.__version__)
2121

22-
os.environ['SIIBRA_LOG_LEVEL'] = "ERROR"
22+
os.environ["SIIBRA_LOG_LEVEL"] = "ERROR"
2323
sys.path.insert(0, os.path.abspath(".."))
2424
print("Path:", sys.path)
2525

@@ -28,7 +28,7 @@ def is_allen_api_microarray_service_available():
2828
import requests
2929

3030
# see https://community.brain-map.org/t/human-brain-atlas-api/2876
31-
microarray_test_url = "http://api.brain-map.org/api/v2/data/query.json?criteria= service::human_microarray_expression[probes$eq1023146,1023147][donors$eq15496][structures$eq9148]"
31+
microarray_test_url = "http://api.brain-map.org/api/v2/data/query.json?criteria=service::human_microarray_expression[probes$eq1023146,1023147][donors$eq15496][structures$eq9148]"
3232
try:
3333
response = requests.get(microarray_test_url).json()
3434
except requests.RequestException:
@@ -86,6 +86,8 @@ def is_allen_api_microarray_service_available():
8686
"sphinx_copybutton", # adds a copy button for code fields
8787
"sphinxcontrib.images", # adds lightbox to images
8888
"sphinxcontrib.mermaid", # embed Mermaid graphs including flowcharts, sequence diagrams, gantt diagrams, etc.
89+
"sphinx_design",
90+
"sphinx_togglebutton",
8991
]
9092

9193
run_stale_examples = True
@@ -129,7 +131,7 @@ def is_allen_api_microarray_service_available():
129131

130132
# Mappings
131133
intersphinx_mapping = {
132-
"mainconcepts": ("../concepts.html", None),
134+
"glossary": ("../concepts.html", None),
133135
"matplotlib": ("https://matplotlib.org/", None),
134136
"nilearn": ("https://nilearn.github.io/stable/index.html", None),
135137
"nibabel": ("https://nipy.org/nibabel/", None),
@@ -167,13 +169,15 @@ def is_allen_api_microarray_service_available():
167169
"../examples/03_data_features",
168170
"../examples/04_locations",
169171
"../examples/05_anatomical_assignment",
172+
"../examples/tutorials",
170173
],
171174
"gallery_dirs": [
172175
"examples/01_atlases_and_parcellations",
173176
"examples/02_maps_and_templates",
174177
"examples/03_data_features",
175178
"examples/04_locations",
176179
"examples/05_anatomical_assignment",
180+
"examples/tutorials",
177181
],
178182
"filename_pattern": r"^.*.py", # which files to execute and include their outputs
179183
"capture_repr": ("_repr_html_", "__repr__"),
@@ -220,7 +224,7 @@ def is_allen_api_microarray_service_available():
220224
html_theme_options = {
221225
"logo": {
222226
"image_light": "_static/siibra-python.jpeg",
223-
"image_dark": "_static/siibra-python.jpeg",
227+
"image_dark": "_static/siibra-logo-darkmode.png",
224228
},
225229
"repository_url": "https://github.com/FZJ-INM1-BDA/siibra-python",
226230
"use_repository_button": True,

0 commit comments

Comments
 (0)