Targeting the posterior thalamic hub: hemispheric-specific encoding of pain-depression comorbidity after hemorrhagic stroke.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 262 lines · 8.3 KB · BSD-3-Clause
- # -*- coding: utf-8 -*-
- #
- # scikit-learn documentation build configuration file, created by
- # sphinx-quickstart on Fri Jan 8 09:13:42 2010.
- #
- # This file is execfile()d with the current directory set to its containing
- # dir.
- #
- # Note that not all possible configuration values are present in this
- # autogenerated file.
- #
- # All configuration values have a default; values that are commented out
- # serve to show the default.
- import sys
- import os
- # If extensions (or modules to document with autodoc) are in another
- # directory, add these directories to sys.path here. If the directory
- # is relative to the documentation root, use os.path.abspath to make it
- # absolute, like shown here.
- # sys.path.insert(0, os.path.abspath('sphinxext'))
- sourcepath = os.path.abspath('..')
- sys.path.insert(1, sourcepath)
- # -- General configuration ---------------------------------------------------
- # Try to override the matplotlib configuration as early as possible
- # try:
- # import gen_rst
- # except:
- # pass
- # Add any Sphinx extension module names here, as strings. They can be
- # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
- extensions = [
- # 'gen_rst',
- 'sphinx.ext.autodoc', 'sphinx.ext.autosummary',
- 'sphinx.ext.imgmath', 'numpydoc',
- 'sphinx.ext.todo', 'sphinx.ext.viewcode',
- 'sphinx.ext.inheritance_diagram'
- ]
- autosummary_generate = True
- autodoc_default_flags = ['members', 'show-inheritance']
- autodoc_member_order = 'bysource'
- # Add any paths that contain templates here, relative to this directory.
- templates_path = ['templates']
- # generate autosummary even if no references
- autosummary_generate = True
- # The suffix of source filenames.
- source_suffix = '.rst'
- # The encoding of source files.
- source_encoding = 'utf-8'
- # Generate the plots for the gallery
- plot_gallery = True
- # The master toctree document.
- master_doc = 'index'
- # General information about the project.
- project = u'WMQL'
- copyright = u'2013, Demian Wassermann (Modified BSD License)'
- # The version info for the project you're documenting, acts as replacement for
- # |version| and |release|, also used in various other places throughout the
- # built documents.
- #
- # The short X.Y version.
- version = '0.1'
- # The full version, including alpha/beta/rc tags.
- import tract_querier
- release = str(tract_querier.__version__)
- # The language for content autogenerated by Sphinx. Refer to documentation
- # for a list of supported languages.
- #language = None
- # There are two options for replacing |today|: either, you set today to some
- # non-false value, then it is used:
- #today = ''
- # Else, today_fmt is used as the format for a strftime call.
- #today_fmt = '%B %d, %Y'
- # List of documents that shouldn't be included in the build.
- #unused_docs = []
- # List of directories, relative to source directory, that shouldn't be
- # searched for source files.
- exclude_trees = ['_build', 'templates', 'includes']
- # List of patterns, relative to source directory, that match files and
- # directories to ignore when looking for source files.
- exclude_patterns = ['test', 'lbgfsb']
- # The reST default role (used for this markup: `text`) to use for all
- # documents.
- #default_role = None
- # If true, '()' will be appended to :func: etc. cross-reference text.
- add_function_parentheses = False
- # If true, the current module name will be prepended to all description
- # unit titles (such as .. function::).
- #add_module_names = True
- # If true, sectionauthor and moduleauthor directives will be shown in the
- # output. They are ignored by default.
- #show_authors = False
- # The name of the Pygments (syntax highlighting) style to use.
- pygments_style = 'sphinx'
- # A list of ignored prefixes for module index sorting.
- #modindex_common_prefix = []
- # -- Options for HTML output -------------------------------------------------
- # The theme to use for HTML and HTML Help pages. Major themes that come with
- # Sphinx are currently 'default' and 'sphinxdoc'.
- html_theme = 'sphinxdoc'
- # Theme options are theme-specific and customize the look and feel of a theme
- # further. For a list of options available for each theme, see the
- # documentation.
- # html_theme_options = {'oldversion': False, 'collapsiblesidebar': True,
- # 'google_analytics': True
- # }
- # Add any paths that contain custom themes here, relative to this directory.
- html_theme_path = ['themes']
- # The name for this set of Sphinx documents. If None, it defaults to
- # "<project> v<release> documentation".
- #html_title = None
- # A shorter title for the navigation bar. Default is the same as html_title.
- html_short_title = 'WMQL'
- # The name of an image file (relative to this directory) to place at the top
- # of the sidebar.
- #html_logo = 'logos/scikit-learn-logo-small.png'
- # The name of an image file (within the static path) to use as favicon of the
- # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
- # pixels large.
- #html_favicon = 'logos/favicon.ico'
- # Add any paths that contain custom static files (such as style sheets) here,
- # relative to this directory. They are copied after the builtin static files,
- # so a file named "default.css" will overwrite the builtin "default.css".
- html_static_path = ['documents', 'images']
- # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
- # using the given strftime format.
- #html_last_updated_fmt = '%b %d, %Y'
- # If true, SmartyPants will be used to convert quotes and dashes to
- # typographically correct entities.
- #html_use_smartypants = True
- # Custom sidebar templates, maps document names to template names.
- #html_sidebars = {}
- # Additional templates that should be rendered to pages, maps page names to
- # template names.
- #html_additional_pages = {}
- # If false, no module index is generated.
- html_use_modindex = True
- # If false, no index is generated.
- html_use_index = True
- # If true, the index is split into individual pages for each letter.
- #html_split_index = False
- # If true, links to the reST sources are added to the pages.
- #html_show_sourcelink = True
- # If true, an OpenSearch description file will be output, and all pages will
- # contain a <link> tag referring to it. The value of this option must be the
- # base URL from which the finished HTML is served.
- #html_use_opensearch = ''
- # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
- #html_file_suffix = ''
- # Output file base name for HTML help builder.
- htmlhelp_basename = 'tract_querierdoc'
- # -- Options for LaTeX output ------------------------------------------------
- # The paper size ('letter' or 'a4').
- #latex_paper_size = 'letter'
- # The font size ('10pt', '11pt' or '12pt').
- #latex_font_size = '10pt'
- # Grouping the document tree into LaTeX files. List of tuples
- # (source start file, target name, title, author, documentclass
- # [howto/manual]).
- latex_documents = [('index', 'user_guide.tex', u'tract_querier user guide',
- u'tract_querier developers', 'manual'), ]
- # The name of an image file (relative to this directory) to place at the top of
- # the title page.
- # latex_logo = "logos/tract_querier-logo.png"
- # For "manual" documents, if this is true, then toplevel headings are parts,
- # not chapters.
- #latex_use_parts = False
- # Additional stuff for the LaTeX preamble.
- latex_preamble = r"""
- \usepackage{amsmath}\usepackage{amsfonts}\usepackage{bm}\usepackage{morefloats}
- \usepackage{enumitem} \setlistdepth{10} \renewcommand{\Re}{\ensuremath{\mathbb R}}
- """
- pngmath_latex_preamble = r"""
- \usepackage{amsmath}\usepackage{amsfonts}\usepackage{bm}\usepackage{morefloats}
- \usepackage{enumitem}
- \renewcommand{\Re}{\ensuremath{\mathbb R}}
- """
- # Documents to append as an appendix to all manuals.
- #latex_appendices = []
- # If false, no module index is generated.
- #latex_use_modindex = True
- trim_doctests_flags = True
- def setup(app):
- from pygments.lexers import PythonLexer
- from pygments.token import Name, Keyword
- class WMQLLexer(PythonLexer):
- EXTRA_KEYWORDS = (
- [pos + '_of' for pos in ['anterior', 'posterior', 'inferior', 'superior']] +
- ['endpoints_in']
- )
- def get_tokens_unprocessed(self, text):
- for index, token, value in PythonLexer.get_tokens_unprocessed(self, text):
- if token is Name and value in self.EXTRA_KEYWORDS:
- yield index, Keyword.Pseudo, value
- else:
- yield index, token, value
- app.add_lexer('wmql', WMQLLexer)
conf.py at commit 5c69c59, under BSD-3-Clause · at the source
Overview
- Department of Neurology of Second Affiliated Hospital, Zhejiang University School of Medicine, Hangzhou, 310058 Zhejiang China
- General Practice, International Department of China-Japan Friendship Hospital, Bejing, 100029 China
- Center for Cognition and Brain Disorders, The Affiliated Hospital of Hangzhou Normal University, Hangzhou, 310058 Zhejiang China
- Department of Radiology of Second Affiliated Hospital, Zhejiang University School of Medicine, Hangzhou, 310058 Zhejiang China
- Affiliated Mental Health Center & Hangzhou Seventh People’s Hospital, School of Brain Science and Brain Medicine, Zhejiang University School of Medicine, Hangzhou, 310058 China
- Department of Psychiatry of Sir Run Run Shaw Hospital, School of Brain Science and Brain Medicine, Zhejiang University School of Medicine, Hangzhou, 310058 Zhejiang China
- State Key Laboratory of Genetic Evolution & Animal Models, Kunming Institute of Zoology, Chinese Academy of Sciences, Kunming, 650201 Yunnan China
- Yunnan Key Laboratory of Animal Models and Human Disease Mechanisms, Kunming Institute of Zoology, Chinese Academy of Sciences, Kunming, 650201 Yunnan China
- Kunming College of Life Science, University of Chinese Academy of Sciences, Kunming, 650201 Yunnan China
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above.
demianw/tract_querier
5c69c594d489859e08485110678dca7f6f4cba40, 24 July 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
39 files
- doc/
conf.py , Python, 262 lines - scripts/
cli_tract_math.py , Python, 124 lines - scripts/
cli_tract_querier.py , Python, 295 lines - tract_querier/
__init__.py , Python, 39 lines - tract_querier/
aabb.py , Python, 326 lines - tract_querier/
code_util/ , Python, 101 lines__init__.py - tract_querier/
decorators.py , Python, 1 line - tract_querier/
nipype/ , Python, 1 line__init__.py - tract_querier/
nipype/ , Python, 254 linesutils.py - tract_querier/
nipype/ , Python, 140 lineswmql.py - tract_querier/
query_processor.py , Python, 865 lines - tract_querier/
shell.py , Python, 249 lines - tract_querier/
tensor/ , Python, 7 lines__init__.py - tract_querier/
tensor/ , Python, 148 linesscalar_measures.py - tract_querier/
tensor/ , Python, 1 linetests/ __init__.py - tract_querier/
tensor/ , Python, 69 linestests/ test_scalar_measures.py - tract_querier/
tests/ , Python, 2 lines__init__.py - tract_querier/
tests/ , Python, 74 linesdatasets.py - tract_querier/
tests/ , Python, 305 linestest_query_eval.py - tract_querier/
tests/ , Python, 26 linestest_query_files.py - tract_querier/
tests/ , Python, 52 linestest_query_rewrite.py - tract_querier/
tests/ , Python, 19 linestest_tract_math.py - tract_querier/
tests/ , Python, 48 linestest_tract_querier.py - tract_querier/
tract_label_indices.py , Python, 273 lines - tract_querier/
tract_math/ , Python, 9 lines__init__.py - tract_querier/
tract_math/ , Python, 220 linesdecorator.py - tract_querier/
tract_math/ , Python, 848 linesoperations.py - tract_querier/
tract_math/ , Python, 145 linestensor_operations.py - tract_querier/
tract_math/ , Python, 1,281 linestract_obb.py - tract_querier/
tract_math/ , Python, 75 linestract_operations.py - tract_querier/
tractography/ , Python, 89 lines__init__.py - tract_querier/
tractography/ , Python, 1 linetests/ __init__.py - tract_querier/
tractography/ , Python, 240 linestests/ test_tractography.py - tract_querier/
tractography/ , Python, 145 linestrackvis.py - tract_querier/
tractography/ , Python, 311 linestractography.py - tract_querier/
tractography/ , Python, 518 linesvtkInterface.py - tract_querier/
util.py , Python, 29 lines - README.md, Text, 11 lines
- license.rst, License, 19 lines
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 37 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1186/s12916-026-05014-4.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 6 keywords, 17 MeSH terms, 7 funders, 100 references.
Cite
This paper
Jin, Y., Lv, Y., Wu, X., Liu, C., Guo, W., Cui, Y., Dong, Y., & Tong, L. (2026). Targeting the posterior thalamic hub: hemispheric-specific encoding of pain-depression comorbidity after hemorrhagic stroke. BMC medicine, 24(1), 479. https://
BibTeX
@article{jin2026targetin
author = {Jin, Yujia and Lv, Yating and Wu, Xinye and Liu, Chengjia and Guo, Wanjun and Cui, Yihui and Dong, Yiyan and Tong, Lusha},
title = {{Targeting the posterior thalamic hub: hemispheric-specific encoding of pain-depression comorbidity after hemorrhagic stroke}},
journal = {BMC medicine},
year = {2026},
month = jun,
volume = {24},
number = {1},
pages = {479},
publisher = {BioMed Central},
issn = {1741-7015},
doi = {10.1186/
url = {https://
pmid = {42343355},
pmcid = {PMC13560357}
}
RIS
TY - JOUR
AU - Jin, Yujia
AU - Lv, Yating
AU - Wu, Xinye
AU - Liu, Chengjia
AU - Guo, Wanjun
AU - Cui, Yihui
AU - Dong, Yiyan
AU - Tong, Lusha
TI - Targeting the posterior thalamic hub: hemispheric-specific encoding of pain-depression comorbidity after hemorrhagic stroke
T2 - BMC medicine
J2 - BMC Med
PY - 2026
DA - 2026/
VL - 24
IS - 1
SP - 479
SN - 1741-7015
PB - BioMed Central
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Targeting the posterior thalamic hub: hemispheric-specific encoding of pain-depression comorbidity after hemorrhagic stroke",
"container-title": "BMC medicine",
"author": [
{
"family": "Jin",
"given": "Yujia"
},
{
"family": "Lv",
"given": "Yating"
},
{
"family": "Wu",
"given": "Xinye"
},
{
"family": "Liu",
"given": "Chengjia"
},
{
"family": "Guo",
"given": "Wanjun"
},
{
"family": "Cui",
"given": "Yihui"
},
{
"family": "Dong",
"given": "Yiyan"
},
{
"family": "Tong",
"given": "Lusha"
}
],
"container-title-short":
"volume": "24",
"issue": "1",
"page": "479",
"DOI": "10.1186/
"PMID": "42343355",
"PMCID": "PMC13560357",
"ISSN": "1741-7015",
"publisher": "BioMed Central",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
24
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41467-026-71918-7 [code]
- Developmental disinhibition gates language lateralization in childhood.Journal: Nature communicationsIn common: ANTs, NiBabel, scikit-learn, 3 other tools, 3 references
- [2] doi:10.1162/netn.a.547 [code]
- An evaluation of the efficacy of single-echo and multi-echo fMRI denoising strategies.Journal: Network neuroscience (Cambridge, Mass.)In common: Nipype, ANTs, NiBabel, 4 other tools, fMRI, 1 reference
- [3] doi:10.1002/cns.71114 [code]
- Dynamic Functional Connectivity Changes in Cortical and Cortico-Striatal Strokes in Mice.Journal: CNS neuroscience & therapeuticsIn common: Nipype, ANTs, NiBabel, 3 other tools, stroke, fMRI, systems, 1 other category
- [4] doi:10.3389/fnins.2026.1873417 [code]
- Functional brain network alterations in a rat model of dental malocclusion.Journal: Frontiers in neuroscienceIn common: Nipype, ANTs, NiBabel, 4 other tools, fMRI, systems
- [5] doi:10.1038/s41467-026-71568-9 [code]
- Convergent and selective representations of pain, appetitive processes, aversive processes, and cognitive control in the insula.Journal: Nature communicationsIn common: Nipype, ANTs, NiBabel, 4 other tools, pain
- [6] doi:10.1038/s41398-026-04025-2 [code]
- Brain energetic landscapes shape state dysregulation in major depressive disorder: a morphological network controllability perspective.Journal: Translational psychiatryIn common: Nipype, ANTs, NiBabel, 4 other tools, depression
- [7] doi:10.1162/imag.a.1347 [code]
- Neural and behavioural correlates of theory of mind reasoning in five-year-old children born preterm.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Nipype, ANTs, NiBabel, 4 other tools, fMRI
- [8] doi:10.1016/j.dcn.2026.101765 [code]
- Fusiform face area development correlates with development in higher-order social brain regions.Journal: Developmental cognitive neuroscienceIn common: Nipype, ANTs, NiBabel, 4 other tools, fMRI
- [9] doi:10.1038/s41597-026-06869-1 [code]
- Individual Brain Charting: fifth release of high-resolution fMRI data for cognitive mapping.Journal: Scientific dataIn common: Nipype, ANTs, NiBabel, 4 other tools, fMRI
- [10] doi:10.1002/epi.70296 [code]
- Fully automated three-dimensional deep learning-based magnetic resonance imaging segmentation of brain cavities in epilepsy surgery.Journal: EpilepsiaIn common: Nipype, ANTs, NiBabel, 4 other tools, structural MRI / diffusion
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 37 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:11253e6e477bbd0e…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
