OSCR

Analysis of dendritic input currents during place field dynamics.

Code ↔ Paper

7 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

5 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 7 matches
  1. [1] § Results › CSBs in the CA1 pyramidal neuron model ↔ simulator/ModelSimulator.py, lines 13 to 99 · score 0.57 · Synapse locations, excitatory synapses, inhibitory synapses, membrane potential, weights, clusters · block oscr:b:H63PWKZSZ0G8W-7 · Report a mismatch
  2. [2] § Results › CSBs in the CA1 pyramidal neuron model ↔ simulator/ModelSimulator.py, lines 32 to 77 · score 0.56 · Synapse locations, excitatory synapses, inhibitory synapses, weights, clusters, synaptic · block oscr:b:WG69CP2M3S6SH-S · Report a mismatch
  3. [3] § Methods › Extended currentscape calculation ↔ currentscape_calculator/partitioning_order.py, lines 54 to 76 · score 0.55 · directed graph, depth, DFS, subgraphs, edge, reverses · block oscr:b:AZRJCQ7QSPPJZ-Y · Report a mismatch
  4. [4] § Results › The extended currentscape method ↔ currentscape_calculator/partitioning_order.py, lines 54 to 76 · score 0.55 · leaf nodes, target node, algorithm, edges, reversed, tree · block oscr:b:AZRJCQ7QSPPJZ-Y · Report a mismatch
  5. [5] § Methods › Biophysical models › Simplified neuron model (Figure 2) ↔ simulator/model/ca1_model.py, lines 79 to 120 · score 0.55 · membrane capacitance, resistivity, cm, Passive, soma, model · block oscr:b:YZGXXDPQPA573-0 · Report a mismatch
  6. [6] § Methods › Biophysical models › Simplified neuron model (Figure 2) ↔ simulator/model/ca1_model.py, lines 79 to 120 · score 0.54 · delayed rectifier, sodium, potassium, propagation, density, soma · block oscr:b:YZGXXDPQPA573-0 · Report a mismatch
  7. [7] § Methods › Preprocessing › Preprocessing membrane and synaptic currents ↔ currentscape_calculator/partitioning_algorithm.py, lines 12 to 100 · score 0.53 · partitioning algorithm, dendritic branch, recalculated, reindexed, axial, soma · block oscr:b:H1ZT8JFZ94DWA-M · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 102 lines · 4.3 KB · MIT · 2 matches

  1. import networkx as nx
  2. import pandas as pd
  3. def create_directed_graph(iax: pd.DataFrame, tp: int) -> nx.DiGraph:
  4. """
  5. Creates a directed graph based on the axial current value (iax) at a specified time point (tp).
  6. Parameters:
  7. iax (df): A pandas DataFrame with axial current data. It must include a column for the specified time point (`tp`)
  8. and index columns representing 'ref' and 'par' segments.
  9. tp (int): The time point for which to construct the graph using axial current values.
  10. Returns:
  11. DiGraph: A directed graph where edges are added based on the sign of the axial current values.
  12. - If `iax` is positive, the edge direction is `par -> ref`.
  13. - If `iax` is negative, the edge direction is `ref -> par`.
  14. """
  15. df_iax_tp = iax[tp]
  16. df_iax_tp = df_iax_tp.reset_index()
  17. df_iax_tp.rename(columns={tp: "iax"}, inplace=True) # has three columns: ref, par, iax
  18. # Create directed graph (add edges to the graph based on the sign of iax)
  19. dg = nx.DiGraph()
  20. for index, row in df_iax_tp.iterrows():
  21. if row['iax'] >= 0:
  22. dg.add_edge(row['par'], row['ref'], iax=row['iax']) # par -> ref if 'iax_timepoint' is positive
  23. elif row['iax'] < 0:
  24. dg.add_edge(row['ref'], row['par'], iax=row['iax']) # ref -> par if 'iax_timepoint' is negative
  25. return dg
  26. def get_partitioning_order(dg: nx.DiGraph, target: str, direction: str) -> list[tuple[str, str]]:
  27. """
  28. Determines the partitioning order of nodes in a directed graph.
  29. Parameters:
  30. dg (DiGraph): The directed graph.
  31. target (str): The node from which the traversal starts.
  32. direction (str): The traversal direction. Options are:
  33. - "out": Outward traversal from the target node.
  34. - "in": Inward traversal towards the target node.
  35. Returns:
  36. list[tuple[str, str]]: A list of node pairs representing the traversal order.
  37. """
  38. traversal_methods = {
  39. "out": get_traversal_order_out,
  40. "in": get_traversal_order_in
  41. }
  42. return traversal_methods[direction](dg, target)
  43. def get_traversal_order_out(dg: nx.DiGraph, target: str) -> list[tuple[str, str]]:
  44. """
  45. Computes the outward traversal order from a target node in a directed graph.
  46. Parameters:
  47. dg (DiGraph): The directed graph.
  48. target (str): The node from which the outward traversal starts.
  49. Returns:
  50. list[tuple[str, str]]: A list of node pairs representing the traversal order,
  51. starting from the leaf nodes.
  52. """
  53. # Find subgraph using depth first search algorithm and copy iax values of edges
  54. dg_dfs_out = nx.dfs_tree(dg, source=target)
  55. for u, v in dg_dfs_out.edges():
  56. if dg.has_edge(u, v):
  57. dg_dfs_out[u][v]['iax'] = dg[u][v]['iax']
  58. # Extract traversal order starting from the leaf nodes
  59. edges_visited_out = list(nx.edge_dfs(dg_dfs_out, target))
  60. node_pairs_out = [(v, u) for (u, v) in edges_visited_out] # switch nodes of each edge
  61. node_pairs_out.reverse() # reverse node pairs order (to start from the leaf nodes)
  62. return node_pairs_out
  63. def get_traversal_order_in(dg: nx.DiGraph, target: str) -> list[tuple[str, str]]:
  64. """
  65. Computes the inward traversal order towards a target node in a directed graph.
  66. Parameters:
  67. dg (nx.DiGraph): The directed graph.
  68. target (str): The node towards which the inward traversal is computed.
  69. Returns:
  70. list[tuple[str, str]]: A list of node pairs representing the traversal order,
  71. starting from the leaf nodes.
  72. """
  73. dg_reversed = nx.reverse(dg, copy=True)
  74. # Find subgraph using depth first search algorithm and copy iax values of edges
  75. dg_dfs_in = nx.dfs_tree(dg_reversed, source=target)
  76. for u, v in dg_dfs_in.edges():
  77. if dg.has_edge(v, u):
  78. dg_dfs_in[u][v]['iax'] = dg[v][u]['iax']
  79. # Extract traversal order starting from the leaf nodes
  80. edges_visited_in = list(nx.edge_dfs(dg_dfs_in, target))
  81. node_pairs_in = [(v, u) for (u, v) in edges_visited_in] # switch nodes of each edge
  82. node_pairs_in.reverse() # reverse node pairs order (to start from the leaf nodes)
  83. return node_pairs_in

partitioning_order.py at commit aa3400b, under MIT · at the source

Overview

  1. Biological Computation Research Group, HUN-REN Institute of Experimental Medicine, Budapest, Hungary
Journal: eLife, volume 14, article RP108352
Dates: published online 3 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.108352 · PMID 42397126 · PMCID PMC13331480 · OpenAlex W4415928299
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: systems (subfield)
Methods: Connectivity, Smoothing, state filtering, decompositions, Preprocessing, Single-unit activity, calcium imaging
Keywords: None
MeSH: Dendrites*, Hippocampus*, Neurons*, Place Cells*, Action Potentials, Animals, Membrane Potentials, Models, Neurological (* major topic)
Topic: Neuroscience and Neuropharmacology Research (Cellular and Molecular Neuroscience, Neuroscience), according to OpenAlex
Funding: National Research, Development and Innovation Office of Hungary (FK-125324)
Citations: not cited yet (Europe PMC); 92 references in the paper

Abstract

Neuronal activity is driven by the complex interplay between various membrane currents, often located in distinct domains of the spatially extended dendritic tree. How the effect of these currents propagates to the soma and contributes to neuronal output under in vivo conditions is not fully understood. Here, we develop a new method to measure and visualize the contributions of individual membrane currents to the somatic response in spatially extended biophysical model neurons. Our approach relies on the iterative decomposition of the axial current flowing between neighbouring compartments in proportion to the underlying membrane currents measured in the model. We apply this method to visualize the inputs driving hippocampal place cell activity. Our method provides a compact and intuitive description of the various dendritic events underlying subthreshold activity, spiking, or burst firing. By contrasting the dendritic input currents preceding spiking and bursting, we demonstrate that both could occur at highly variable input levels to proximal dendrites (basal and oblique), and that strong distal inputs facilitate, rather than control, the generation of complex spike bursts. Our method opens a novel window onto single-neuron computations that will help to design better models and to interpret the results of in vivo imaging experiments.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 7 matches between paragraphs and lines of code.

bencefogel/currentscapes-invivo-demo

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: aa3400b156126e149bdf2a4ec3c039e9a3801980, 30 June 2026
Languages: Python (25), NEURON (9)
Size: 76 files, 34 scripts
Software Heritage: archived
Found in: the references
Holds: README, license file, environment (requirements.txt)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: NEURON (18 files), pandas (16 files), NumPy (15 files), NetworkX (4 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
36 files

bencefogel/currentscapes-simple-model-examples

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 926d5555bc5f575005fd1c12e90663a93591f8e0, 30 June 2026
Languages: Python (23), NEURON (9), Jupyter (3)
Size: 78 files, 35 scripts
Software Heritage: archived
Found in: the text, “Biophysical models”
Holds: README, license file, environment (requirements.txt), 3 notebooks
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: NEURON (21 files), pandas (19 files), NumPy (18 files), NetworkX (5 files), Matplotlib (3 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
37 files

The paper's code and data availability statement is in the Data section.

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 69 scripts, each with its path and the digest of its content;
  • 7 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • 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

The current manuscript is a computational study, so no data have been generated for this manuscript. Modelling code is available at Github.

Reproduced under the paper's license (CC BY), from the paper cited above.

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, pages, dates, 2 authors, 1 keyword, 8 MeSH terms, 1 funder, 89 references.

Cite

This paper

Fogel, B., & Ujfalussy, B. B. (2026). Analysis of dendritic input currents during place field dynamics. eLife, 14, RP108352. https://doi.org/10.7554/elife.108352

BibTeX

@article{fogel2026analysis,
author = {Fogel, Bence and Ujfalussy, Balazs B},
title = {{Analysis of dendritic input currents during place field dynamics}},
journal = {eLife},
year = {2026},
month = jul,
volume = {14},
pages = {RP108352},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.108352},
url = {https://doi.org/10.7554/elife.108352},
pmid = {42397126},
pmcid = {PMC13331480}
}

RIS

TY - JOUR
AU - Fogel, Bence
AU - Ujfalussy, Balazs B
TI - Analysis of dendritic input currents during place field dynamics
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/07/03
VL - 14
SP - RP108352
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.108352
UR - https://doi.org/10.7554/elife.108352
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.108352",
"type": "article-journal",
"title": "Analysis of dendritic input currents during place field dynamics",
"container-title": "eLife",
"author": [
{
"family": "Fogel",
"given": "Bence"
},
{
"family": "Ujfalussy",
"given": "Balazs B"
}
],
"container-title-short": "eLife",
"volume": "14",
"page": "RP108352",
"DOI": "10.7554/elife.108352",
"PMID": "42397126",
"PMCID": "PMC13331480",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.108352",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
3
]
]
}
}

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.1016/j.celrep.2023.112386 [code]
Parallel functional architectures within a single dendritic tree.
Journal: Cell reports
In common: 21 references, author Balazs B Ujfalussy
[2] doi:10.1016/j.celrep.2022.111962 [code]
Lateral entorhinal cortex inputs modulate hippocampal dendritic excitability by recruiting a local disinhibitory microcircuit.
Journal: Cell reports
In common: NEURON, pandas, Matplotlib, 1 other tool, systems, 21 references
[3] doi:10.1016/j.celrep.2026.117793 [code]
Clustered inputs engage dendritic nonlinearities and calcium signaling to support efficient place-field formation in CA1 pyramidal neurons.
Journal: Cell reports
In common: NEURON, pandas, Matplotlib, 1 other tool, 20 references
[4] doi:10.1038/s41467-025-55819-9
Dendritic excitations govern back-propagation via a spike-rate accelerometer.
Journal: Nature communications
In common: 19 references
[5] doi:10.1038/s41467-024-50546-z [code]
Functional architecture of intracellular oscillations in hippocampal dendrites.
Journal: Nature communications
In common: 18 references
[6] doi:10.1523/jneurosci.1540-25.2026 [code]
Dendritic Inhibition Terminates Plateau Potentials in CA1 Pyramidal Neurons.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: 17 references
[7] doi: [code]
How to train your neuron: developing a detailed, up-to-date, multipurpose model of hippocampal CA1 pyramidal cells
Journal: Frontiers in computational neuroscience
In common: NEURON, pandas, Matplotlib, 1 other tool, 11 references
[8] doi:10.7554/elife.103676 [code]
Diverse calcium dynamics underlie place field formation in hippocampal CA1 pyramidal cells.
Journal: eLife
In common: 14 references
[9] doi:10.1016/j.celrep.2026.117159 [code]
Cellular and subcellular specialization enables biology-constrained deep learning.
Journal: Cell reports
In common: NEURON, pandas, Matplotlib, 1 other tool, 10 references
[10] doi:10.1371/journal.pbio.3002935 [code]
Local changes in potassium ions regulate input integration in active dendrites.
Journal: PLoS biology
In common: NEURON, Matplotlib, NumPy, 10 references

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.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.7554/elife.108352.svg)](https://openscicode.org/badge/doi/10.7554/elife.108352)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.7554/elife.108352.svg
   :target: https://openscicode.org/badge/doi/10.7554/elife.108352
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.108352"><img src="https://openscicode.org/badge/doi/10.7554/elife.108352.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.