<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.3 20210610//EN"  "JATS-archivearticle1-3-mathml3.dtd"><article xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.3"><front><journal-meta><journal-id journal-id-type="nlm-ta">elife</journal-id><journal-id journal-id-type="publisher-id">eLife</journal-id><journal-title-group><journal-title>eLife</journal-title></journal-title-group><issn publication-format="electronic" pub-type="epub">2050-084X</issn><publisher><publisher-name>eLife Sciences Publications, Ltd</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">103324</article-id><article-id pub-id-type="doi">10.7554/eLife.103324</article-id><article-id pub-id-type="doi" specific-use="version">10.7554/eLife.103324.3</article-id><article-version article-version-type="publication-state">version of record</article-version><article-categories><subj-group subj-group-type="display-channel"><subject>Tools and Resources</subject></subj-group><subj-group subj-group-type="heading"><subject>Neuroscience</subject></subj-group></article-categories><title-group><article-title>DendroTweaks, an interactive approach for unraveling dendritic dynamics</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Makarov</surname><given-names>Roman</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-4174-3826</contrib-id><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con1"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Chavlis</surname><given-names>Spyridon</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-1046-1201</contrib-id><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con2"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" corresp="yes"><name><surname>Poirazi</surname><given-names>Panayiota</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0001-6152-595X</contrib-id><email>poirazi@imbb.forth.gr</email><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="other" rid="fund1"/><xref ref-type="fn" rid="con3"/><xref ref-type="fn" rid="conf2"/></contrib><aff id="aff1"><label>1</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00dr28g20</institution-id><institution>Department of Biology, University of Crete</institution></institution-wrap><addr-line><named-content content-type="city">Heraklion</named-content></addr-line><country>Greece</country></aff><aff id="aff2"><label>2</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03bndpq63</institution-id><institution>Institute of Molecular Biology and Biotechnology (IMBB), Foundation for Research and Technology-Hellas (FORTH)</institution></institution-wrap><addr-line><named-content content-type="city">Heraklion</named-content></addr-line><country>Greece</country></aff></contrib-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Schneider-Mizell</surname><given-names>Casey M</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00dcv1019</institution-id><institution>Allen Institute for Brain Science</institution></institution-wrap><country>United States</country></aff></contrib><contrib contrib-type="senior_editor"><name><surname>Cardona</surname><given-names>Albert</given-names></name><role>Senior Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/013meh722</institution-id><institution>University of Cambridge</institution></institution-wrap><country>United Kingdom</country></aff></contrib></contrib-group><pub-date publication-format="electronic" date-type="publication"><day>23</day><month>12</month><year>2025</year></pub-date><volume>13</volume><elocation-id>RP103324</elocation-id><history><date date-type="sent-for-review" iso-8601-date="2024-09-17"><day>17</day><month>09</month><year>2024</year></date></history><pub-history><event><event-desc>This manuscript was published as a preprint.</event-desc><date date-type="preprint" iso-8601-date="2024-09-10"><day>10</day><month>09</month><year>2024</year></date><self-uri content-type="preprint" xlink:href="https://doi.org/10.1101/2024.09.06.611191"/></event><event><event-desc>This manuscript was published as a reviewed preprint.</event-desc><date date-type="reviewed-preprint" iso-8601-date="2024-11-11"><day>11</day><month>11</month><year>2024</year></date><self-uri content-type="reviewed-preprint" xlink:href="https://doi.org/10.7554/eLife.103324.1"/><self-uri content-type="editor-report" xlink:href="https://doi.org/10.7554/eLife.103324.1.sa0">eLife Assessment</self-uri></event><event><event-desc>The reviewed preprint was revised.</event-desc><date date-type="reviewed-preprint" iso-8601-date="2025-10-30"><day>30</day><month>10</month><year>2025</year></date><self-uri content-type="reviewed-preprint" xlink:href="https://doi.org/10.7554/eLife.103324.2"/><self-uri content-type="editor-report" xlink:href="https://doi.org/10.7554/eLife.103324.2.sa0">eLife Assessment</self-uri></event></pub-history><permissions><copyright-statement>© 2024, Makarov et al</copyright-statement><copyright-year>2024</copyright-year><copyright-holder>Makarov et al</copyright-holder><ali:free_to_read/><license xlink:href="http://creativecommons.org/licenses/by/4.0/"><ali:license_ref>http://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License</ext-link>, which permits unrestricted use and redistribution provided that the original author and source are credited.</license-p></license></permissions><self-uri content-type="pdf" xlink:href="elife-103324-v2.pdf"/><abstract><p>Neurons rely on the interplay between two critical components, dendritic morphology and ion channels, to transform synaptic inputs into a sequence of somatic spikes. Detailed biophysical models with active dendrites have been instrumental in exploring this interaction. However, such models can be challenging to understand and validate due to the large number of parameters involved. In this work, we introduce <italic>DendroTweaks</italic>, a toolbox designed to make detailed biophysical models with active dendrites more intuitive and more interactive. <italic>DendroTweaks</italic> features a web-based graphical interface, where users can explore single-cell neuronal models and adjust their morphological and biophysical parameters with real-time visual feedback. In particular, <italic>DendroTweaks</italic> focuses on subcellular properties, such as kinetics and distribution of ion channels, as well as the dynamics and placement of synaptic inputs. The toolbox supports various experimental protocols designed to illuminate how morpho-electric properties map to dendritic events and how these dendritic events shape neuronal output, thereby enhancing model validation. It helps users build high-level, modular model representations and includes a rich set of tools for parsing, generating, and standardizing commonly used neuronal data formats. Finally, it enables model simplification through a built-in morphology reduction algorithm, allowing users to export models for further use in faster, more interpretable networks. By combining extensive visualization capabilities and comprehensive data management functionality, <italic>DendroTweaks</italic> introduces a novel interactive approach for unraveling dendritic dynamics. This approach will accelerate research on dendritic computations, their underlying mechanisms, and their fundamental role in brain function.</p></abstract><kwd-group kwd-group-type="author-keywords"><kwd>biophysical model</kwd><kwd>active dendrites</kwd><kwd>electrophysiology</kwd><kwd>morphology</kwd><kwd>ion channels</kwd><kwd>single neuron</kwd><kwd>toolbox</kwd></kwd-group><kwd-group kwd-group-type="research-organism"><title>Research organism</title><kwd>Mouse</kwd></kwd-group><funding-group><award-group id="fund1"><funding-source><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01cwqze88</institution-id><institution>National Institutes of Health</institution></institution-wrap></funding-source><award-id>1R01MH124867</award-id><principal-award-recipient><name><surname>Poirazi</surname><given-names>Panayiota</given-names></name></principal-award-recipient></award-group><award-group id="fund2"><funding-source><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00k4n6c32</institution-id><institution>Horizon 2020 Framework Programme</institution></institution-wrap></funding-source><award-id>GA-863245</award-id><principal-award-recipient><name><surname>Poirazi</surname><given-names>Panayiota</given-names></name></principal-award-recipient></award-group><award-group id="fund3"><funding-source><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00k4n6c32</institution-id><institution>Horizon 2020 Framework Programme</institution></institution-wrap></funding-source><award-id>GA-860949</award-id><principal-award-recipient><name><surname>Poirazi</surname><given-names>Panayiota</given-names></name></principal-award-recipient></award-group><award-group id="fund4"><funding-source><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00k4n6c32</institution-id><institution>Horizon 2020 Framework Programme</institution></institution-wrap></funding-source><award-id>GA-873178</award-id><principal-award-recipient><name><surname>Poirazi</surname><given-names>Panayiota</given-names></name></principal-award-recipient></award-group><award-group id="fund5"><funding-source><institution-wrap><institution>Hellenic Foundation for Research and Innovation - Stavros Niarchos Foundation</institution></institution-wrap></funding-source><award-id>GA-28056</award-id><principal-award-recipient><name><surname>Poirazi</surname><given-names>Panayiota</given-names></name></principal-award-recipient></award-group><funding-statement>The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.</funding-statement></funding-group><custom-meta-group><custom-meta specific-use="meta-only"><meta-name>Author impact statement</meta-name><meta-value>An interactive toolbox for standardizing, validating, simulating, reducing, and exploring detailed biophysical models that can be used to reveal how morpho-electric properties map to dendritic and neuronal outputs.</meta-value></custom-meta><custom-meta specific-use="meta-only"><meta-name>publishing-route</meta-name><meta-value>prc</meta-value></custom-meta></custom-meta-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Neurons are the most well-studied brain cells, known for their key role in processing and storing information. Information travels from neuron to neuron via synaptic connections, which are typically formed on dendrites. These extensive branching processes of a neuron actively shape and transform synaptic inputs on their way to the soma, endowing neurons with a wide range of input-output transformations. Since Rall’s pioneering work on signal propagation within dendrites (<xref ref-type="bibr" rid="bib73">Rall, 1959</xref>), our understanding of dendritic dynamics has expanded with the discovery of local regenerative events, such as Na<sup>+</sup> dendritic spikes (<xref ref-type="bibr" rid="bib84">Spencer and Kandel, 1961</xref>; <xref ref-type="bibr" rid="bib22">Golding and Spruston, 1998</xref>), and NMDA and Ca<sup>2+</sup> plateau potentials (<xref ref-type="bibr" rid="bib80">Schiller and Schiller, 2001</xref>; <xref ref-type="bibr" rid="bib44">Llinas and Nicholson, 1971</xref>; <xref ref-type="bibr" rid="bib45">Llinás and Hess, 1976</xref>). These active properties of dendrites largely depend on the interaction between their branching morphology and ion channel composition. Multicompartmental biophysical models with active dendrites have been instrumental in exploring this relationship. However, the large number of parameters in such models complicates their interpretability, making them challenging to build, examine, and validate. In addition, the lack of standardization, along with their high computational complexity, makes these models less attractive for use in large-scale network simulations. As a result, state-of-the-art network models still consider dendrites as passive cables (<xref ref-type="bibr" rid="bib57">Markram et al., 2015</xref>; <xref ref-type="bibr" rid="bib5">Billeh et al., 2020</xref>), greatly underestimating their computational power (<xref ref-type="bibr" rid="bib90">Tran-Van-Minh et al., 2015</xref>). At the same time, with the advent of new techniques like genetic tracking of ion channels and high-resolution imaging of neuronal activity using voltage-sensitive dyes, multicompartmental biophysical modeling is experiencing its renaissance. Detailed biophysical models, although mathematically complex and computationally inefficient, are ideal for capturing and explaining data produced, for example, through simultaneous voltage and synaptic input imaging in vivo.</p><p>These challenges and demands highlight the growing need to make biophysical neuronal models more accessible. Model accessibility can be considered on two complementary levels. First, there is <italic>conceptual</italic> accessibility, which refers to how well we can understand the system being modeled (e.g. <italic>If I change parameter A, will outcome X follow?</italic>). Second, there is <italic>implementational</italic> accessibility, which concerns the model as a computational artifact (e.g. <italic>Can I easily change parameter A and measure X?</italic>). Accessibility at the conceptual level can be improved through interactive hypothesis testing. This approach implies converting complex models into interactive visualizations that provide real-time feedback on how changes in morpho-electric parameters affect neuronal behavior. In particular, such functionality would help clarify how the ion channel kinetics and distribution shape dendritic events and somatic output. To our understanding, this is one of the biggest gaps in current neuronal modeling software. Interactive visualizations would also enhance model validation, shifting the focus from somatic spiking to activity throughout the cell. Finally, this approach would help identify which dendritic properties are essential for neuronal function and which can be discarded, enabling the simplification of single-cell models and their integration into faster, more interpretable networks. Accessibility at the implementational level can be improved by developing high-level, simulator-agnostic model representations that are capable of capturing complex dendritic properties. Such representations should be modular, enabling users to easily switch between stimulation protocols, morphologies, or parameter sets. In addition, accessibility at this level involves adopting best practices for data management and standardization. Together, these approaches result in more reusable, easier-to-understand models that are customizable according to users’ needs.</p><p>In this work, we introduce <italic>DendroTweaks</italic>, a toolbox designed to make detailed biophysical models with active dendrites more accessible at both conceptual and implementational levels. Building on existing methods, we have developed a comprehensive workflow for developing single-cell models, including tuning their morphological and biophysical parameters, running stimulations, and analyzing the results. <italic>DendroTweaks</italic> is implemented as a Python package with an intuitive web-based graphical user interface (GUI). The GUI allows users to visually explore and fine-tune any parameter of the model, providing real-time feedback through interactive plots. The toolbox helps users build high-level, modular model representations that effectively capture the complex properties of active dendrites. Additionally, it includes a rich set of tools for parsing, generating, and standardizing commonly used neuronal data formats, facilitating interoperability with other neuronal modeling software. With <italic>DendroTweaks</italic>, users can better understand and control their models while exploring how dendritic properties shape neuronal activity. By making complex models more interpretable and interactive, <italic>DendroTweaks</italic> will advance research on the role of dendrites in brain function and deepen our understanding of these remarkable structures.</p></sec><sec id="s2" sec-type="results"><title>Results</title><sec id="s2-1"><title>Implementation and user interface</title><p><italic>DendroTweaks</italic> is a Python toolbox designed for developing single-cell detailed biophysical models with active dendrites. It is inspired by the exploratory data analysis approach and allows any user, from naive to expert, to gain an in-depth understanding of the model through interactive visualization. The GUI uses the Model-View-Presenter (MVP) architecture to present a single-cell neuronal model through a web-based interface built with the Bokeh library for data visualization (<xref ref-type="bibr" rid="bib6">Bokeh Development Team, 2025</xref>). The model provides a high-level simulator-agnostic representation of a cell, whereas the numerical simulation is delegated to an external simulator such as NEURON (<xref ref-type="bibr" rid="bib33">Hines and Carnevale, 2001</xref>) or Jaxley (<xref ref-type="bibr" rid="bib13">Deistler et al., 2025</xref>). The toolbox is available as both a standalone Python package and a web-based application. The application GUI can be accessed via the online platform (<ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.dendrites.gr">https://dendrotweaks.dendrites.gr</ext-link>) or a locally hosted Bokeh server. The Python package for direct interaction with the software’s core functionality is distributed via the Python Package Index (PyPI; <ext-link ext-link-type="uri" xlink:href="https://pypi.org/project/dendrotweaks">https://pypi.org/project/dendrotweaks</ext-link>).</p><p>The GUI is organized into three main components (<xref ref-type="fig" rid="fig1">Figure 1</xref>): (1) the left menu for file import and export operations, simulation control, and application settings, (2) the main workspace with interactive plots, and (3) the right menu with widgets and auxiliary plots. The main workspace contains top panels representing the cell and bottom panels representing monitors for the cell’s activity. In the upper left corner, there is a morphology plot, where the uploaded morphology is rendered as a 2D projection of the cell. To the right of it, there is a graph representation of the cell’s computational segments, where different parameters, such as channel density or synapse placement, can be visualized using a color code. The bottom panel can display time-dependent variables such as voltage, current, and input spike times. The right menu features widgets to manipulate cell morphology, spatial distributions, and kinetics of ion channels and synapses, as well as the placement and parameters of virtual recording and stimulating electrodes.</p><fig id="fig1" position="float"><label>Figure 1.</label><caption><title>Graphical user interface (GUI).</title><p>A screenshot of the web-based GUI accessed via the Chrome browser. The interface is organized into three main components: the left menu, the main workspace, and the right menu. It supports both light and dark themes.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-103324-fig1-v2.tif"/></fig><p><italic>DendroTweaks</italic> builds a high-level modular model representation relying on commonly used neuronal data formats. It accepts neuronal morphologies in SWC format and ion channel models as MOD files. Biophysical properties of the cell are stored in JSON format, while stimulation protocols are defined through a combination of JSON and CSV files. Model configurations can be exported to this modular format at any stage and reloaded later for further use. Additionally, models developed with <italic>DendroTweaks</italic> can be automatically converted into plain simulator code, enabling their smooth integration into larger network simulations.</p><p>The following sections will illustrate a potential workflow and provide a detailed description of the GUI elements and their functionality. We will begin by exploring and refining dendritic morphology and choosing the spatial discretization of the model. Next, we will explore the kinetics of ion channels and propose an automatic algorithm for standardizing such models. We will also demonstrate how different distributions of these channels across the dendritic tree can be used to reproduce dendritic phenomena, such as sodium and calcium spikes. Then, we will demonstrate how synapses can be added to our models and explore how the kinetics and placement of synapses can affect input integration within dendrites. Next, we will use an automatic morphology reduction algorithm in order to obtain a simpler model while retaining the activity close to the original one. Finally, we will present a set of experimental protocols that have been integrated into <italic>DendroTweaks</italic> to facilitate model validation.</p></sec><sec id="s2-2"><title>Exploring dendritic morphology</title><p>Developing a detailed biophysical neuronal model typically begins with the experimental reconstruction of a neuron’s morphology. Our toolbox accepts morphology reconstructions in the widely used SWC file format, which represents a cell as a collection of connected 3D points (nodes), where each node is defined by its <monospace>XYZ</monospace> spatial coordinates and a radius. A rich database of these files is readily available at <ext-link ext-link-type="uri" xlink:href="https://neuromorpho.org">https://neuromorpho.org</ext-link> (<xref ref-type="bibr" rid="bib3">Ascoli et al., 2007</xref>). Moreover, online conversion from all reconstruction formats to SWC and standardization of existing SWC files is possible (<xref ref-type="bibr" rid="bib59">Mehta et al., 2023</xref>). <italic>DendroTweaks</italic> employs tree graphs as a universal representation of neuronal morphology across different levels of abstraction: geometry, topology, and spatial discretization (<xref ref-type="fig" rid="fig2">Figure 2A</xref>). At the geometric level, nodes represent individual points in the reconstructed morphology. At the topological level, these nodes are grouped into sections, that is the parts between bifurcation points. Each section is further divided into segments, which are used in numerical simulations. These representations are linked together: each section contains pointers to its constituent points and segments, and vice versa. The toolbox features a custom module for working with such structures, enabling efficient manipulation of morphologies through operations such as insertion, removal, and translation of nodes and subtrees. Another level of abstraction is domains, that is collections of sections. A domain is a region of a neuron distinguished by its anatomical or functional properties. For example, a typical pyramidal cell has several domains: soma, axon, basal dendrites, and an apical dendrite. The apical dendrite can be further subdivided into trunk, oblique, and tuft dendrites.</p><fig id="fig2" position="float"><label>Figure 2.</label><caption><title>Dendritic morphology and segmentation.</title><p>(<bold>A</bold>) A schematic illustration of a neuronal morphology as three interconnected tree graphs. Colors indicate which morphological domains the nodes belong to. (<bold>B</bold>) Example of an L2/3 pyramidal neuron morphology from an SWC file. The selected section is highlighted in magenta. (<bold>C</bold>) Detailed representation of the selected section. Top: Diameter of the selected section as a function of the section’s length, with circles marking segment centers. Middle: Equivalent circuit of the selected section shown as an RC circuit, assuming a passive membrane. Bottom: Bar plot showing values of a user-selected parameter (surface area, μm<sup>2</sup>) for each segment. (<bold>D</bold>) Segmentation network graph representing the same cell as in (B) with <monospace>d_lambda</monospace> parameters of 0.2 (left) and 0.1 (right); nodes represent segments, colored as in (B). (<bold>E</bold>) Visualization of the selected morphological parameter on the segmentation graph using a color code. The lasso mouse tool is shown, which allows the selection of specific segments. Statistical morphometric analysis can be performed for the selected part of the cell. (<bold>F</bold>) Histogram of segment areas for basal (green) and apical (blue) segments.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-103324-fig2-v2.tif"/></fig><p>Upon uploading a neuronal morphology in the GUI, it is rendered as a 2D (<monospace>XY</monospace>) projection of the cell in the main workspace on the top left <monospace>Cell</monospace> panel. This panel includes a slider for rotating the model around the Y-axis. For illustration, we use a realistic morphology of a Layer 2/3 (L2/3) pyramidal neuron of the mouse primary visual cortex (<xref ref-type="bibr" rid="bib66">Park et al., 2019</xref>; <xref ref-type="fig" rid="fig2">Figure 2B</xref>). Users can navigate through the cell by selecting a section to visually inspect its parameters. This can be done by simply clicking on a section on the interactive plot or via a dropdown widget to select a specific section by its name. Navigation buttons are also available to select a parent, sibling, or child section. The parameters of the currently selected section are visualized in the right menu under the <monospace>Morphology/Section</monospace> tab with two plots (<xref ref-type="fig" rid="fig2">Figure 2C</xref>). The upper plot displays the geometry of the section, i.e., the diameter as a function of the section’s length. The lower plot shows a morphological or biophysical parameter selected by the user.</p><p>Computer simulations always involve approximating a continuous system as one that is discrete in space and time, which is also applied in neuronal modeling (<xref ref-type="bibr" rid="bib10">Carnevale and Hines, 2006</xref>). Discretization in time is regulated by the simulation time step, <monospace>dt</monospace>. Spatial discretization is achieved through segmentation. Each segment can be considered as an equivalent RC circuit representing a part of the membrane, with an associated set of differential equations to calculate voltage dynamics at a given point in space and time (<xref ref-type="fig" rid="fig2">Figure 2C</xref>, middle). In our example section, the centers of each segment are shown as three circles (<inline-formula><alternatives><mml:math id="inf1"><mml:mi mathvariant="normal">n</mml:mi><mml:mi mathvariant="normal">s</mml:mi><mml:mi mathvariant="normal">e</mml:mi><mml:mi mathvariant="normal">g</mml:mi><mml:mo>=</mml:mo><mml:mn>3</mml:mn></mml:math><tex-math id="inft1">\begin{document}$\rm nseg=3$\end{document}</tex-math></alternatives></inline-formula>), equally distributed along the section’s length according to the formula <inline-formula><alternatives><mml:math id="inf2"><mml:mo stretchy="false">(</mml:mo><mml:mn>2</mml:mn><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo>×</mml:mo><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi mathvariant="normal">n</mml:mi><mml:mi mathvariant="normal">s</mml:mi><mml:mi mathvariant="normal">e</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:mrow></mml:math><tex-math id="inft2">\begin{document}$(2i-1)/2\times\rm{nseg}$\end{document}</tex-math></alternatives></inline-formula>, where <inline-formula><alternatives><mml:math id="inf3"><mml:mi>i</mml:mi></mml:math><tex-math id="inft3">\begin{document}$i$\end{document}</tex-math></alternatives></inline-formula> is an integer in the range <inline-formula><alternatives><mml:math id="inf4"><mml:mo stretchy="false">[</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi mathvariant="normal">n</mml:mi><mml:mi mathvariant="normal">s</mml:mi><mml:mi mathvariant="normal">e</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:mrow><mml:mo stretchy="false">]</mml:mo></mml:math><tex-math id="inft4">\begin{document}$[1,\rm{nseg}]$\end{document}</tex-math></alternatives></inline-formula>. The bottom panel (<xref ref-type="fig" rid="fig2">Figure 2C</xref>, bottom) features a bar plot showing the value for a chosen parameter (i.e. a NEURON range variable) for each segment. We also introduce a <monospace>Graph</monospace> view with a tree graph representing all the segments of the given cell (<xref ref-type="fig" rid="fig2">Figure 2D</xref>). This view serves three main purposes: (1) to visualize the distribution of different parameters along the dendritic tree using color code, (2) to select specific segments and update their parameters, and (3) to calculate statistics for a selected group of segments. By default, the graph plot uses color code to show the morphological domain to which a segment belongs (same colors as in the <monospace>Cell</monospace> plot). Rendering other parameters on the graph is discussed in the following sections. Since all parameters are ultimately set at the segment level, the segment graph offers the most detailed and accurate representation of the model. The granularity of the graph depends on the number of segments. In addition to defining the number of segments (<inline-formula><alternatives><mml:math id="inf5"><mml:mi mathvariant="normal">n</mml:mi><mml:mi mathvariant="normal">s</mml:mi><mml:mi mathvariant="normal">e</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:math><tex-math id="inft5">\begin{document}$\rm nseg$\end{document}</tex-math></alternatives></inline-formula>) for each individual section, it is possible to select the <monospace>d_lambda</monospace> parameter in the left menu that automatically assigns the number of segments for each section based on the fraction of the electrical length constant computed at the frequency of 100 Hz (<xref ref-type="bibr" rid="bib33">Hines and Carnevale, 2001</xref>). In the present example for the same neuron, we demonstrate a graph obtained with a <monospace>d_lambda</monospace> value of 0.2 (<xref ref-type="fig" rid="fig2">Figure 2D</xref>, left) and with the default value of 0.1 (<xref ref-type="fig" rid="fig2">Figure 2C</xref>, right). Note that segmentation using the <monospace>d_lambda</monospace> parameter also takes into account passive cable properties <monospace>cm</monospace> and <monospace>Ra</monospace>. Finally, it is worth mentioning that the spatial discretization defined here focuses exclusively on electrical properties, whereas chemical processes operate on fundamentally different spatial and temporal scales (<xref ref-type="bibr" rid="bib99">Zador and Koch, 1994</xref>) and may require separate considerations when modeling phenomena like synaptic plasticity.</p><p><italic>DendroTweaks</italic> supports basic morphometric analysis. Statistical analysis applies to an arbitrary subset of segments selected by the user on the interactive plot (<xref ref-type="fig" rid="fig2">Figure 2E</xref>). This analysis includes calculating the number of sections, segments, and bifurcations, along with average diameter, length, and area, total surface area, and total length. The number of root and leaf dendrites is displayed independently of the selection. An auxiliary histogram plot (<xref ref-type="fig" rid="fig2">Figure 2F</xref>) further aids in visualizing the distribution of any calculated parameter.</p></sec><sec id="s2-3"><title>Standardization and tuning of ion channel models</title><p>In this section, we will start exploring the biophysical properties of our model at the individual ion channel level. Ion channels are crucial in shaping dendritic and somatic voltage dynamics, which are essential for neuronal communication and information processing. Since Hodgkin and Huxley’s seminal work (<xref ref-type="bibr" rid="bib35">Hodgkin and Huxley, 1952</xref>), mathematical models have been vital in understanding channel kinetics (<xref ref-type="bibr" rid="bib67">Petousakis et al., 2023a</xref>). The most widely used ion channel models today are written in the NMODL domain-specific language developed for the NEURON simulator (<xref ref-type="bibr" rid="bib32">Hines and Carnevale, 2000</xref>). <italic>DendroTweaks</italic> features a comprehensive NMODL-to-Python converter with a custom parser written in PyParsing (<ext-link ext-link-type="uri" xlink:href="https://pyparsing-docs.readthedocs.io">https://pyparsing-docs.readthedocs.io</ext-link>) and automatic Python code generation using Jinja templates (<xref ref-type="fig" rid="fig3">Figure 3A</xref>). Upon importing a MOD file using the GUI, the kinetics of the corresponding channel can be visualized in the <monospace>Biophys/Parameters</monospace> tab of the right menu (<xref ref-type="fig" rid="fig3">Figure 3B</xref>). The top plot shows the voltage-dependent steady-state values of the channel’s gating variables, while the bottom plot shows the corresponding voltage-dependent time constants. When a channel is selected, interactive widgets for each parameter of the channel model appear in the right menu, allowing for the dynamic update of the plots.</p><fig id="fig3" position="float"><label>Figure 3.</label><caption><title>Standardization of ion channel models.</title><p>(<bold>A</bold>) Schematic of parsing and standardizing ion channel models from MOD files. The converter automatically extracts the information from a MOD file via parsing and generates a Python file containing an <monospace>IonChannel</monospace> class. An instance of this class can be used to visualize channel kinetics. Standardization algorithm produces a <monospace>StandardIonChannel</monospace> class instance. The standardized channel model can then be exported to a new MOD file. (<bold>B</bold>) Kinetics of a voltage-gated sodium channel. Activation (purple) and inactivation (teal) curves for the steady-state value (top) and the time constant (bottom). The solid lines represent the original model, while the dashed lines depict the model with standardized equations fitted to the original curves. (<bold>C</bold>) Corresponding somatic voltage traces from the original model (solid) and one with both sodium and potassium channels standardized (dashed). Inset - the segment graph of the model. (<bold>D</bold>) Voltage traces for the same model (with standardized channels) constructed in DendroTweaks and simulated either in NEURON (solid) or in Jaxley (dashed).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-103324-fig3-v2.tif"/></fig><p>Manual interaction with model parameters via the GUI is informative and provides good intuition about how each parameter affects voltage dynamics. However, it does not overcome the limitations of existing models. While valid and proven useful for exploring neuronal biophysics, many existing channel models exhibit inconsistencies and deviations from theoretical formulations, limiting their interpretability and reusability. Common issues include ambiguous variable names, inconsistent equations, hardcoded parameters, lack of units, incompatibility with the latest NEURON versions (such as problems with <monospace>VERBATIM</monospace> statements and <monospace>dt</monospace>), and potential overfitting to experimental data. These issues result in a steep learning curve for inexperienced modelers and significant hurdles for experienced ones, often resulting in a lack of proper exploratory analysis, laborious manual tuning of models, and simulation errors.</p><p>Several efforts have been made to ensure more efficient and consistent channel models. In 2010, <xref ref-type="bibr" rid="bib21">Gleeson et al., 2010</xref> proposed standardizing models through NeuroML, an XML-based neuronal model description language, and manually converted models of voltage- and ligand-gated conductances using the ChannelML module. In 2017, <xref ref-type="bibr" rid="bib69">Podlaski et al., 2017</xref> created a framework for the automated large-scale classification of ion channels, leading to the ICGenealogy web database (<ext-link ext-link-type="uri" xlink:href="https://icg.neurotheory.ox.ac.uk">https://icg.neurotheory.ox.ac.uk</ext-link>), which categorizes new and existing models and experimental recordings. In 2020, <xref ref-type="bibr" rid="bib42">Kumbhar et al., 2020</xref> introduced a framework that parses existing MOD files to generate optimized code, significantly improving simulation speeds. Recently, a comprehensive database of the voltage-gated potassium channel (Kv) family has been made available through Channelpedia (<ext-link ext-link-type="uri" xlink:href="https://channelpedia.epfl.ch">https://channelpedia.epfl.ch</ext-link>) and extended to include other channel types in the Channelome project (<xref ref-type="bibr" rid="bib74">Ranjan et al., 2011</xref>; <xref ref-type="bibr" rid="bib75">Ranjan et al., 2024</xref>). However, none of these approaches offered an automatic, visual-guided standardization of existing MOD files through the standardization of model equations. Here, we utilize a standardization approach for MOD files using a set of equations grounded in transition state theory (see Materials and methods for details).</p><p>To demonstrate the standardization procedure, we parsed and inserted voltage-gated sodium and potassium channels and a leak channel into the cell’s membrane. We then ran a simulation for 300 ms with a step current injection (amplitude 0.15 nA, delay 100 ms, duration 100 ms, temperature 37 °C). Note that the parameters of the step-and-hold stimulation protocol (i.e. amplitude, delay, duration) can be adjusted using widgets in the <monospace>Recordings</monospace><monospace> and </monospace><monospace>Stimuli/IClamps</monospace> tab. For standardization, we selected the sodium channel, which has activation (<inline-formula><alternatives><mml:math id="inf6"><mml:mi>m</mml:mi></mml:math><tex-math id="inft6">\begin{document}$m$\end{document}</tex-math></alternatives></inline-formula>) and inactivation (<inline-formula><alternatives><mml:math id="inf7"><mml:mi>h</mml:mi></mml:math><tex-math id="inft7">\begin{document}$h$\end{document}</tex-math></alternatives></inline-formula>) state variables (<xref ref-type="fig" rid="fig3">Figure 3B</xref>), as well as the potassium channel, which has an activation (<inline-formula><alternatives><mml:math id="inf8"><mml:mi>n</mml:mi></mml:math><tex-math id="inft8">\begin{document}$n$\end{document}</tex-math></alternatives></inline-formula>) state variable (not shown). The standardization algorithm produces plots of the original (solid) and fitted (dashed) curves for steady-state values and time constants of the state variables. Each state variable in the standardized model has five parameters: <monospace>v_half</monospace>, <monospace>sigma</monospace>, <monospace>k</monospace>, <monospace>delta</monospace>, and <monospace>tau_0</monospace> (see Materials and methods for details). Besides the activation curves, users can compare cell activity before and after standardization (<xref ref-type="fig" rid="fig3">Figure 3C</xref>). To achieve this, there is an option to ‘freeze’ the original current and voltage traces for comparison before running the standardization algorithm.</p><p>Although NEURON is the default simulator used in <italic>DendroTweaks</italic> and it was employed throughout this study, the toolbox is designed to be adaptable to other simulators. As a demonstration, we applied the same modeling interface to the recently introduced Jaxley simulator (<xref ref-type="bibr" rid="bib13">Deistler et al., 2025</xref>). A key advantage of this process was that <italic>DendroTweaks</italic>’s NMODL-to-Python converter significantly reduced the need to manually re-implement existing ion channel models for Jaxley. By modifying the Jinja template, we were able to generate Jaxley-compatible classes that supported full numerical simulations, in addition to visualization of the channel’s kinetic properties. <italic>DendroTweaks</italic> is capable of running simulations of multicompartmental models with multiple ion channels in Jaxley. To validate this, we ran simulations of the same simplified multicompartmental model, with sodium, potassium, and leak channels, in both NEURON and Jaxley (see <xref ref-type="fig" rid="fig3">Figure 3D</xref>). These results highlight that <italic>DendroTweaks</italic> offers a unified modeling interface that can be integrated with simulators beyond NEURON in order to benefit from the additional functionality they provide.</p></sec><sec id="s2-4"><title>Distributing ion channels</title><p>Having explored and refined the neuronal morphology and individual ion channels, a user can proceed to set up the biophysical properties of their neuronal model, including the densities and distributions of the various ion channel conductances. Dendrites of most neuron types are known to express some types of active ion channels (<xref ref-type="bibr" rid="bib37">Johnston and Narayanan, 2008</xref>), including major ion channel families such as Nav, Cav, Kv, KCa, and HCN (<xref ref-type="bibr" rid="bib97">Yu et al., 2005</xref>). The distribution of each channel type is cell type-specific and is often non-uniform. For example, CaV1.x channels, also known as high-voltage-activated L-type channels, are densely populated in proximal dendrites (<xref ref-type="bibr" rid="bib76">Reuveni et al., 1993</xref>; <xref ref-type="bibr" rid="bib95">Westenbroek et al., 1990</xref>). In contrast, CaV3.x channels, or low-voltage activated T-type channels, increase in density with distance from the soma (<xref ref-type="bibr" rid="bib49">Magee and Johnston, 1995</xref>; <xref ref-type="bibr" rid="bib48">Magee et al., 1995</xref>), forming ‘hot-spots’ for dendritic Ca<sup>2+</sup> spikes in the apical dendrite (<xref ref-type="bibr" rid="bib76">Reuveni et al., 1993</xref>; <xref ref-type="bibr" rid="bib98">Yuste et al., 1994</xref>). Another compelling example is the hyperpolarization-activated mixed cation current (Ih), mediated by HCN channels, which are higher in density in distal apical dendrites of CA1 (<xref ref-type="bibr" rid="bib50">Magee, 1998</xref>; <xref ref-type="bibr" rid="bib46">Lörincz et al., 2002</xref>) and cortical Layer 5 (L5) (<xref ref-type="bibr" rid="bib40">Kole et al., 2006</xref>) pyramidal neurons. Even passive conductances in dendrites can show non-uniform distribution (<xref ref-type="bibr" rid="bib87">Stuart and Spruston, 1998</xref>). Additionally, certain kinetic properties of channels, such as half-maximal voltage, can also vary with distance from the soma (<xref ref-type="bibr" rid="bib36">Hoffman et al., 1997</xref>; <xref ref-type="bibr" rid="bib60">Migliore et al., 1999</xref>; <xref ref-type="bibr" rid="bib72">Poolos et al., 2002</xref>). While the distribution of dendritic ion channels has been the subject of significant research, there is still much to learn about their role in neuronal integrative function (<xref ref-type="bibr" rid="bib61">Migliore and Shepherd, 2002</xref>; <xref ref-type="bibr" rid="bib37">Johnston and Narayanan, 2008</xref>; <xref ref-type="bibr" rid="bib63">Nusser, 2009</xref>; <xref ref-type="bibr" rid="bib81">Shah et al., 2010</xref>). Towards this goal, it is crucial to develop convenient tools for organizing ion channel distribution when designing software for studying neurons.</p><p>To make the process of exploring and adjusting the distributions of membrane mechanisms more user-friendly and intuitive, we utilize the graph view introduced earlier. Every membrane mechanism (distributed mechanism in NEURON) can be visualized on the graph, such that its value for a given segment is color-coded. To distribute parameters across the cell, users need to specify <italic>where</italic> and <italic>how</italic> a given parameter will be distributed. To select the segments <italic>where</italic> a given distribution will be applied, one needs to use segment groups. A segment group is a collection of segments that meet certain criteria (<xref ref-type="fig" rid="fig4">Figure 4A</xref>). To create a new <monospace>SegmentGroup</monospace>, one must specify both a criterion and the domains where to search for matching segments. The criterion can be one of the following types: diameter, absolute distance (to the root of the tree), or relative distance within a domain. To define <italic>how</italic> the parameter will be distributed, one must use distribution functions. A distribution function takes a segment’s distance from the soma as input and returns the parameter value at that distance (<xref ref-type="fig" rid="fig4">Figure 4B</xref>). There are several built-in types of distributions (i.e. constant, linear, exponential, sigmoidal, etc.) which, when combined, can cover most of the existing models. Parameters of a given distribution are controlled by the widgets on the <monospace>Biophys/Parameters</monospace> tab. Note that, unlike domains, segment groups can overlap, allowing segments to belong to multiple groups simultaneously and therefore can be thought of as layers. In other words, the order of groups is important: the parameters will be assigned only from the top-most group that the segment belongs to. Moreover, a segment group can encompass multiple domains or divide sections, such that different segments within the same section may belong to different groups (<xref ref-type="fig" rid="fig4">Figure 4C</xref>).</p><fig id="fig4" position="float"><label>Figure 4.</label><caption><title>Distributions of ion channels.</title><p>(<bold>A</bold>) Schematic showing a segment group in a ball-and-stick model, satisfying specific distance criteria. (<bold>B</bold>) Schematic showing distribution as a function of distance from the soma; values are assigned only to segments matching the group’s criteria. (<bold>C</bold>) Schematic showing the difference between domains and segment groups. A group can span multiple domains (left), match a single domain (middle), or partially include individual sections (right). (<bold>D</bold>) Example of a constant distribution for sodium channels, where maximal conductance in the selected region (dark blue) was decreased by 60%. Schematic electrodes indicate recording positions (inset: original morphology <xref ref-type="bibr" rid="bib66">Park et al., 2019</xref>). (<bold>E</bold>) Example of an exponential distribution for the HCN channels (inset: original morphology <xref ref-type="bibr" rid="bib70">Poirazi et al., 2003</xref>). (<bold>F</bold>) Example of a calcium &quot;hot spot&quot; (red) (inset: original morphology <xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref>). (<bold>G</bold>) Sodium-driven backpropagation-activated action potentials (BAPs) evoked by a 0.162 nA somatic current injection. (<bold>H</bold>) Distribution of maximal HCN channel conductance as a function of distance from the soma (see functional effect in K). (<bold>I</bold>) Distribution of maximal calcium channel conductance as a function of distance from the soma (see functional effect in L). (<bold>J</bold>) Expanded time scale for the two scenarios in (D), showing failure of BAP initiation (blue arrow) in the region with reduced sodium conductance. (<bold>K</bold>) Voltage sag produced by HCN channels. A current step (–0.2 nA, 200 ms) is injected proximally (light cyan) and, after 300 ms, distally (dark cyan) in the apical trunk. Dashed traces: blocking HCN channels, modeled as 80% reduction in channel conductance. (<bold>L</bold>) Dendritic calcium plateau potential triggered by synaptic input at the calcium ‘hot-spot’ coincident with somatic current injection, leading to somatic bursting. Somatic traces are shown in orange, dendritic—in blue, cyan, and gray.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-103324-fig4-v2.tif"/></fig><p>The biophysical configuration can be exported in a JSON format that follows the structure described above. To keep the representation both compact and capable of representing complex spatial distributions, model parameters are stored using a unified, domain-based approach, where each distribution can be described with only a few coefficients (see Materials and methods for details). As a result, the same biophysical configuration can be easily applied across multiple morphologies that have the same domains.</p><p>To illustrate the effectiveness of this interface in distributing dendritic mechanisms and investigating their impact on neuronal activity, we replicated several established models. First, we reproduced the L2/3 pyramidal neuronal model from <xref ref-type="bibr" rid="bib66">Park et al., 2019</xref>; <xref ref-type="fig" rid="fig4">Figure 4D</xref>, to show dendritic sodium-driven backpropagation-activated action potentials (BAPs, <xref ref-type="fig" rid="fig4">Figure 4G and J</xref>, left). Using this model, we were able to demonstrate that the distribution of sodium channels affects dendritic BAPs, as removing sodium channels from a specific branch prevented spike generation in that branch (<xref ref-type="fig" rid="fig4">Figure 4J</xref>, right). Next, we replicated the CA1 pyramidal neuronal model from <xref ref-type="bibr" rid="bib70">Poirazi et al., 2003</xref> to demonstrate the effect of the experimentally observed exponential distribution of HCN channels (<xref ref-type="fig" rid="fig4">Figure 4E and H</xref>). As observed in the original study, we noted a significant depolarizing voltage sag, which was eliminated by blocking HCN channels (<xref ref-type="fig" rid="fig4">Figure 4K</xref>). Finally, we replicated the model of an L5 pyramidal neuron from <xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref> to demonstrate dendritic Ca<sup>2+</sup> spikes. We were able to evoke a dendritic Ca<sup>2+</sup> plateau potential by providing coincident inputs at the soma and the Ca<sup>2+</sup> ‘hot-spot’ of the apical dendrite (<xref ref-type="fig" rid="fig4">Figure 4F and I</xref>). This plateau potential then propagated to the soma, resulting in somatic burst firing (<xref ref-type="fig" rid="fig4">Figure 4L</xref>). Overall, by replicating these models and respective simulations, we demonstrate how <italic>DendroTweaks</italic> can aid in investigating the role of ion channels in generating dendritic events through interactive parameter adjustment and visualization.</p></sec><sec id="s2-5"><title>Distributing synapses</title><p>All previous examples used simple stimuli such as somatic and dendritic step current injections to demonstrate the functionalities of <italic>DendroTweaks</italic>. In this section, we describe how more realistic synaptic stimulation protocols can be implemented. Synaptic placement and timing play an important role in the integration of synaptic inputs. For example, neocortical pyramidal neurons respond supralinearly to spatially clustered inputs and sublinearly to randomly distributed ones (<xref ref-type="bibr" rid="bib71">Polsky et al., 2004</xref>; <xref ref-type="bibr" rid="bib47">Losonczy and Magee, 2006</xref>; <xref ref-type="bibr" rid="bib89">Takahashi et al., 2012</xref>; <xref ref-type="bibr" rid="bib70">Poirazi et al., 2003</xref>; <xref ref-type="bibr" rid="bib90">Tran-Van-Minh et al., 2015</xref>). Another layer of complexity to synaptic integration is added by the interplay between excitatory and inhibitory inputs (<xref ref-type="bibr" rid="bib15">Doron et al., 2017</xref>; <xref ref-type="bibr" rid="bib16">Du et al., 2017</xref>). Interestingly, connections from different types of inhibitory interneurons target different dendritic domains of pyramidal neurons (<xref ref-type="bibr" rid="bib56">Markram et al., 2004</xref>; <xref ref-type="bibr" rid="bib92">van Versendaal and Levelt, 2016</xref>), allowing for the selective regulation of information streams within a neuron. In light of the above, the ability to reproduce various synaptic input patterns is crucial for understanding dendritic integration.</p><p>As we do for ion channels, we use the graph view to visualize and allocate groups of synaptic inputs. While the pre-synaptic inputs are not modeled explicitly, we can create populations of ‘virtual’ neurons projecting to our model. To create a <monospace>Population</monospace> in the GUI, users must select segments (<xref ref-type="fig" rid="fig5">Figure 5A</xref>) and define population parameters using the dedicated widgets in the right menu. The creation of a population requires users to select a synapse type and specify the number of synapses to be uniformly distributed randomly within the selected segments. <italic>DendroTweaks</italic> offers three built-in synapse types: AMPA, NMDA, and GABA<sub>A</sub>, with an additional option for a combined AMPA-NMDA synapse. Users can create as many populations as necessary. Each population can have unique kinetic parameters for the synapses (maximal conductance, <monospace>g_max</monospace>, equilibrium potential, <monospace>e</monospace>, time constants <monospace>tau_rise</monospace>, <monospace>tau_decay</monospace>) as well as parameters for incoming inputs (input rate, randomness/noise, onset, duration).</p><fig id="fig5" position="float"><label>Figure 5.</label><caption><title>Kinetics and distribution of synapses.</title><p>(<bold>A</bold>) Schematic representation of distributing synaptic inputs. Three central segments of a distal apical branch are selected using the lasso tool, and synapses are added (p—proximal, d—distal). (<bold>B</bold>) Example responses evoked by activating 20 excitatory synapses placed within one branch as in (A). The regularity of inputs varies from synchronous activation to a random Poisson spike train. Note that the raster plot for input times is accessible in one of the workspace tabs. The examples demonstrate dendritic voltage responses in the presence or absence of NMDA conductances. (<bold>C</bold>) Experiment similar to <xref ref-type="bibr" rid="bib15">Doron et al., 2017</xref>, demonstrating the effect of inhibiting NMDA spikes. Top: One inhibitory GABA<sub>A</sub> synapse is placed in the middle of the section, and its activation time varies as 0, 10, and 20 ms after excitatory synapse activation. Bottom: The synapse location varies from the most proximal to the most distal segment of the section, with the activation time kept at 20 ms. The same stimulation protocol as in (B) with synchronous activation is used for the excitatory inputs. Scale is the same as in (B). (<bold>D</bold>) Distributed placement of 40 excitatory AMPA-NMDA synapses across the dendritic tree, similar to <xref ref-type="bibr" rid="bib70">Poirazi et al., 2003</xref> (inset: original morphology). (<bold>E</bold>) Somatic and dendritic voltage responses to distributed synaptic inputs (D) (25 Hz, Poisson-distributed), which nearly fail to evoke somatic action potentials. Compare with (G) for clustered inputs. (<bold>F</bold>) Clustered placement of the same 40 excitatory synapses from (D) within five randomly selected branches. (<bold>G</bold>) Somatic and dendritic voltage responses to clustered synaptic inputs (<bold>F</bold>), demonstrating robust somatic firing activity. Somatic traces are shown in orange, dendritic - in blue and cyan.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-103324-fig5-v2.tif"/></fig><p>To demonstrate the power of <italic>DendroTweaks</italic> for exploring dendritic integration of synaptic inputs, we conducted in silico experiments involving different placements and activation times of synaptic inputs. First, we examined the effect of input synchronicity and NMDA synapses on generating NMDA spikes. Using the graph view, we distributed 20 excitatory AMPA-NMDA synapses within a single section of the <xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref> passive model (<xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref>; <xref ref-type="fig" rid="fig5">Figure 5A</xref>). We observed that simultaneous activation of synapses or activation with a Poisson spike train produced distinct dendritic voltage responses. Additionally, by blocking NMDA conductances, we were able to eliminate NMDA spikes (<xref ref-type="fig" rid="fig5">Figure 5B</xref>). Second, we replicated the effect of inhibition on dendritic NMDA spike generation, as shown in <xref ref-type="bibr" rid="bib15">Doron et al., 2017</xref>. We added one inhibitory GABA<sub>A</sub> synapse in the same section and varied its activation time or location (<xref ref-type="fig" rid="fig5">Figure 5C</xref>). Consistent with the original study, NMDA spikes could not be recovered if inhibition occurred 20 ms after excitation. Moreover, proximal inhibition had little effect on NMDA spikes, whereas distal inhibition significantly reduced them. Finally, we conducted an experiment similar to that described in <xref ref-type="bibr" rid="bib70">Poirazi et al., 2003</xref>, using the CA1 pyramidal neuronal model with active dendritic mechanisms. Using the graph view, we distributed 40 excitatory AMPA-NMDA synapses in two scenarios: either spread across multiple terminal branches of the apical dendrite (<xref ref-type="fig" rid="fig5">Figure 5D</xref>) or clustered within five randomly selected branches of the apical dendrite (<xref ref-type="fig" rid="fig5">Figure 5F</xref>). As in the original study, we found that distributed synapses failed to evoke high-frequency somatic activity (<xref ref-type="fig" rid="fig5">Figure 5E</xref>), whereas clustering synapses made high-frequency somatic activity possible (<xref ref-type="fig" rid="fig5">Figure 5G</xref>). These experiments illustrate how <italic>DendroTweaks</italic> can facilitate the investigation of synaptic input integration and its effects at the dendritic and somatic levels.</p></sec><sec id="s2-6"><title>Reducing morphology</title><p>The explorations described in the previous sections aimed to enhance the user’s understanding of which dendritic properties are essential for specific neuronal input-output transformations. With this knowledge, one can then proceed to simplify models using a built-in morphology reduction algorithm and export them for further use in faster and more interpretable neuronal networks.</p><p>Here, we follow the analytical impedance-based approach proposed by <xref ref-type="bibr" rid="bib2">Amsalem et al., 2020</xref> (<monospace>neuron_reduce</monospace>). This method maps a detailed dendritic tree to an equivalent cylinder with the same passive properties (i.e. specific membrane resistivity, capacitance, and axial resistivity). The transfer impedance from the distal, sealed end to the soma in the simplified model matches the transfer impedance from the most distal dendritic tip to the soma in the detailed model. Additionally, the input impedance at the proximal end matches that of the respective detailed dendrite when decoupled from the soma. In the original implementation, the entire subtree of each stem dendrite (e.g. the entire apical subtree) is mapped to a single corresponding cylinder. This, however, can impose some limitations on accurately capturing the complex branching patterns and electrotonic properties of the dendritic tree, potentially affecting the precision of simulations of synaptic integration and signal propagation.</p><p>In <italic>DendroTweaks</italic>, we extended the functionality of <monospace>neuron_reduce</monospace> to allow for a continuum of morphology reduction levels, bridging detailed and ‘ball-and-stick’-like models. Users can select any section of the cell and reduce its subtree, which allows for any intermediate level of detail to be achieved. As an example, we start with the <xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref> model used in the original study (<xref ref-type="fig" rid="fig6">Figure 6A</xref>). We reduce its morphology using the original algorithm to the ‘ball-and-stick’ level (<xref ref-type="fig" rid="fig6">Figure 6C</xref>) and to an intermediate level where some apical oblique and tuft dendrites are preserved (<xref ref-type="fig" rid="fig6">Figure 6B</xref>). Notably, the response of the partially reduced model (<xref ref-type="fig" rid="fig6">Figure 6E</xref>) is closer to the original model’s response (<xref ref-type="fig" rid="fig6">Figure 6D</xref>) in terms of the number of spikes compared to the response of the fully reduced model (<xref ref-type="fig" rid="fig6">Figure 6F</xref>). The reduction algorithm operates on passive morphologies and assigns active channel distributions <italic>post hoc</italic> by averaging the values of all original segments that map to a given segment of the reduced model. To enable the export of reduced models in <italic>DendroTweaks</italic>’s modular format, as well as in plain simulator code, we employed fitting the parameters of a distribution function to the resulting distribution of values. This approach provided a compact representation, requiring only a few parameters to be stored in order to reproduce a distribution. To demonstrate how these exported models can be integrated into larger simulations, we implemented a ‘toy’ network model outside the toolbox using the reduced neurons (available in the examples directory of the package).</p><fig id="fig6" position="float"><label>Figure 6.</label><caption><title>Morphology reduction.</title><p>(<bold>A</bold>) Original morphology of L5 pyramidal neuron (<xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref>) and its segmentation graph showing the distribution of calcium channels. The red arrows indicate the &quot;hot spots&quot; with increased channel density. (<bold>B</bold>) Partially reduced morphology using the extended version of <monospace>neuron_reduce</monospace>. The extended version allows for the reduction of any selected branch, enabling the retention of more apical branches, in contrast to (C). (<bold>C</bold>) Fully reduced morphology. All stem dendrites (children of the soma) are reduced to a single equivalent cylinder. (<bold>D–F</bold>) Voltage response of the three models to somatic current injection of 0.5 nA. Note the difference in the number of dendritic ‘hot-spots’ and somatic APs between the three variations of the model. The partially reduced model more accurately reproduces the channel distribution and voltage response of the original model compared to the fully reduced one.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-103324-fig6-v2.tif"/></fig><p>By integrating an enhanced version of <monospace>neuron_reduce</monospace> into <italic>DendroTweaks</italic>, we ensure easier post-reduction fine-tuning of model parameters. The graph view allows users to visualize the resulting distributions of channels and synapses after they have been mapped onto the reduced morphology. The simplified model can be re-validated to ensure it faithfully reproduces experimental observations. In the next section, we will discuss several built-in validation protocols that can be used for both original and simplified models.</p></sec><sec id="s2-7"><title>Validating biophysical properties</title><p>Thus far, we have presented a comprehensive set of tools available in <italic>DendroTweaks</italic> for developing and exploring the parameters of multicompartmental single-cell biophysical models. In addition to these functionalities, <italic>DendroTweaks</italic> also offers some built-in validation protocols that allow users to ensure the resulting models align with experimental observations. This approach is semi-automated, requiring users to manually implement a stimulation protocol by setting the stimulation parameters. For example, to validate somatic action potentials, a user must apply a positive step current injection at the soma to produce somatic firing. On the <monospace>Recordings and Stimuli/Analysis</monospace> tab of the right menu, selecting the <monospace>Somatic spikes</monospace> command will automatically detect action potentials and measure their properties, such as firing rate, amplitude, and half-width. While this process is not fully automated, it allows for the use of custom stimulation protocols instead of relying on predefined stimuli parameters, thereby offering more flexibility.</p><fig id="fig7" position="float"><label>Figure 7.</label><caption><title>Validation protocols.</title><p>Built-in validation protocols applied to the <xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref> model (<xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref>; see also <xref ref-type="table" rid="table1">Table 1</xref>). (<bold>A</bold>) Membrane time constant (34 ms) measured by applying a step current injection (–0.05 nA) at the soma, while blocking the HCN channels. (<bold>B</bold>) Voltage attenuation for somatic (–0.5 nA, left) and dendritic (–0.05 nA, right) step current injection at all bifurcation points along the path from a selected tip segment. (<bold>C</bold>) Detected somatic action potentials from stimulation with a positive step current (0.793 nA). (<bold>D</bold>) Single action potential indicated with an arrow in (C), with measured peak, amplitude, and half-width values. (<bold>E</bold>) Somatic frequency-current curve constructed by applying current steps of increasing amplitude (0.1 nA step) at the soma. (<bold>F</bold>) Nonlinear integration of synaptic inputs in a tuft dendrite. Left: Expected vs. actual EPSP amplitude for 1–60 synchronously activated AMPA-NMDA synapses. Right: Actual EPSP waveforms. (<bold>G</bold>) Voltage sag ratio at the soma measured by applying a negative step current injection (–0.05 nA). Note that, unlike in (A), the hyperpolarization-activated current through the HCN channels is present here.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-103324-fig7-v2.tif"/></fig><p>We demonstrate validation of passive and active properties using built-in protocols applied to the <xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref> model (<xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref>). First, we measured the input resistance (74 MΩ) and the membrane time constant (34 ms; <xref ref-type="fig" rid="fig7">Figure 7A</xref>) by applying a step current injection (–0.05 nA) at the soma while temporally blocking the HCN channels (<inline-formula><alternatives><mml:math id="inf9"><mml:msub><mml:mrow class="MJX-TeXAtom-ORD"><mml:mover><mml:mi>g</mml:mi><mml:mo stretchy="false">¯</mml:mo></mml:mover></mml:mrow><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math><tex-math id="inft9">\begin{document}$\bar{g}_{h}=0$\end{document}</tex-math></alternatives></inline-formula>; <xref ref-type="bibr" rid="bib87">Stuart and Spruston, 1998</xref>; <xref ref-type="bibr" rid="bib23">Golding et al., 2005</xref>). We then restored the HCN channel conductance to its original values and measured voltage attenuation for either somatic (–0.5 nA, <xref ref-type="fig" rid="fig7">Figure 7B</xref>) or dendritic (–0.05 nA, <xref ref-type="fig" rid="fig7">Figure 7C</xref>) step current injection. Next, we stimulated the soma with a positive step current (0.793 nA) and detected somatic action potentials (<xref ref-type="fig" rid="fig7">Figure 7D</xref>). From the same trace, we measured the peaks, amplitudes, and half-widths of individual action potentials (<xref ref-type="fig" rid="fig7">Figure 7E</xref>). We then constructed a somatic f-I curve (<xref ref-type="fig" rid="fig7">Figure 7F</xref>) by applying current steps of increasing amplitude (0.1 nA step). After validating the somatic activity, we evaluated dendritic integration nonlinearity (<xref ref-type="fig" rid="fig7">Figure 7G</xref>, left) by comparing measured individual waveforms (<xref ref-type="fig" rid="fig7">Figure 7G</xref>, right) to the expected linear summation of postsynaptic potentials (PSPs). Note that protocols for both the somatic f-I curve and dendritic integration curve require multiple simulation runs with varying stimulus intensity, which are done automatically after the user specifies the initial stimulation parameters. Finally, since the model has HCN channels, we measured the voltage sag ratio (0.14) and the steady-state input resistance (40 MΩ) by applying a negative step current injection (–0.05 nA) at the soma (<xref ref-type="fig" rid="fig7">Figure 7H</xref>). A 300 ms period before the simulations (not shown) was used to stabilize the resting membrane potential. For a detailed description of the protocols, see <xref ref-type="table" rid="table1">Table 1</xref> in Materials and methods.</p><table-wrap id="table1" position="float"><label>Table 1.</label><caption><title>Validation protocols.</title></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom">Validation protocol</th><th align="left" valign="bottom">Readout</th><th align="left" valign="bottom">Minimal set of membrane parameters</th><th align="left" valign="bottom">Recordings</th><th align="left" valign="bottom">Stimuli</th></tr></thead><tbody><tr><td align="left" valign="bottom">Input resistance</td><td align="char" char="." valign="bottom"><inline-formula><alternatives><mml:math id="inf10"><mml:msub><mml:mi>R</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>in</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft10">\begin{document}$R_{\text{in}}$\end{document}</tex-math></alternatives></inline-formula>, MΩ</td><td align="left" valign="bottom">cm, Ra and Leak</td><td align="left" valign="bottom">Any single segment</td><td align="left" valign="bottom">Negative step current injection</td></tr><tr><td align="left" valign="bottom">Membrane time constant</td><td align="char" char="." valign="bottom"><inline-formula><alternatives><mml:math id="inf11"><mml:mi>τ</mml:mi></mml:math><tex-math id="inft11">\begin{document}$\tau$\end{document}</tex-math></alternatives></inline-formula>, ms</td><td align="left" valign="bottom">cm, Ra and Leak</td><td align="left" valign="bottom">Any single segment</td><td align="left" valign="bottom">Negative step current injection</td></tr><tr><td align="left" valign="bottom">Rheobase current</td><td align="char" char="." valign="bottom"><inline-formula><alternatives><mml:math id="inf12"><mml:msub><mml:mi>I</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>rh</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft12">\begin{document}$I_{\text{rh}}$\end{document}</tex-math></alternatives></inline-formula>, nA</td><td align="left" valign="bottom">At least Na and Kdr</td><td align="left" valign="bottom">Soma</td><td align="left" valign="bottom">Positive step current injection</td></tr><tr><td align="left" valign="bottom">Somatic spikes</td><td align="left" valign="bottom">AP times, amplitude, half-width, rate, ISI</td><td align="left" valign="bottom">At least Na and Kdr</td><td align="left" valign="bottom">Soma</td><td align="left" valign="bottom">Positive step current injection above the rheobase value</td></tr><tr><td align="left" valign="bottom">Somatic f/I curve</td><td align="left" valign="bottom"><inline-formula><alternatives><mml:math id="inf13"><mml:mtext>Rate</mml:mtext><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>ext</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:mi>H</mml:mi><mml:mi>z</mml:mi></mml:math><tex-math id="inft13">\begin{document}$\text{Rate}(I_{\text{ext}}),Hz$\end{document}</tex-math></alternatives></inline-formula></td><td align="left" valign="bottom">At least Na and Kdr</td><td align="left" valign="bottom">Soma</td><td align="left" valign="bottom">Positive step current injection (amplitude automatically increased)</td></tr><tr><td align="left" valign="bottom">Dendritic nonlinearity</td><td align="left" valign="bottom">EPSP, mV</td><td align="left" valign="bottom">Dendritic ion channels</td><td align="left" valign="bottom">Dendritic segment</td><td align="left" valign="bottom">Excitatory synapse (weight automatically increased)</td></tr><tr><td align="left" valign="bottom">Voltage attenuation</td><td align="char" char="." valign="bottom"><inline-formula><alternatives><mml:math id="inf14"><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft14">\begin{document}$\Delta V_{0}/\Delta V_{i}$\end{document}</tex-math></alternatives></inline-formula>, unitless</td><td align="left" valign="bottom">cm, Ra and Leak</td><td align="left" valign="bottom">At least two segments</td><td align="left" valign="bottom">Negative step current injection</td></tr><tr><td align="left" valign="bottom">Sag ratio<break/></td><td align="left" valign="top"><inline-formula><alternatives><mml:math id="inf15"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mstyle><mml:mfrac><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mtext>offset</mml:mtext></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mtext>min</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mtext>onset</mml:mtext></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mtext>min</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft15">\begin{document}$\dfrac{V_{\text{offset}}-V_{\text{min}}}{V_{\text{onset}}-V_{\text{min}}}$\end{document}</tex-math></alternatives></inline-formula></td><td align="left" valign="bottom">HCN channels (h current)</td><td align="left" valign="bottom">Any single segment</td><td align="left" valign="bottom">Negative step current injection</td></tr></tbody></table></table-wrap></sec></sec><sec id="s3" sec-type="discussion"><title>Discussion</title><sec id="s3-1"><title>Conceptual and implementational accessibility</title><p>We developed <italic>DendroTweaks</italic> to make detailed biophysical models with active dendrites more accessible at the conceptual and implementational levels. At the conceptual level, our main motivation was to illuminate how morpho-electric properties of dendrites shape neuronal activity and computations. We deliberately focused on single-cell models to provide comprehensive functionality for tuning subcellular properties, including dendritic morphology, ion channel kinetics and distributions, as well as synaptic inputs. With <italic>DendroTweaks</italic>’ interactive interface, users can better understand how these subcellular properties influence dendritic activity and neuronal output in their models. We equip neuronal models with widgets and interactive plots, making every parameter visually accessible and interactively tunable. Importantly, for simple models, plots respond to user actions in real time, ensuring a smooth model exploration and tuning process. Interactive plots illustrating neuronal morphology significantly simplify the process of navigating through various sections and segments of the model. We enhance the interactivity of ion channel models by providing visualization of channel kinetics based on MOD files. Furthermore, by representing a cell as a graph with computational segments as nodes, we simplify and visually enhance the process of distributing ion channels and synapses throughout the cell. Finally, we extend the <monospace>neuron_reduce</monospace> approach for morphology reduction to encompass all potential reduction levels from full morphology to ‘ball-and-stick’-like models and incorporate this method into our graphical interface, thereby taking advantage of inherent visualization and validation capabilities.</p><p>At the implementational level, our goal was to provide a high-level modeling framework that abstracts away technical implementation details and produces structured, transparent, and interoperable model representations. We provide users with a unified modeling interface that allows them to construct high-level simulator-independent model representations while automatically generating simulator-specific model instances. The underlying model structure is designed to be modular, clearly separating morphology, biophysical configurations, and stimulation protocols. To comprehensively capture complex dendritic properties, we introduced a custom format for biophysical parameters, capable of capturing non-uniform ion channel distributions across different dendritic domains. To enhance data management, we introduced versatile tools for parsing, generating, and standardizing commonly used neuronal data formats. In particular, we developed rich functionality for processing ion channel models written in the NMODL language, making them more comprehensible and reusable. To ensure seamless integration into broader modeling workflows, we implemented a range of export options, allowing users to reuse individual model components or entire models across different modeling software. Through this combination of advanced model construction capabilities, comprehensive data handling, and broad interoperability, <italic>DendroTweaks</italic> complements existing tools and fills an important niche within the neuronal modeling ecosystem. An integrated modeling workflow might include multiple steps and platforms. For example, users can first set up a model in <italic>DendroTweaks</italic> by removing morphological artifacts and standardizing ion channel models. They can then establish meaningful initial parameters and use external tools for automated parameter optimization. Subsequently, users can re-import the model for visual exploration, validation, or morphology reduction. Finally, they can export these refined models and use specialized software to scale them up into larger network simulations. In the following paragraphs, we compare <italic>DendroTweaks</italic> with various modeling software to specify its place in the neuronal modeling landscape.</p></sec><sec id="s3-2"><title>Comparison to existing modeling software</title><p>Single-cell modeling encompasses a diverse range of practices, from refining morphological data and optimizing biophysical properties to visualizing and analyzing neuronal dynamics. Over the years, numerous tools have been developed to aid in the creation, visualization, and optimization of neuronal models. Primary simulation environments like NEURON (<xref ref-type="bibr" rid="bib33">Hines and Carnevale, 2001</xref>), NEST (<xref ref-type="bibr" rid="bib20">Gewaltig and Diesmann, 2007</xref>), and Brian 2 <xref ref-type="bibr" rid="bib85">Stimberg et al., 2019</xref> have been complemented by a variety of auxiliary software tools designed to enhance interaction with model parameters.</p><p>Several tools have been developed to assist in visualizing and editing morphological reconstructions of real neurons, such as neuTube (<xref ref-type="bibr" rid="bib18">Feng et al., 2015</xref>), REMOD (<xref ref-type="bibr" rid="bib7">Bozelos et al., 2015</xref>), HBP MORPHOLOGY VIEWER (<xref ref-type="bibr" rid="bib4">Bakker et al., 2017</xref>), and HUGO (<xref ref-type="bibr" rid="bib1">Aliaga Maraver et al., 2018</xref>). <italic>DendroTweaks</italic> includes a simulator-independent tree graph construction module, enabling efficient morphology manipulation through operations such as inserting, removing, and translating nodes or subtrees. Its graphical interface offers the functionality for inspecting and refining morphological parameters to identify reconstruction artifacts and ‘bugs’ through visual exploration and statistical analysis. Nevertheless, the toolbox lacks advanced tools, such as 3D mesh editing and neuronal growth modeling capabilities. For more extensive morphology-focused needs, users are directed to specialized software like the TREES toolbox (<xref ref-type="bibr" rid="bib11">Cuntz et al., 2011</xref>), Neuronize (<xref ref-type="bibr" rid="bib8">Brito et al., 2013</xref>), NeuroEditor (<xref ref-type="bibr" rid="bib93">Velasco et al., 2024</xref>), and NETMORTH (<xref ref-type="bibr" rid="bib39">Koene et al., 2009</xref>).</p><p>With a growing number of models available online from repositories like <ext-link ext-link-type="uri" xlink:href="https://modeldb.science">https://modeldb.science</ext-link> (<xref ref-type="bibr" rid="bib58">McDougal et al., 2017</xref>), <ext-link ext-link-type="uri" xlink:href="https://neuromorpho.org">https://neuromorpho.org</ext-link> (<xref ref-type="bibr" rid="bib3">Ascoli et al., 2007</xref>), and <ext-link ext-link-type="uri" xlink:href="https://celltypes.brain-map.org">https://celltypes.brain-map.org</ext-link> (<xref ref-type="bibr" rid="bib27">Gouwens et al., 2018</xref>; <xref ref-type="bibr" rid="bib28">Gouwens et al., 2019</xref>), standardization is crucial for ensuring reproducibility and reusability in neuronal modeling. Existing standards like SONATA (<xref ref-type="bibr" rid="bib12">Dai et al., 2020</xref>), NeuroML (<xref ref-type="bibr" rid="bib21">Gleeson et al., 2010</xref>), and NineML (the <xref ref-type="bibr" rid="bib26">Gorchetchnikov, 2010</xref>) provide frameworks for model description. However, manual standardization can be laborious and prone to errors. Importantly, <italic>DendroTweaks</italic> is not presented as a new standard but as a tool that conforms to a given standard to automatically standardize a model. Future releases might include an automatic export to an expanded range of formats, such as ChannelML (<xref ref-type="bibr" rid="bib21">Gleeson et al., 2010</xref>). Finally, to our knowledge, <italic>DendroTweaks</italic> is the only tool that can simultaneously parse existing ion channel model files, allow for visual exploration and fine-tuning of their kinetics and distributions via a GUI, and offer automatic standardization.</p><p>Another critical aspect of neuronal modeling is optimization of biophysical parameters. Evolutionary (<xref ref-type="bibr" rid="bib91">Van Geit et al., 2016</xref>), Bayesian (<xref ref-type="bibr" rid="bib24">Gonçalves et al., 2020</xref>), and gradient-based methods (<xref ref-type="bibr" rid="bib38">Jones and Kording, 2024</xref>; <xref ref-type="bibr" rid="bib13">Deistler et al., 2025</xref>) have been proposed to offer data-driven model parameter optimization. While the recent advent of such automated optimizers opens new possibilities for large-scale modeling, we argue that manual exploration remains a valuable and complementary approach. Human oversight provides both initial parameters before optimization and essential sanity checks after, making intuitive understanding a must when validating model behavior. <italic>DendroTweaks</italic> perfectly complements black-box optimization by providing an intuitive environment for hands-on parameter tuning and model refinement. Incorporating automatic optimization algorithms into <italic>DendroTweaks</italic> alongside interactive visualizations presents a promising future direction, combining the strengths of both approaches.</p><p>A range of validation frameworks has been developed to ensure that optimized parameter sets remain biophysically plausible. These approaches typically perform systematic searches across the parameter space and explicitly quantify heterogeneity, that is populations of models that reproduce experimental observations while capturing biological variability, and degeneracy, that is the ability of different parameter combinations to yield similar outputs (<xref ref-type="bibr" rid="bib62">Migliore et al., 2018</xref>; <xref ref-type="bibr" rid="bib78">Roy and Narayanan, 2021</xref>; <xref ref-type="bibr" rid="bib79">Roy and Narayanan, 2023</xref>; <xref ref-type="bibr" rid="bib77">Reva et al., 2023</xref>). <italic>DendroTweaks</italic> approaches heterogeneity and degeneracy differently. Rather than generating model populations, it enables users to interactively navigate the parameter space, visualizing neuronal activity and applying built-in validation protocols to assess whether individual model configurations fall within biologically realistic regimes. While population-based frameworks excel at systematic large-scale exploration, <italic>DendroTweaks</italic> complements them by supporting hypothesis-driven interrogation of how specific parameters influence neuronal function.</p><p>Visualization and the development of intuitive graphical user interfaces have been crucial in neuronal modeling. One of the most successful examples is NetPyNE (<xref ref-type="bibr" rid="bib17">Dura-Bernal et al., 2019</xref>), which offers a graphical interface for data-driven multiscale network modeling in NEURON. Meanwhile, <italic>DendroTweaks</italic> focuses on the subcellular level, providing a more explicit single-cell model interface. It facilitates an interactive approach to visualize and modify morphological parameters, ion channel kinetics and distributions, as well as to observe activity in different compartments. This capability is particularly important for models with active dendrites. We envision as a good practice exporting fine-tuned single-cell models from <italic>DendroTweaks</italic> and incorporating them into complex networks in NetPyNE.</p><p>Indeed, the ultimate goal of creating single-cell models is often to integrate them into a network. In this context, simplifying models becomes another crucial aspect of neuronal modeling. Morphology reduction is a common simplification technique with a long history. Pioneering works (<xref ref-type="bibr" rid="bib86">Stratford et al., 1989</xref>; <xref ref-type="bibr" rid="bib9">Bush and Sejnowski, 1993</xref>) aimed to conserve axial resistance, reducing multicompartmental models to 8–9 compartments. Later approaches focused on preserving voltage attenuation (<xref ref-type="bibr" rid="bib14">Destexhe, 2001</xref>) or surface area (<xref ref-type="bibr" rid="bib31">Hendrickson et al., 2011</xref>; <xref ref-type="bibr" rid="bib55">Marasco et al., 2013</xref>). The most recent methods such as <monospace>neuron_reduce</monospace> (<xref ref-type="bibr" rid="bib2">Amsalem et al., 2020</xref>) and NEAT (<xref ref-type="bibr" rid="bib96">Wybo et al., 2021</xref>) provide analytical solutions to the reduction problem by preserving the impedances of the original model. In <italic>DendroTweaks</italic>, we adopted the <monospace>neuron_reduce</monospace> approach and extended it to support a continuum of reduction levels, allowing users to gradually reduce dendritic subtrees. This added flexibility is important because dendritic trees rely on semi-independent subunit integration, which enhances localized processing and computational complexity. Spatial organization of inputs plays a crucial role in their integration, with clustered inputs being more likely to drive somatic firing in pyramidal neurons (<xref ref-type="bibr" rid="bib70">Poirazi et al., 2003</xref>; <xref ref-type="bibr" rid="bib71">Polsky et al., 2004</xref>; <xref ref-type="bibr" rid="bib47">Losonczy and Magee, 2006</xref>). When multiple synaptic inputs from otherwise isolated branches are remapped to a reduced cylinder, clustering can occur, substantially altering the integration process. Therefore, the intermediate levels of reduction we added to <monospace>neuron_reduce</monospace> could potentially allow for more accurate implementation of independent input integration within dendritic subunits. A compelling example of when this might be needed is recent research (<xref ref-type="bibr" rid="bib64">Otor et al., 2022</xref>), which showed that early bifurcating L5 pyramidal neurons exhibit pronounced functional compartmentalization of the apical dendrite, correlating with behavioral variables.</p></sec><sec id="s3-3"><title>Limitations and further directions</title><p><italic>DendroTweaks</italic> addresses a broad spectrum of single-cell modeling needs. However, it is important to acknowledge its limitations and outline promising future directions. The key feature of <italic>DendroTweaks</italic>, its real-time interactivity, is constrained by the performance of the underlying simulator. When running hyper-detailed simulations with numerous segments over extended periods of time, the simulation can become slow, reducing the interface’s responsiveness and real-time update capabilities. To enhance performance, future versions of <italic>DendroTweaks</italic> should consider integrating faster simulation methods or developing a custom single-cell simulator. A promising approach is to run simulations using the optimized CoreNEURON (<xref ref-type="bibr" rid="bib41">Kumbhar et al., 2019</xref>) and Dendritic Hierarchical Scheduling (DHS) algorithms (<xref ref-type="bibr" rid="bib100">Zhang et al., 2023</xref>), which have been shown to greatly speed up NEURON simulations, or leverage Jaxley’s built-in functionality for JIT compilation and GPU usage (<xref ref-type="bibr" rid="bib13">Deistler et al., 2025</xref>).</p><p>While the current implementation of <italic>DendroTweaks</italic> is based on the NEURON simulator, the approach is essentially simulator-agnostic. As we have demonstrated for Jaxley, its functionality can be further extended to include other simulators. While our proof of concept shows that a multicompartmental model with multiple ion channels can be simulated using Jaxley as an alternative to NEURON, fully preserving the programming interface, this implementation is not optimized to leverage the full range of Jaxley capabilities and still lacks some of the features that will be added in future releases. Another promising future direction is to introduce an automated conversion of simplified biophysical models to integrate-and-fire few-compartmental models implemented in Brian 2 using Dendrify (<xref ref-type="bibr" rid="bib65">Pagkalos et al., 2023</xref>). This would allow for the extension of the proposed workflow by automatically simplifying not only the morphology but also the biophysics of a neuron, spanning any level of conceptual granularity.</p><p>While <italic>DendroTweaks</italic> models rely on specific parameters for ion channel kinetics and spatial distributions, experimental measurements of these properties reflect substantial variability across cells. Averaging kinetic data or conductance gradients across multiple cells can create the misleading impression of fixed parameter values, whereas in reality, each neuron may exhibit a distinct profile. Degeneracy further complicates modeling, as multiple, widely different combinations of kinetic and distribution parameters can produce nearly identical neuronal responses, making it difficult to infer unique underlying mechanisms. While <italic>DendroTweaks</italic> does not resolve these issues inherent to most neuronal models, it allows users to better understand them by interactively adjusting parameters and immediately observing their effects on model outputs.</p><p>Another limitation of the current <italic>DendroTweaks</italic> implementation is the range of ion channel models that can be standardized. As of now, only voltage-gated channels using the Hodgkin-Huxley (HH) formalism can be standardized. Even though Markov chain state-based kinetic models might offer a more accurate representation of ion channel kinetics (<xref ref-type="bibr" rid="bib43">Lampert and Korngreen, 2014</xref>), they are not supported by <italic>DendroTweaks</italic>. Nevertheless, it is important to note that most models use the HH formalism, as Markov models can be more complex and slower to run. Additionally, our parsing and automated standardization algorithm relies on specific heuristics and cannot handle significant deviations in MOD file code patterns. For example, the parser assumes that variable names for the time constant will include ‘tau’ (case insensitive). Therefore, for some files, the algorithm may require some minor preprocessing and manual tuning by the user.</p><p>In its current implementation, <italic>DendroTweaks</italic> offers relatively limited capabilities for representing synaptic inputs. Synaptic parameters are defined at the population level, and setting per-synapse properties is not yet supported. Synapse placement within a user-specified region follows a uniform random distribution. In addition, activation properties are specified abstractly in terms of rates, noise levels, and durations, without support for user-defined input sequences. Extending the toolbox to include per-synapse control, synaptic scaling (<xref ref-type="bibr" rid="bib51">Magee and Cook, 2000</xref>), plasticity mechanisms, and more flexible connectivity definitions would substantially broaden the range of research questions that can be addressed using <italic>DendroTweaks</italic>.</p><p>The extended functionality of the morphology reduction algorithm in <italic>DendroTweaks</italic> provides a continuum of reduction levels that better preserve properties of the original model. However, even intermediate reduction levels inevitably alter integrative properties and eventually lead to the loss of dendritic computations. Nevertheless, it is worth noting that assessing how exactly morphology reduction affects integrative properties is one of the key use cases for <italic>DendroTweaks</italic>, thanks to its exploratory capabilities. Importantly, we don’t view reduction as an ultimate goal for any model but rather encourage approaches where the same system can be studied at different levels of granularity, as elegantly shown in <xref ref-type="bibr" rid="bib5">Billeh et al., 2020</xref>. Beyond optimizing simulation speed, morphology reduction serves as a valuable technique to explore the importance of dendritic compartmentalization. The question of whether the computational unit of a neuron is a single spine, a branch, or an entire domain remains open (<xref ref-type="bibr" rid="bib29">Häusser and Mel, 2003</xref>; <xref ref-type="bibr" rid="bib19">Francioni and Harnett, 2022</xref>; <xref ref-type="bibr" rid="bib88">Stuyt et al., 2022</xref>). Using morphology reduction at multiple levels in in silico experiments can help address this question by revealing how dendritic morphology shapes compartmentalization, which in turn determines the neuron’s input-output transformation properties.</p><p>Finally, there is further potential for interoperability of <italic>DendroTweaks</italic> with other neuronal modeling software. <italic>DendroTweaks</italic> is designed to read and write the most popular formats for representing neuronal morphology (SWC) as well as ion channel models (MOD). It is possible to automatically generate plain NEURON (Python) code to export a refined model and use it outside the toolbox. Having the same option for other simulators, such as Jaxley, would also be beneficial. To enhance compatibility with existing models and the reusability of standardized models, support for more file formats and standards needs to be incorporated. The SONATA data format (<xref ref-type="bibr" rid="bib12">Dai et al., 2020</xref>), designed to efficiently represent network models and simulation data, plays an important role in this regard. Integration with this format is currently under development, and support for exporting models in SONATA is planned for future releases. Another notable example is NeuroML (<xref ref-type="bibr" rid="bib21">Gleeson et al., 2010</xref>), an XML-based neuronal model description language that provides a standardized notation for both morphological and biophysical parameters. By supporting such widely adopted standards, <italic>DendroTweaks</italic> can be more seamlessly integrated into a larger ecosystem of interoperable, open-source software (<xref ref-type="bibr" rid="bib82">Sinha et al., 2024</xref>).</p></sec><sec id="s3-4"><title>Conclusion</title><p>We believe that <italic>DendroTweaks</italic> will be appealing to a wide range of researchers. For those new to computational modeling, it provides an intuitive understanding of how model parameters influence neuronal dynamics, making it also a valuable educational tool. It lowers conceptual and technical barriers to biophysical neuronal modeling for experimentalists and specialists from adjacent fields. Given the growing interest in dendritic computations within artificial intelligence and neuromorphic computing, <italic>DendroTweaks</italic> offers clear visualizations of dendritic integration, benefiting those less familiar with biophysical modeling. For experienced modelers, <italic>DendroTweaks</italic> offers a comprehensive workflow, from single-channel analysis to validating dendritic properties, with tools for visual inspection of cell topology, geometry, channel kinetics, and their distributions, as well as neuronal activity under variable stimuli, facilitating visual debugging. It also includes standardization and morphology reduction tools to improve model tractability and reusability for network simulations. <italic>DendroTweaks</italic> evolves with community feedback, adding new features over time. More than just a tool, <italic>DendroTweaks</italic> is a versatile framework that can integrate other visualizations and algorithms, ensuring its lasting relevance in the research community.</p></sec></sec><sec id="s4" sec-type="materials|methods"><title>Materials and methods</title><sec id="s4-1"><title>User interface</title><p>The user interface of <italic>DendroTweaks</italic> is implemented using Python 3, following the Model-View-Presenter (MVP) architectural pattern. The <monospace>Model</monospace> class defines a biophysical neuronal model and also serves as the core of a standalone Python package, which exposes the toolbox’s main functionality for programmatic use. For the <monospace>View</monospace> class, we use the Python Bokeh library (<xref ref-type="bibr" rid="bib6">Bokeh Development Team, 2025</xref>), which facilitates data visualization by generating the necessary JavaScript code to build the web-based interface. The <monospace>Presenter</monospace> is a class that acts as an intermediary, processing user commands, updating the <monospace>Model</monospace> accordingly, and ensuring that the <monospace>View</monospace> reflects the current state of the <monospace>Model</monospace>. This separation of concerns ensures a clean and maintainable codebase, allowing for efficient data handling and user interaction. The source code is openly available on GitHub for both the standalone Python package <ext-link ext-link-type="uri" xlink:href="https://github.com/Poirazi-Lab/DendroTweaks">https://github.com/Poirazi-Lab/DendroTweaks</ext-link> (<xref ref-type="bibr" rid="bib53">Makarov et al., 2025a</xref>) and the web application <ext-link ext-link-type="uri" xlink:href="https://github.com/Poirazi-Lab/DendroTweaksApp">https://github.com/Poirazi-Lab/DendroTweaksApp</ext-link> (<xref ref-type="bibr" rid="bib54">Makarov et al., 2025b</xref>). Detailed documentation and tutorials are available through ReadTheDocs (<ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.readthedocs.io/en/latest">https://dendrotweaks.readthedocs.io/en/latest</ext-link>).</p></sec><sec id="s4-2"><title>Biophysical models</title><p>To demonstrate the capabilities of the toolbox, we employed three well-established biophysical neuronal models with detailed morphology. The first model is an L2/3 pyramidal neuronal model with morphology reconstruction from <xref ref-type="bibr" rid="bib66">Park et al., 2019</xref> biophysical mechanisms originally developed by <xref ref-type="bibr" rid="bib52">Mainen and Sejnowski, 1996</xref>, further refined by <xref ref-type="bibr" rid="bib83">Smith et al., 2013</xref>, and recently utilized in <xref ref-type="bibr" rid="bib66">Park et al., 2019</xref> and <xref ref-type="bibr" rid="bib68">Petousakis et al., 2023b</xref>. The membrane potential was initialized at <inline-formula><alternatives><mml:math id="inf16"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>init</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>79</mml:mn></mml:math><tex-math id="inft16">\begin{document}$V_{\text{init}}=-79$\end{document}</tex-math></alternatives></inline-formula> mV, and simulations were conducted at 37°C. The equilibrium potentials were set as follows: <inline-formula><alternatives><mml:math id="inf17"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Leak</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>79</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft17">\begin{document}$E_{\text{Leak}}=-79$\end{document}</tex-math></alternatives></inline-formula> mV, <inline-formula><alternatives><mml:math id="inf18"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Na</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>60</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft18">\begin{document}$E_{\text{Na}}=60$\end{document}</tex-math></alternatives></inline-formula> mV, <inline-formula><alternatives><mml:math id="inf19"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>K</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>80</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft19">\begin{document}$E_{\text{K}}=-80$\end{document}</tex-math></alternatives></inline-formula> mV, and <inline-formula><alternatives><mml:math id="inf20"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Ca</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>140</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft20">\begin{document}$E_{\text{Ca}}=140$\end{document}</tex-math></alternatives></inline-formula> mV. The second model is a widely used L5 pyramidal neuronal model with morphology reconstruction and biophysical mechanisms from <xref ref-type="bibr" rid="bib30">Hay et al., 2011</xref>. For this model, the membrane potential was initialized at either <inline-formula><alternatives><mml:math id="inf21"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>init</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>80</mml:mn></mml:math><tex-math id="inft21">\begin{document}$V_{\text{init}}=-80$\end{document}</tex-math></alternatives></inline-formula> mV or <inline-formula><alternatives><mml:math id="inf22"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>init</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>90</mml:mn></mml:math><tex-math id="inft22">\begin{document}$V_{\text{init}}=-90$\end{document}</tex-math></alternatives></inline-formula> mV, with simulations performed at 37°C. The equilibrium potentials were <inline-formula><alternatives><mml:math id="inf23"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Leak</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>90</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft23">\begin{document}$E_{\text{Leak}}=-90$\end{document}</tex-math></alternatives></inline-formula> mV, <inline-formula><alternatives><mml:math id="inf24"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Na</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>50</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft24">\begin{document}$E_{\text{Na}}=50$\end{document}</tex-math></alternatives></inline-formula> mV, <inline-formula><alternatives><mml:math id="inf25"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>K</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>85</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft25">\begin{document}$E_{\text{K}}=-85$\end{document}</tex-math></alternatives></inline-formula> mV, and <inline-formula><alternatives><mml:math id="inf26"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Ca</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>132</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft26">\begin{document}$E_{\text{Ca}}=132$\end{document}</tex-math></alternatives></inline-formula> mV. The third model is a CA1 hippocampal pyramidal neuron, based on <xref ref-type="bibr" rid="bib70">Poirazi et al., 2003</xref> and <xref ref-type="bibr" rid="bib25">González, 2011</xref>. Here, the membrane potential was initialized at <inline-formula><alternatives><mml:math id="inf27"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>init</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>70</mml:mn></mml:math><tex-math id="inft27">\begin{document}$V_{\text{init}}=-70$\end{document}</tex-math></alternatives></inline-formula> mV, with simulations conducted at 34°C. The equilibrium potentials were <inline-formula><alternatives><mml:math id="inf28"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Leak</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>70</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft28">\begin{document}$E_{\text{Leak}}=-70$\end{document}</tex-math></alternatives></inline-formula> mV, <inline-formula><alternatives><mml:math id="inf29"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Na</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>50</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft29">\begin{document}$E_{\text{Na}}=50$\end{document}</tex-math></alternatives></inline-formula> mV, <inline-formula><alternatives><mml:math id="inf30"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>K</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mn>77</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft30">\begin{document}$E_{\text{K}}=-77$\end{document}</tex-math></alternatives></inline-formula> mV, and <inline-formula><alternatives><mml:math id="inf31"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>Ca</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>140</mml:mn></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft31">\begin{document}$E_{\text{Ca}}=140$\end{document}</tex-math></alternatives></inline-formula> mV. All simulations were executed on a Dell G15 5515 laptop (Ryzen 7 5800 H, 16 GB RAM, Linux Ubuntu 20.04 LTS) with a spatial discretization factor <inline-formula><alternatives><mml:math id="inf32"><mml:msub><mml:mi>d</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>λ</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0.1</mml:mn></mml:math><tex-math id="inft32">\begin{document}$d_{\lambda}=0.1$\end{document}</tex-math></alternatives></inline-formula> and a time step <inline-formula><alternatives><mml:math id="inf33"><mml:mi>d</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>0.025</mml:mn></mml:math><tex-math id="inft33">\begin{document}$dt=0.025$\end{document}</tex-math></alternatives></inline-formula> ms.</p></sec><sec id="s4-3"><title>Data format</title><p><italic>DendroTweaks</italic> uses a custom modular data format tailored to single-cell modeling needs. This format builds on widely used file types. Neuronal morphology is represented in SWC files, which <italic>DendroTweaks</italic> can read, modify, and export using a custom graph-processing module. Ion channel models and other membrane mechanisms are described in MOD files (see the following section for details). The biophysical configuration of a cell is specified in JSON files, adapted from the Allen Cell Types Database schema (<xref ref-type="bibr" rid="bib27">Gouwens et al., 2018</xref>) and extended to support non-uniform parameter distributions. Each JSON file contains three main sections: (1) the mapping of domains to inserted membrane mechanisms, (2) the definition of segment groups, and (3) the mapping of segment groups to distribution functions for each model parameter. This structure enables concise and unified representation of complex distributions for any biophysical parameter, including passive and kinetic ones. Simulation, recording, and stimulation parameters are also stored in JSON files, while element-wise parameters, such as spatial locations of recordings and stimuli, are stored in CSV files. Each model is organized within a dedicated folder containing <monospace>morphology</monospace>, <monospace>biophys</monospace>, and <monospace>stimuli</monospace> subfolders. User-defined MOD files must be placed in the <monospace>biophys/mod</monospace> folder. Once this structure is established, the toolbox takes on most of the file management responsibilities from the user (e.g. specifying file paths, compiling MOD files, etc.).</p></sec><sec id="s4-4"><title>Morphology processing and simulator-specific models</title><p>Building a neuronal morphology from an SWC file in <italic>DendroTweaks</italic> is implemented independently of any specific simulator. Each model is represented by interconnected tree graphs capturing the morphology at three abstraction levels: point tree, section tree, and segment tree. This structure allows users to build the model incrementally, starting from the point tree, for more precise control over morphology refinement. Each tree encapsulates level-specific properties and provides methods for common operations, such as sorting, inserting, and removing nodes or subtrees. Nodes maintain references to their children and parent, as well as attributes describing level-specific properties. Sections have access to their points and segments, and vice versa, linking all levels together. Additional methods are available for computing path distances, which are used when assigning parameter distributions. In parallel, <italic>DendroTweaks</italic> automatically generates corresponding sections and segments within the selected simulator, either NEURON (<xref ref-type="bibr" rid="bib34">Hines et al., 2009</xref>) or Jaxley (<xref ref-type="bibr" rid="bib13">Deistler et al., 2025</xref>), and maintains the references from its own sections and segments to the simulator objects. This enables seamless retrieval and modification of simulator-specific parameters while maintaining a simulator-independent scaffold.</p></sec><sec id="s4-5"><title>NMODL to Python conversion</title><p>The <monospace>Converter</monospace> class encapsulates three components: a <monospace>Reader</monospace>, a <monospace>Parser</monospace>, and a <monospace>CodeGenerator</monospace>. The <monospace>Reader</monospace> performs basic preprocessing, such as removing comments and splitting the input into NMODL blocks, providing a structured basis for efficient parsing and handling of individual components. The <monospace>Parser</monospace>, implemented with the PyParsing library (<ext-link ext-link-type="uri" xlink:href="https://pyparsing-docs.readthedocs.io">https://pyparsing-docs.readthedocs.io</ext-link>), constructs an abstract syntax tree (AST) that represents the information contained in the MOD file. The <monospace>CodeGenerator</monospace> then uses the AST to produce a Python file from a JINJA template (<ext-link ext-link-type="uri" xlink:href="https://jinja.palletsprojects.com">https://jinja.palletsprojects.com</ext-link>). Users may also supply custom templates to generate specialized output files when required.</p></sec><sec id="s4-6"><title>Standardization of ion channel models</title><p>A part of the neuronal membrane can be modeled as an equivalent RC circuit. The membrane acts as a capacitor that can store charge, while ion channels provide resistive pathways for current flow. Voltage dynamics in this RC circuit are governed by the fundamental principle of current conservation (Kirchhoff’s current law), which states that the capacitive current (left) must balance the sum of all ionic, synaptic, and external currents (right).<disp-formula id="equ1"><label>(1)</label><alternatives><mml:math id="m1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>C</mml:mi><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t1">\begin{document}$$\displaystyle  C \dfrac{dV}{dt} = \sum \limits_{i=1}^{n} I_{ion,i}(t) + \sum \limits_{j=1}^{m} I_{syn,j}(t) + I_{ext}(t)$$\end{document}</tex-math></alternatives></disp-formula></p><p>where:</p><list list-type="simple" id="list1"><list-item><p><inline-formula><alternatives><mml:math id="inf34"><mml:mi>V</mml:mi></mml:math><tex-math id="inft34">\begin{document}$V$\end{document}</tex-math></alternatives></inline-formula> — the membrane potential in <inline-formula><alternatives><mml:math id="inf35"><mml:mi>m</mml:mi><mml:mi>V</mml:mi></mml:math><tex-math id="inft35">\begin{document}$mV$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf36"><mml:mi>C</mml:mi></mml:math><tex-math id="inft36">\begin{document}$C$\end{document}</tex-math></alternatives></inline-formula> — the membrane capacitance in <inline-formula><alternatives><mml:math id="inf37"><mml:mi>μ</mml:mi><mml:mi>F</mml:mi></mml:math><tex-math id="inft37">\begin{document}$\mu F$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf38"><mml:msub><mml:mi>I</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>i</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft38">\begin{document}$I_{ion,i}$\end{document}</tex-math></alternatives></inline-formula> — individual ionic currents in <inline-formula><alternatives><mml:math id="inf39"><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:math><tex-math id="inft39">\begin{document}$nA$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf40"><mml:msub><mml:mi>I</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft40">\begin{document}$I_{syn,j}$\end{document}</tex-math></alternatives></inline-formula> — individual synaptic currents in <inline-formula><alternatives><mml:math id="inf41"><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:math><tex-math id="inft41">\begin{document}$nA$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf42"><mml:msub><mml:mi>I</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>e</mml:mi><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft42">\begin{document}$I_{ext}$\end{document}</tex-math></alternatives></inline-formula> — external current in <inline-formula><alternatives><mml:math id="inf43"><mml:mi>n</mml:mi><mml:mi>A</mml:mi></mml:math><tex-math id="inft43">\begin{document}$nA$\end{document}</tex-math></alternatives></inline-formula> (e.g. through a patch electrode)</p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf44"><mml:mi>t</mml:mi></mml:math><tex-math id="inft44">\begin{document}$t$\end{document}</tex-math></alternatives></inline-formula> — time in <inline-formula><alternatives><mml:math id="inf45"><mml:mi>m</mml:mi><mml:mi>s</mml:mi></mml:math><tex-math id="inft45">\begin{document}$ms$\end{document}</tex-math></alternatives></inline-formula></p></list-item></list><p>The capacitive current term <inline-formula><alternatives><mml:math id="inf46"><mml:mi>C</mml:mi><mml:mstyle><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:math><tex-math id="inft46">\begin{document}$C\dfrac{dV}{dt}$\end{document}</tex-math></alternatives></inline-formula> is derived from the time derivative of the fundamental capacitance relationship <inline-formula><alternatives><mml:math id="inf47"><mml:mi>Q</mml:mi><mml:mo>=</mml:mo><mml:mi>C</mml:mi><mml:mi>V</mml:mi></mml:math><tex-math id="inft47">\begin{document}$Q=CV$\end{document}</tex-math></alternatives></inline-formula>.</p><p>For a given ion channel, the current <inline-formula><alternatives><mml:math id="inf48"><mml:mi>I</mml:mi></mml:math><tex-math id="inft48">\begin{document}$I$\end{document}</tex-math></alternatives></inline-formula> is determined by the channel’s conductance state and the driving force:<disp-formula id="equ2"><label>(2)</label><alternatives><mml:math id="m2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>I</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mover><mml:mi>g</mml:mi><mml:mo stretchy="false">¯</mml:mo></mml:mover></mml:mrow><mml:mo>×</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mo>⋯</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>×</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mi>V</mml:mi><mml:mo>−</mml:mo><mml:mi>E</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t2">\begin{document}$$\displaystyle  I = \bar{g} \times p(x_1, \cdots , x_n) \times (V - E)$$\end{document}</tex-math></alternatives></disp-formula></p><p>where:</p><list list-type="simple" id="list2"><list-item><p><inline-formula><alternatives><mml:math id="inf49"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mover><mml:mi>g</mml:mi><mml:mo stretchy="false">¯</mml:mo></mml:mover></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft49">\begin{document}$\bar{g}$\end{document}</tex-math></alternatives></inline-formula> — the maximal channel conductance in <inline-formula><alternatives><mml:math id="inf50"><mml:mi>S</mml:mi></mml:math><tex-math id="inft50">\begin{document}$S$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf51"><mml:msub><mml:mi>x</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft51">\begin{document}$x_{i}$\end{document}</tex-math></alternatives></inline-formula> — a state variable representing channel gating (unitless)</p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf52"><mml:mi>p</mml:mi></mml:math><tex-math id="inft52">\begin{document}$p$\end{document}</tex-math></alternatives></inline-formula> — the function defining the probability of the channel to be open (e.g. for an HH sodium channel <inline-formula><alternatives><mml:math id="inf53"><mml:mi>p</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>3</mml:mn></mml:mrow></mml:msup><mml:mi>h</mml:mi></mml:math><tex-math id="inft53">\begin{document}$p(m,h)=m^{3}h$\end{document}</tex-math></alternatives></inline-formula>)</p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf54"><mml:mi>E</mml:mi></mml:math><tex-math id="inft54">\begin{document}$E$\end{document}</tex-math></alternatives></inline-formula> — the equilibrium potential in <inline-formula><alternatives><mml:math id="inf55"><mml:mi>m</mml:mi><mml:mi>V</mml:mi></mml:math><tex-math id="inft55">\begin{document}$mV$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf56"><mml:mo stretchy="false">(</mml:mo><mml:mi>V</mml:mi><mml:mo>−</mml:mo><mml:mi>E</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math><tex-math id="inft56">\begin{document}$(V-E)$\end{document}</tex-math></alternatives></inline-formula> — the driving force in <inline-formula><alternatives><mml:math id="inf57"><mml:mi>m</mml:mi><mml:mi>V</mml:mi></mml:math><tex-math id="inft57">\begin{document}$mV$\end{document}</tex-math></alternatives></inline-formula></p></list-item></list><p>The time derivative of a state variable <inline-formula><alternatives><mml:math id="inf58"><mml:mi>x</mml:mi></mml:math><tex-math id="inft58">\begin{document}$x$\end{document}</tex-math></alternatives></inline-formula> is given by:<disp-formula id="equ3"><label>(3)</label><alternatives><mml:math id="m3"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:msup><mml:mo>−</mml:mo><mml:mi>x</mml:mi></mml:mrow><mml:msub><mml:mi>τ</mml:mi><mml:mi>x</mml:mi></mml:msub></mml:mfrac></mml:mstyle></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t3">\begin{document}$$\displaystyle  \dfrac{dx}{dt} = \dfrac{x^{\infty} - x}{\tau_x}$$\end{document}</tex-math></alternatives></disp-formula></p><p>where:</p><list list-type="simple" id="list3"><list-item><p><inline-formula><alternatives><mml:math id="inf59"><mml:msup><mml:mi>x</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:msup></mml:math><tex-math id="inft59">\begin{document}$x^{\infty}$\end{document}</tex-math></alternatives></inline-formula> — the steady-state value of <inline-formula><alternatives><mml:math id="inf60"><mml:mi>x</mml:mi></mml:math><tex-math id="inft60">\begin{document}$x$\end{document}</tex-math></alternatives></inline-formula> (unitless)</p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf61"><mml:msub><mml:mi>τ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft61">\begin{document}$\tau_{x}$\end{document}</tex-math></alternatives></inline-formula> — the time constant in <inline-formula><alternatives><mml:math id="inf62"><mml:mi>m</mml:mi><mml:mi>s</mml:mi></mml:math><tex-math id="inft62">\begin{document}$ms$\end{document}</tex-math></alternatives></inline-formula></p></list-item></list><p>The voltage-dependent steady-state value <inline-formula><alternatives><mml:math id="inf63"><mml:msup><mml:mi>x</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:msup></mml:math><tex-math id="inft63">\begin{document}$x^{\infty}$\end{document}</tex-math></alternatives></inline-formula> is defined as:<disp-formula id="equ4"><label>(4)</label><alternatives><mml:math id="m4"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>exp</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>−</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>V</mml:mi><mml:mo>−</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>h</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mi>σ</mml:mi></mml:mfrac></mml:mstyle></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t4">\begin{document}$$\displaystyle  x^{\infty} = \dfrac{1}{1 + \exp \left(- \dfrac{V - V_{half}}{\sigma} \right) }$$\end{document}</tex-math></alternatives></disp-formula></p><p>The voltage-dependent time constant <inline-formula><alternatives><mml:math id="inf64"><mml:msub><mml:mi>τ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft64">\begin{document}$\tau_{x}$\end{document}</tex-math></alternatives></inline-formula> is given by:<disp-formula id="equ5"><label>(5)</label><alternatives><mml:math id="m5"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>τ</mml:mi><mml:mi>x</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>α</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>β</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:msub><mml:mi>τ</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t5">\begin{document}$$\displaystyle  \tau_x = \dfrac{1}{\dfrac{d \alpha}{dt} + \dfrac{d \beta}{dt}} + \tau_0 $$\end{document}</tex-math></alternatives></disp-formula></p><p>where:<disp-formula id="equ6"><label>(6)</label><alternatives><mml:math id="m6"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>α</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>×</mml:mo><mml:mi>exp</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>δ</mml:mi><mml:mo>×</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mi>V</mml:mi><mml:mo>−</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>h</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>σ</mml:mi></mml:mfrac></mml:mstyle></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t6">\begin{document}$$\displaystyle  \dfrac{d \alpha}{dt} = K \times \exp \left({\dfrac{\delta \times (V - V_{half})}{\sigma}}\right)$$\end{document}</tex-math></alternatives></disp-formula><disp-formula id="equ7"><label>(7)</label><alternatives><mml:math id="m7"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>β</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>×</mml:mo><mml:mi>exp</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mo>−</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:mi>δ</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>×</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>h</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:mi>V</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>σ</mml:mi></mml:mfrac></mml:mstyle></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t7">\begin{document}$$\displaystyle  \dfrac{d \beta}{dt} = K \times \exp \left({\dfrac{-(1 -\delta) \times (V_{half} - V)}{\sigma}}\right) $$\end{document}</tex-math></alternatives></disp-formula></p><p>where:</p><list list-type="simple" id="list4"><list-item><p><inline-formula><alternatives><mml:math id="inf65"><mml:mi>V</mml:mi></mml:math><tex-math id="inft65">\begin{document}$V$\end{document}</tex-math></alternatives></inline-formula> — the membrane potential in <inline-formula><alternatives><mml:math id="inf66"><mml:mi>m</mml:mi><mml:mi>V</mml:mi></mml:math><tex-math id="inft66">\begin{document}$mV$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf67"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>h</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft67">\begin{document}$V_{half}$\end{document}</tex-math></alternatives></inline-formula> — the half-activation voltage in <inline-formula><alternatives><mml:math id="inf68"><mml:mi>m</mml:mi><mml:mi>V</mml:mi></mml:math><tex-math id="inft68">\begin{document}$mV$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf69"><mml:mi>σ</mml:mi></mml:math><tex-math id="inft69">\begin{document}$\sigma$\end{document}</tex-math></alternatives></inline-formula> — the inverse slope in <inline-formula><alternatives><mml:math id="inf70"><mml:mi>m</mml:mi><mml:mi>V</mml:mi></mml:math><tex-math id="inft70">\begin{document}$mV$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf71"><mml:mi>δ</mml:mi></mml:math><tex-math id="inft71">\begin{document}$\delta$\end{document}</tex-math></alternatives></inline-formula> — the skew parameter of the time constant curve (unitless)</p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf72"><mml:mi>K</mml:mi></mml:math><tex-math id="inft72">\begin{document}$K$\end{document}</tex-math></alternatives></inline-formula> — the maximum rate parameter in <inline-formula><alternatives><mml:math id="inf73"><mml:mi>m</mml:mi><mml:msup><mml:mi>s</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:math><tex-math id="inft73">\begin{document}$ms^{-1}$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p><inline-formula><alternatives><mml:math id="inf74"><mml:msub><mml:mi>τ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft74">\begin{document}$\tau_{0}$\end{document}</tex-math></alternatives></inline-formula> — the rate-limiting factor (minimum time constant) in <inline-formula><alternatives><mml:math id="inf75"><mml:mi>m</mml:mi><mml:mi>s</mml:mi></mml:math><tex-math id="inft75">\begin{document}$ms$\end{document}</tex-math></alternatives></inline-formula></p></list-item></list><p>For each state variable of a channel, we fit the set of 5 parameters of the system of <xref ref-type="disp-formula" rid="equ4 equ5 equ6 equ7">Equations 4–7</xref>, namely <inline-formula><alternatives><mml:math id="inf76"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>h</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft76">\begin{document}$V_{half}$\end{document}</tex-math></alternatives></inline-formula>, <inline-formula><alternatives><mml:math id="inf77"><mml:mi>σ</mml:mi></mml:math><tex-math id="inft77">\begin{document}$\sigma$\end{document}</tex-math></alternatives></inline-formula>, <inline-formula><alternatives><mml:math id="inf78"><mml:mi>K</mml:mi></mml:math><tex-math id="inft78">\begin{document}$K$\end{document}</tex-math></alternatives></inline-formula>, <inline-formula><alternatives><mml:math id="inf79"><mml:mi>δ</mml:mi></mml:math><tex-math id="inft79">\begin{document}$\delta$\end{document}</tex-math></alternatives></inline-formula>, and <inline-formula><alternatives><mml:math id="inf80"><mml:msub><mml:mi>τ</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft80">\begin{document}$\tau_{0}$\end{document}</tex-math></alternatives></inline-formula>, to the data in the form of activation (inactivation) curves derived from the original MOD files for membrane potentials in the range from –100 to 100 mV. The fitting process is implemented in the symfit Python library (<ext-link ext-link-type="uri" xlink:href="https://symfit.readthedocs.io">https://symfit.readthedocs.io</ext-link>) to fit both curves for the steady state and the time constant simultaneously. The temperature is set to the original temperature before getting data to fit. We noticed that, while accurate for both curves, simultaneous fitting results in significant changes in the voltage and current dynamics. Therefore, we introduced a second additional fit for the steady state alone, sacrificing fitting accuracy for the time constant but preserving voltage and current dynamics. Finally, a new MOD file is created from a JINJA template and is immediately available to replace the original mechanism in the neuronal model.</p></sec><sec id="s4-7"><title>Morphology reduction</title><p>We extended the analytical impedance-based <monospace>neuron_reduce</monospace> approach proposed by <xref ref-type="bibr" rid="bib2">Amsalem et al., 2020</xref> and integrated it into our GUI. The original <monospace>neuron_reduce</monospace> algorithm maps a dendritic subtree to a single cylinder with both ends sealed, preserving:</p><list list-type="simple" id="list5"><list-item><p>specific membrane resistivity, <inline-formula><alternatives><mml:math id="inf81"><mml:msub><mml:mi>R</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft81">\begin{document}$R_{m}$\end{document}</tex-math></alternatives></inline-formula> in <inline-formula><alternatives><mml:math id="inf82"><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>×</mml:mo><mml:mi>c</mml:mi><mml:msup><mml:mi>m</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math><tex-math id="inft82">\begin{document}$\Omega\times cm^{2}$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p>specific membrane capacitance, <inline-formula><alternatives><mml:math id="inf83"><mml:msub><mml:mi>C</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft83">\begin{document}$C_{m}$\end{document}</tex-math></alternatives></inline-formula> in <inline-formula><alternatives><mml:math id="inf84"><mml:mi>F</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mo>/</mml:mo></mml:mrow><mml:mi>c</mml:mi><mml:msup><mml:mi>m</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math><tex-math id="inft84">\begin{document}$F/cm^{2}$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p>specific axial resistivity, <inline-formula><alternatives><mml:math id="inf85"><mml:msub><mml:mi>R</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft85">\begin{document}$R_{a}$\end{document}</tex-math></alternatives></inline-formula> in <inline-formula><alternatives><mml:math id="inf86"><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>×</mml:mo><mml:mi>c</mml:mi><mml:mi>m</mml:mi></mml:math><tex-math id="inft86">\begin{document}$\Omega\times cm$\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p>transfer impedance from the electrotonically most distal dendritic tip to the soma, <inline-formula><alternatives><mml:math id="inf87"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:msub><mml:mi>Z</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>ω</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft87">\begin{document}$\left|Z_{0,L}(\omega)\right| $\end{document}</tex-math></alternatives></inline-formula></p></list-item><list-item><p>input resistance at the soma end (when disconnected from the soma), <inline-formula><alternatives><mml:math id="inf88"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:msub><mml:mi>Z</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>ω</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft88">\begin{document}$\left|Z_{0,0}(\omega)\right|$\end{document}</tex-math></alternatives></inline-formula></p></list-item></list><p>Equations 1 -11 in the original paper describe the unique cylindrical cable (with a specific diameter, <inline-formula><alternatives><mml:math id="inf89"><mml:mi>d</mml:mi></mml:math><tex-math id="inft89">\begin{document}$d$\end{document}</tex-math></alternatives></inline-formula> and length, <inline-formula><alternatives><mml:math id="inf90"><mml:mi>L</mml:mi></mml:math><tex-math id="inft90">\begin{document}$L$\end{document}</tex-math></alternatives></inline-formula>, and the given membrane and axial properties) that preserves the values of <inline-formula><alternatives><mml:math id="inf91"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:msub><mml:mi>Z</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>ω</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft91">\begin{document}$\left|Z_{0,L}(\omega)\right|$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf92"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:msub><mml:mi>Z</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>ω</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft92">\begin{document}$\left|Z_{0,0}(\omega)\right|$\end{document}</tex-math></alternatives></inline-formula>. In the original implementation, the entire subtree of each stem dendrite (e.g. the entire apical subtree) is mapped to a single corresponding cylinder. We extended this approach to allow a user to select any section they want and map the inclusive subtree of this section (including the section itself) to a single cylinder. When the user selects the desired section using the GUI and clicks the button ’Reduce subtree’ the inclusive subtree is disconnected from the cell and parameters for its equivalent cylinder are calculated. The exclusive subtree of the section is then removed, and the section’s length and diameter are updated with the new calculated values before reconnecting it to its original parent. As in the original method, the reduced model is compartmentalized into segments (typically with a spatial resolution of 0.1λ), and channel conductances are adjusted according to the mapping between the original and the reduced segments. In order to introduce a more general workflow, where synapses can be allocated on the already reduced model, we removed the step from the original algorithm that mapped synapses to the corresponding cylinder. To enable export of reduced models in <italic>DendroTweaks</italic>’s modular format and plain simulator code, we implemented a fitting procedure that approximates spatial parameter distributions using analytical functions (e.g., polynomials or step-like). Candidate models were fit to parameter values as a function of distance from the soma, and the optimal model was chosen by minimizing mean squared error, with model complexity as a secondary criterion. This approach provides a compact representation, independent of the original segmentation, requiring only a few coefficients to be stored to reproduce a distribution.</p></sec><sec id="s4-8"><title>Validation</title><p>We utilized a semi-automated approach for model validation. Users need to manually specify the simulation parameters for each specific validation protocol (see <xref ref-type="table" rid="table1">Table 1</xref>). Depending on the protocol, one or multiple simulation runs are performed, and the simulated voltage values are used for further calculations. Input resistance is calculated according to the formula: <inline-formula><alternatives><mml:math id="inf93"><mml:msub><mml:mi>R</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>in</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle><mml:mfrac><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>offset</mml:mtext></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>onset</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>ext</mml:mtext></mml:mrow></mml:msub></mml:mfrac></mml:mstyle></mml:math><tex-math id="inft93">\begin{document}$R_{\text{in}}=\dfrac{V_{\text{offset}}-V_{\text{onset}}}{I_{\text{ext}}}$\end{document}</tex-math></alternatives></inline-formula>. The membrane time constant (<inline-formula><alternatives><mml:math id="inf94"><mml:mi>τ</mml:mi></mml:math><tex-math id="inft94">\begin{document}$\tau$\end{document}</tex-math></alternatives></inline-formula>) is derived by fitting a double exponential equation to the decaying part of the voltage curve after the stimulus onset, taking the slowest component. Voltage attenuation is calculated for a user-specified set of segments by measuring the voltage response at different points along the dendrite. For each segment, the voltage attenuation is computed as the ratio of the voltage change at the segment (<inline-formula><alternatives><mml:math id="inf95"><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>seg</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft95">\begin{document}$\Delta V_{\text{seg}}$\end{document}</tex-math></alternatives></inline-formula>) to the voltage change at the stimulation site (<inline-formula><alternatives><mml:math id="inf96"><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>stim</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft96">\begin{document}$\Delta V_{\text{stim}}$\end{document}</tex-math></alternatives></inline-formula>). The distances from the soma to each segment are also recorded, and the attenuation is plotted against these distances. For detecting somatic action potentials and measuring their amplitude and half-width, we used the SciPy (<xref ref-type="bibr" rid="bib94">Virtanen et al., 2020</xref>) Python library for peak detection in a signal. This involves identifying the peaks in the voltage trace and calculating the time difference between the points where the voltage is half of the peak amplitude. The somatic f-I curve is built by injecting a range of current amplitudes (e.g. 0–1 nA in steps of 0.1 nA) into the soma and recording the number of action potentials generated at each current level. The firing rate is plotted as a function of the injected current amplitude. Dendritic nonlinearities are derived by measuring the voltage response in a dendrite to increasing synaptic input weights of a single synapse. The unitary voltage response (EPSP) is determined, and the actual voltage responses for increasing synaptic weights are compared to the expected linear sum of unitary responses. The sag ratio is calculated according to the formula: <inline-formula><alternatives><mml:math id="inf97"><mml:mtext>Sag ratio</mml:mtext><mml:mo>=</mml:mo><mml:mstyle><mml:mfrac><mml:mi>a</mml:mi><mml:mi>b</mml:mi></mml:mfrac></mml:mstyle></mml:math><tex-math id="inft97">\begin{document}$\text{Sag ratio}=\dfrac{a}{b}$\end{document}</tex-math></alternatives></inline-formula>, where <inline-formula><alternatives><mml:math id="inf98"><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>offset</mml:mtext></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>min</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft98">\begin{document}$a=V_{\text{offset}}-V_{\text{min}}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf99"><mml:mi>b</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>onset</mml:mtext></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>min</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft99">\begin{document}$b=V_{\text{onset}}-V_{\text{min}}$\end{document}</tex-math></alternatives></inline-formula>. This ratio is derived from the voltage response to a hyperpolarizing current injection in the presence of HCN channels (h current), with <inline-formula><alternatives><mml:math id="inf100"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>onset</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft100">\begin{document}$V_{\text{onset}}$\end{document}</tex-math></alternatives></inline-formula> being the initial voltage before the injection, <inline-formula><alternatives><mml:math id="inf101"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>min</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft101">\begin{document}$V_{\text{min}}$\end{document}</tex-math></alternatives></inline-formula> the minimum voltage reached, and <inline-formula><alternatives><mml:math id="inf102"><mml:msub><mml:mi>V</mml:mi><mml:mrow class="MJX-TeXAtom-ORD"><mml:mtext>offset</mml:mtext></mml:mrow></mml:msub></mml:math><tex-math id="inft102">\begin{document}$V_{\text{offset}}$\end{document}</tex-math></alternatives></inline-formula> the voltage at the end of the injection.</p></sec></sec></body><back><sec sec-type="additional-information" id="s5"><title>Additional information</title><fn-group content-type="competing-interest"><title>Competing interests</title><fn fn-type="COI-statement" id="conf1"><p>No competing interests declared</p></fn><fn fn-type="COI-statement" id="conf2"><p>Senior editor, eLife</p></fn></fn-group><fn-group content-type="author-contribution"><title>Author contributions</title><fn fn-type="con" id="con1"><p>Software, Formal analysis, Validation, Investigation, Visualization, Methodology, Writing – original draft</p></fn><fn fn-type="con" id="con2"><p>Formal analysis, Supervision, Methodology, Writing – review and editing</p></fn><fn fn-type="con" id="con3"><p>Conceptualization, Supervision, Funding acquisition, Methodology, Writing – review and editing</p></fn></fn-group></sec><sec sec-type="supplementary-material" id="s6"><title>Additional files</title><supplementary-material id="mdar"><label>MDAR checklist</label><media xlink:href="elife-103324-mdarchecklist1-v2.pdf" mimetype="application" mime-subtype="pdf"/></supplementary-material></sec><sec sec-type="data-availability" id="s7"><title>Data availability</title><p>The current manuscript is a computational study, so no data have been generated for this manuscript. The source code is openly available on GitHub for both the standalone Python package <ext-link ext-link-type="uri" xlink:href="https://github.com/Poirazi-Lab/DendroTweaks">https://github.com/Poirazi-Lab/DendroTweaks</ext-link> (<xref ref-type="bibr" rid="bib53">Makarov et al., 2025a</xref>) and the web application <ext-link ext-link-type="uri" xlink:href="https://github.com/Poirazi-Lab/DendroTweaksApp">https://github.com/Poirazi-Lab/DendroTweaksApp</ext-link> (<xref ref-type="bibr" rid="bib54">Makarov et al., 2025b</xref>). Detailed documentation and tutorials are available through ReadTheDocs (<ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.readthedocs.io/en/latest">https://dendrotweaks.readthedocs.io/en/latest</ext-link>).</p></sec><ack id="ack"><title>Acknowledgements</title><p>We thank members of the Poirazi lab and SmartNets ITN for their valuable feedback on the manuscript. This work was supported by NIH (1R01MH124867), the European Union, Horizon 2020 Programme (H2020-FETOPEN-2018-2019-2020-01), NEUREKA (GA-863245), H2020 MSCA ITN Project SmartNets (GA-860949) and iNavigate (GA-873178), and the Stavros Niarchos Foundation (SNF) and the Hellenic Foundation for Research and Innovation (H.F.R.I.) under the 5th Call of “Science and Society” Action Always strive for excellence – Theodoros Papazoglou” grant DendroLeap (Project Number: 28056).</p></ack><ref-list><title>References</title><ref id="bib1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Aliaga Maraver</surname><given-names>JJ</given-names></name><name><surname>Mata</surname><given-names>S</given-names></name><name><surname>Benavides-Piccione</surname><given-names>R</given-names></name><name><surname>DeFelipe</surname><given-names>J</given-names></name><name><surname>Pastor</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>A method for the symbolic representation of neurons</article-title><source>Frontiers in Neuroanatomy</source><volume>12</volume><elocation-id>106</elocation-id><pub-id pub-id-type="doi">10.3389/fnana.2018.00106</pub-id><pub-id pub-id-type="pmid">30618651</pub-id></element-citation></ref><ref id="bib2"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Amsalem</surname><given-names>O</given-names></name><name><surname>Eyal</surname><given-names>G</given-names></name><name><surname>Rogozinski</surname><given-names>N</given-names></name><name><surname>Gevaert</surname><given-names>M</given-names></name><name><surname>Kumbhar</surname><given-names>P</given-names></name><name><surname>Schürmann</surname><given-names>F</given-names></name><name><surname>Segev</surname><given-names>I</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>An efficient analytical reduction of detailed nonlinear neuron models</article-title><source>Nature Communications</source><volume>11</volume><elocation-id>288</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-019-13932-6</pub-id><pub-id pub-id-type="pmid">31941884</pub-id></element-citation></ref><ref id="bib3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ascoli</surname><given-names>GA</given-names></name><name><surname>Donohue</surname><given-names>DE</given-names></name><name><surname>Halavi</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>NeuroMorpho.Org: a central resource for neuronal morphologies</article-title><source>The Journal of Neuroscience</source><volume>27</volume><fpage>9247</fpage><lpage>9251</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.2055-07.2007</pub-id><pub-id pub-id-type="pmid">17728438</pub-id></element-citation></ref><ref id="bib4"><element-citation publication-type="confproc"><person-group person-group-type="author"><name><surname>Bakker</surname><given-names>R</given-names></name><name><surname>García-Amado</surname><given-names>M</given-names></name><name><surname>Evangelio</surname><given-names>M</given-names></name><name><surname>Clascá</surname><given-names>F</given-names></name><name><surname>Tiesinga</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>P271 workflow, data format and tools to register neuron morphologies to a reference brain atlas</article-title><conf-name>26th Annual Computational Neuroscience Meeting (CNS*2017)</conf-name><pub-id pub-id-type="doi">10.7490/f1000research.1114766.1</pub-id></element-citation></ref><ref id="bib5"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Billeh</surname><given-names>YN</given-names></name><name><surname>Cai</surname><given-names>B</given-names></name><name><surname>Gratiy</surname><given-names>SL</given-names></name><name><surname>Dai</surname><given-names>K</given-names></name><name><surname>Iyer</surname><given-names>R</given-names></name><name><surname>Gouwens</surname><given-names>NW</given-names></name><name><surname>Abbasi-Asl</surname><given-names>R</given-names></name><name><surname>Jia</surname><given-names>X</given-names></name><name><surname>Siegle</surname><given-names>JH</given-names></name><name><surname>Olsen</surname><given-names>SR</given-names></name><name><surname>Koch</surname><given-names>C</given-names></name><name><surname>Mihalas</surname><given-names>S</given-names></name><name><surname>Arkhipov</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Systematic integration of structural and functional data into multi-scale models of mouse primary visual cortex</article-title><source>Neuron</source><volume>106</volume><fpage>388</fpage><lpage>403</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2020.01.040</pub-id><pub-id pub-id-type="pmid">32142648</pub-id></element-citation></ref><ref id="bib6"><element-citation publication-type="software"><person-group person-group-type="author"><collab>Bokeh Development Team</collab></person-group><year iso-8601-date="2025">2025</year><data-title>Bokeh: python library for interactive visualization</data-title><publisher-name>Bokeh</publisher-name><ext-link ext-link-type="uri" xlink:href="https://bokeh.org/">https://bokeh.org/</ext-link></element-citation></ref><ref id="bib7"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bozelos</surname><given-names>P</given-names></name><name><surname>Stefanou</surname><given-names>SS</given-names></name><name><surname>Bouloukakis</surname><given-names>G</given-names></name><name><surname>Melachrinos</surname><given-names>C</given-names></name><name><surname>Poirazi</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>REMOD: a tool for analyzing and remodeling the dendritic architecture of neural cells</article-title><source>Frontiers in Neuroanatomy</source><volume>9</volume><elocation-id>156</elocation-id><pub-id pub-id-type="doi">10.3389/fnana.2015.00156</pub-id><pub-id pub-id-type="pmid">26778971</pub-id></element-citation></ref><ref id="bib8"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Brito</surname><given-names>JP</given-names></name><name><surname>Mata</surname><given-names>S</given-names></name><name><surname>Bayona</surname><given-names>S</given-names></name><name><surname>Pastor</surname><given-names>L</given-names></name><name><surname>Defelipe</surname><given-names>J</given-names></name><name><surname>Benavides-Piccione</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Neuronize: a tool for building realistic neuronal cell morphologies</article-title><source>Frontiers in Neuroanatomy</source><volume>7</volume><elocation-id>15</elocation-id><pub-id pub-id-type="doi">10.3389/fnana.2013.00015</pub-id><pub-id pub-id-type="pmid">23761740</pub-id></element-citation></ref><ref id="bib9"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bush</surname><given-names>PC</given-names></name><name><surname>Sejnowski</surname><given-names>TJ</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Reduced compartmental models of neocortical pyramidal cells</article-title><source>Journal of Neuroscience Methods</source><volume>46</volume><fpage>159</fpage><lpage>166</lpage><pub-id pub-id-type="doi">10.1016/0165-0270(93)90151-g</pub-id><pub-id pub-id-type="pmid">8474259</pub-id></element-citation></ref><ref id="bib10"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Carnevale</surname><given-names>NT</given-names></name><name><surname>Hines</surname><given-names>ML</given-names></name></person-group><year iso-8601-date="2006">2006</year><source>The NEURON Book</source><publisher-name>Cambridge University Press</publisher-name></element-citation></ref><ref id="bib11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cuntz</surname><given-names>H</given-names></name><name><surname>Forstner</surname><given-names>F</given-names></name><name><surname>Borst</surname><given-names>A</given-names></name><name><surname>Häusser</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>The TREES toolbox--probing the basis of axonal and dendritic branching</article-title><source>Neuroinformatics</source><volume>9</volume><fpage>91</fpage><lpage>96</lpage><pub-id pub-id-type="doi">10.1007/s12021-010-9093-7</pub-id><pub-id pub-id-type="pmid">21222051</pub-id></element-citation></ref><ref id="bib12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Dai</surname><given-names>K</given-names></name><name><surname>Hernando</surname><given-names>J</given-names></name><name><surname>Billeh</surname><given-names>YN</given-names></name><name><surname>Gratiy</surname><given-names>SL</given-names></name><name><surname>Planas</surname><given-names>J</given-names></name><name><surname>Davison</surname><given-names>AP</given-names></name><name><surname>Dura-Bernal</surname><given-names>S</given-names></name><name><surname>Gleeson</surname><given-names>P</given-names></name><name><surname>Devresse</surname><given-names>A</given-names></name><name><surname>Dichter</surname><given-names>BK</given-names></name><name><surname>Gevaert</surname><given-names>M</given-names></name><name><surname>King</surname><given-names>JG</given-names></name><name><surname>Van Geit</surname><given-names>WAH</given-names></name><name><surname>Povolotsky</surname><given-names>AV</given-names></name><name><surname>Muller</surname><given-names>E</given-names></name><name><surname>Courcol</surname><given-names>J-D</given-names></name><name><surname>Arkhipov</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>The SONATA data format for efficient description of large-scale network models</article-title><source>PLOS Computational Biology</source><volume>16</volume><elocation-id>e1007696</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1007696</pub-id></element-citation></ref><ref id="bib13"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Deistler</surname><given-names>M</given-names></name><name><surname>Kadhim</surname><given-names>KL</given-names></name><name><surname>Pals</surname><given-names>M</given-names></name><name><surname>Beck</surname><given-names>J</given-names></name><name><surname>Huang</surname><given-names>Z</given-names></name><name><surname>Gloeckler</surname><given-names>M</given-names></name><name><surname>Lappalainen</surname><given-names>JK</given-names></name><name><surname>Schröder</surname><given-names>C</given-names></name><name><surname>Berens</surname><given-names>P</given-names></name><name><surname>Gonçalves</surname><given-names>PJ</given-names></name><name><surname>Macke</surname><given-names>JH</given-names></name></person-group><year iso-8601-date="2025">2025</year><article-title>JAXLEY: differentiable simulation enables large-scale training of detailed biophysical models of neural dynamics</article-title><source>Nature Methods</source><volume>22</volume><fpage>2649</fpage><lpage>2657</lpage><pub-id pub-id-type="doi">10.1038/s41592-025-02895-w</pub-id><pub-id pub-id-type="pmid">41233544</pub-id></element-citation></ref><ref id="bib14"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Destexhe</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>Simplified models of neocortical pyramidal cells preserving somatodendritic voltage attenuation</article-title><source>Neurocomputing</source><volume>38–40</volume><fpage>167</fpage><lpage>173</lpage><pub-id pub-id-type="doi">10.1016/S0925-2312(01)00428-3</pub-id></element-citation></ref><ref id="bib15"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Doron</surname><given-names>M</given-names></name><name><surname>Chindemi</surname><given-names>G</given-names></name><name><surname>Muller</surname><given-names>E</given-names></name><name><surname>Markram</surname><given-names>H</given-names></name><name><surname>Segev</surname><given-names>I</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Timed synaptic inhibition shapes NMDA spikes, influencing local dendritic processing and global I/O properties of cortical neurons</article-title><source>Cell Reports</source><volume>21</volume><fpage>1550</fpage><lpage>1561</lpage><pub-id pub-id-type="doi">10.1016/j.celrep.2017.10.035</pub-id><pub-id pub-id-type="pmid">29117560</pub-id></element-citation></ref><ref id="bib16"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Du</surname><given-names>K</given-names></name><name><surname>Wu</surname><given-names>YW</given-names></name><name><surname>Lindroos</surname><given-names>R</given-names></name><name><surname>Liu</surname><given-names>Y</given-names></name><name><surname>Rózsa</surname><given-names>B</given-names></name><name><surname>Katona</surname><given-names>G</given-names></name><name><surname>Ding</surname><given-names>JB</given-names></name><name><surname>Kotaleski</surname><given-names>JH</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Cell-type–specific inhibition of the dendritic plateau potential in striatal spiny projection neurons</article-title><source>PNAS</source><volume>114</volume><elocation-id>36</elocation-id><pub-id pub-id-type="doi">10.1073/pnas.1704893114</pub-id></element-citation></ref><ref id="bib17"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Dura-Bernal</surname><given-names>S</given-names></name><name><surname>Suter</surname><given-names>BA</given-names></name><name><surname>Gleeson</surname><given-names>P</given-names></name><name><surname>Cantarelli</surname><given-names>M</given-names></name><name><surname>Quintana</surname><given-names>A</given-names></name><name><surname>Rodriguez</surname><given-names>F</given-names></name><name><surname>Kedziora</surname><given-names>DJ</given-names></name><name><surname>Chadderdon</surname><given-names>GL</given-names></name><name><surname>Kerr</surname><given-names>CC</given-names></name><name><surname>Neymotin</surname><given-names>SA</given-names></name><name><surname>McDougal</surname><given-names>RA</given-names></name><name><surname>Hines</surname><given-names>M</given-names></name><name><surname>Shepherd</surname><given-names>GM</given-names></name><name><surname>Lytton</surname><given-names>WW</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>NetPyNE, a tool for data-driven multiscale modeling of brain circuits</article-title><source>eLife</source><volume>8</volume><elocation-id>e44494</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.44494</pub-id><pub-id pub-id-type="pmid">31025934</pub-id></element-citation></ref><ref id="bib18"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Feng</surname><given-names>L</given-names></name><name><surname>Zhao</surname><given-names>T</given-names></name><name><surname>Kim</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>neuTube 1.0: a new design for efficient neuron reconstruction software based on the swc format</article-title><source>eNeuro</source><volume>2</volume><elocation-id>ENEURO.0049-14.2014</elocation-id><pub-id pub-id-type="doi">10.1523/ENEURO.0049-14.2014</pub-id><pub-id pub-id-type="pmid">26464967</pub-id></element-citation></ref><ref id="bib19"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Francioni</surname><given-names>V</given-names></name><name><surname>Harnett</surname><given-names>MT</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Rethinking single neuron electrical compartmentalization: dendritic contributions to network computation in vivo</article-title><source>Neuroscience</source><volume>489</volume><fpage>185</fpage><lpage>199</lpage><pub-id pub-id-type="doi">10.1016/j.neuroscience.2021.05.038</pub-id></element-citation></ref><ref id="bib20"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gewaltig</surname><given-names>MO</given-names></name><name><surname>Diesmann</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>NEST (NEural simulation tool)</article-title><source>Scholarpedia</source><volume>2</volume><elocation-id>1430</elocation-id><pub-id pub-id-type="doi">10.4249/scholarpedia.1430</pub-id></element-citation></ref><ref id="bib21"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gleeson</surname><given-names>P</given-names></name><name><surname>Crook</surname><given-names>S</given-names></name><name><surname>Cannon</surname><given-names>RC</given-names></name><name><surname>Hines</surname><given-names>ML</given-names></name><name><surname>Billings</surname><given-names>GO</given-names></name><name><surname>Farinella</surname><given-names>M</given-names></name><name><surname>Morse</surname><given-names>TM</given-names></name><name><surname>Davison</surname><given-names>AP</given-names></name><name><surname>Ray</surname><given-names>S</given-names></name><name><surname>Bhalla</surname><given-names>US</given-names></name><name><surname>Barnes</surname><given-names>SR</given-names></name><name><surname>Dimitrova</surname><given-names>YD</given-names></name><name><surname>Silver</surname><given-names>RA</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>NeuroML: a language for describing data driven models of neurons and networks with a high degree of biological detail</article-title><source>PLOS Computational Biology</source><volume>6</volume><elocation-id>e1000815</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1000815</pub-id><pub-id pub-id-type="pmid">20585541</pub-id></element-citation></ref><ref id="bib22"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Golding</surname><given-names>NL</given-names></name><name><surname>Spruston</surname><given-names>N</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Dendritic sodium spikes are variable triggers of axonal action potentials in hippocampal CA1 pyramidal neurons</article-title><source>Neuron</source><volume>21</volume><fpage>1189</fpage><lpage>1200</lpage><pub-id pub-id-type="doi">10.1016/s0896-6273(00)80635-2</pub-id><pub-id pub-id-type="pmid">9856473</pub-id></element-citation></ref><ref id="bib23"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Golding</surname><given-names>NL</given-names></name><name><surname>Mickus</surname><given-names>TJ</given-names></name><name><surname>Katz</surname><given-names>Y</given-names></name><name><surname>Kath</surname><given-names>WL</given-names></name><name><surname>Spruston</surname><given-names>N</given-names></name></person-group><year iso-8601-date="2005">2005</year><article-title>Factors mediating powerful voltage attenuation along CA1 pyramidal neuron dendrites</article-title><source>The Journal of Physiology</source><volume>568</volume><fpage>69</fpage><lpage>82</lpage><pub-id pub-id-type="doi">10.1113/jphysiol.2005.086793</pub-id></element-citation></ref><ref id="bib24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gonçalves</surname><given-names>PJ</given-names></name><name><surname>Lueckmann</surname><given-names>JM</given-names></name><name><surname>Deistler</surname><given-names>M</given-names></name><name><surname>Nonnenmacher</surname><given-names>M</given-names></name><name><surname>Öcal</surname><given-names>K</given-names></name><name><surname>Bassetto</surname><given-names>G</given-names></name><name><surname>Chintaluri</surname><given-names>C</given-names></name><name><surname>Podlaski</surname><given-names>WF</given-names></name><name><surname>Haddad</surname><given-names>SA</given-names></name><name><surname>Vogels</surname><given-names>TP</given-names></name><name><surname>Greenberg</surname><given-names>DS</given-names></name><name><surname>Macke</surname><given-names>JH</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Training deep neural density estimators to identify mechanistic models of neural dynamics</article-title><source>eLife</source><volume>9</volume><elocation-id>e56261</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.56261</pub-id><pub-id pub-id-type="pmid">32940606</pub-id></element-citation></ref><ref id="bib25"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>González</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Distinguishing linear vs. non-linear integration in CA1 radial oblique dendrites: it’s about time</article-title><source>Frontiers in Computational Neuroscience</source><volume>5</volume><elocation-id>44</elocation-id><pub-id pub-id-type="doi">10.3389/fncom.2011.00044</pub-id></element-citation></ref><ref id="bib26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gorchetchnikov</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>NineML – a description language for spiking neuron network modeling: the user layer</article-title><source>BMC Neuroscience</source><volume>11</volume><fpage>1471</fpage><lpage>2202</lpage><pub-id pub-id-type="doi">10.1186/1471-2202-11-S1-P71</pub-id></element-citation></ref><ref id="bib27"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gouwens</surname><given-names>NW</given-names></name><name><surname>Berg</surname><given-names>J</given-names></name><name><surname>Feng</surname><given-names>D</given-names></name><name><surname>Sorensen</surname><given-names>SA</given-names></name><name><surname>Zeng</surname><given-names>H</given-names></name><name><surname>Hawrylycz</surname><given-names>MJ</given-names></name><name><surname>Koch</surname><given-names>C</given-names></name><name><surname>Arkhipov</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Systematic generation of biophysically detailed models for diverse cortical neuron types</article-title><source>Nature Communications</source><volume>9</volume><elocation-id>710</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-017-02718-3</pub-id><pub-id pub-id-type="pmid">29459718</pub-id></element-citation></ref><ref id="bib28"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gouwens</surname><given-names>NW</given-names></name><name><surname>Sorensen</surname><given-names>SA</given-names></name><name><surname>Berg</surname><given-names>J</given-names></name><name><surname>Lee</surname><given-names>C</given-names></name><name><surname>Jarsky</surname><given-names>T</given-names></name><name><surname>Ting</surname><given-names>J</given-names></name><name><surname>Sunkin</surname><given-names>SM</given-names></name><name><surname>Feng</surname><given-names>D</given-names></name><name><surname>Anastassiou</surname><given-names>CA</given-names></name><name><surname>Barkan</surname><given-names>E</given-names></name><name><surname>Bickley</surname><given-names>K</given-names></name><name><surname>Blesie</surname><given-names>N</given-names></name><name><surname>Braun</surname><given-names>T</given-names></name><name><surname>Brouner</surname><given-names>K</given-names></name><name><surname>Budzillo</surname><given-names>A</given-names></name><name><surname>Caldejon</surname><given-names>S</given-names></name><name><surname>Casper</surname><given-names>T</given-names></name><name><surname>Castelli</surname><given-names>D</given-names></name><name><surname>Chong</surname><given-names>P</given-names></name><name><surname>Crichton</surname><given-names>K</given-names></name><name><surname>Cuhaciyan</surname><given-names>C</given-names></name><name><surname>Daigle</surname><given-names>TL</given-names></name><name><surname>Dalley</surname><given-names>R</given-names></name><name><surname>Dee</surname><given-names>N</given-names></name><name><surname>Desta</surname><given-names>T</given-names></name><name><surname>Ding</surname><given-names>S-L</given-names></name><name><surname>Dingman</surname><given-names>S</given-names></name><name><surname>Doperalski</surname><given-names>A</given-names></name><name><surname>Dotson</surname><given-names>N</given-names></name><name><surname>Egdorf</surname><given-names>T</given-names></name><name><surname>Fisher</surname><given-names>M</given-names></name><name><surname>de Frates</surname><given-names>RA</given-names></name><name><surname>Garren</surname><given-names>E</given-names></name><name><surname>Garwood</surname><given-names>M</given-names></name><name><surname>Gary</surname><given-names>A</given-names></name><name><surname>Gaudreault</surname><given-names>N</given-names></name><name><surname>Godfrey</surname><given-names>K</given-names></name><name><surname>Gorham</surname><given-names>M</given-names></name><name><surname>Gu</surname><given-names>H</given-names></name><name><surname>Habel</surname><given-names>C</given-names></name><name><surname>Hadley</surname><given-names>K</given-names></name><name><surname>Harrington</surname><given-names>J</given-names></name><name><surname>Harris</surname><given-names>JA</given-names></name><name><surname>Henry</surname><given-names>A</given-names></name><name><surname>Hill</surname><given-names>D</given-names></name><name><surname>Josephsen</surname><given-names>S</given-names></name><name><surname>Kebede</surname><given-names>S</given-names></name><name><surname>Kim</surname><given-names>L</given-names></name><name><surname>Kroll</surname><given-names>M</given-names></name><name><surname>Lee</surname><given-names>B</given-names></name><name><surname>Lemon</surname><given-names>T</given-names></name><name><surname>Link</surname><given-names>KE</given-names></name><name><surname>Liu</surname><given-names>X</given-names></name><name><surname>Long</surname><given-names>B</given-names></name><name><surname>Mann</surname><given-names>R</given-names></name><name><surname>McGraw</surname><given-names>M</given-names></name><name><surname>Mihalas</surname><given-names>S</given-names></name><name><surname>Mukora</surname><given-names>A</given-names></name><name><surname>Murphy</surname><given-names>GJ</given-names></name><name><surname>Ng</surname><given-names>L</given-names></name><name><surname>Ngo</surname><given-names>K</given-names></name><name><surname>Nguyen</surname><given-names>TN</given-names></name><name><surname>Nicovich</surname><given-names>PR</given-names></name><name><surname>Oldre</surname><given-names>A</given-names></name><name><surname>Park</surname><given-names>D</given-names></name><name><surname>Parry</surname><given-names>S</given-names></name><name><surname>Perkins</surname><given-names>J</given-names></name><name><surname>Potekhina</surname><given-names>L</given-names></name><name><surname>Reid</surname><given-names>D</given-names></name><name><surname>Robertson</surname><given-names>M</given-names></name><name><surname>Sandman</surname><given-names>D</given-names></name><name><surname>Schroedter</surname><given-names>M</given-names></name><name><surname>Slaughterbeck</surname><given-names>C</given-names></name><name><surname>Soler-Llavina</surname><given-names>G</given-names></name><name><surname>Sulc</surname><given-names>J</given-names></name><name><surname>Szafer</surname><given-names>A</given-names></name><name><surname>Tasic</surname><given-names>B</given-names></name><name><surname>Taskin</surname><given-names>N</given-names></name><name><surname>Teeter</surname><given-names>C</given-names></name><name><surname>Thatra</surname><given-names>N</given-names></name><name><surname>Tung</surname><given-names>H</given-names></name><name><surname>Wakeman</surname><given-names>W</given-names></name><name><surname>Williams</surname><given-names>G</given-names></name><name><surname>Young</surname><given-names>R</given-names></name><name><surname>Zhou</surname><given-names>Z</given-names></name><name><surname>Farrell</surname><given-names>C</given-names></name><name><surname>Peng</surname><given-names>H</given-names></name><name><surname>Hawrylycz</surname><given-names>MJ</given-names></name><name><surname>Lein</surname><given-names>E</given-names></name><name><surname>Ng</surname><given-names>L</given-names></name><name><surname>Arkhipov</surname><given-names>A</given-names></name><name><surname>Bernard</surname><given-names>A</given-names></name><name><surname>Phillips</surname><given-names>JW</given-names></name><name><surname>Zeng</surname><given-names>H</given-names></name><name><surname>Koch</surname><given-names>C</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Classification of electrophysiological and morphological neuron types in the mouse visual cortex</article-title><source>Nature Neuroscience</source><volume>22</volume><fpage>1182</fpage><lpage>1195</lpage><pub-id pub-id-type="doi">10.1038/s41593-019-0417-0</pub-id><pub-id pub-id-type="pmid">31209381</pub-id></element-citation></ref><ref id="bib29"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Häusser</surname><given-names>M</given-names></name><name><surname>Mel</surname><given-names>B</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Dendrites: bug or feature?</article-title><source>Current Opinion in Neurobiology</source><volume>13</volume><fpage>372</fpage><lpage>383</lpage><pub-id pub-id-type="doi">10.1016/s0959-4388(03)00075-8</pub-id><pub-id pub-id-type="pmid">12850223</pub-id></element-citation></ref><ref id="bib30"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hay</surname><given-names>E</given-names></name><name><surname>Hill</surname><given-names>S</given-names></name><name><surname>Schürmann</surname><given-names>F</given-names></name><name><surname>Markram</surname><given-names>H</given-names></name><name><surname>Segev</surname><given-names>I</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Models of neocortical layer 5b pyramidal cells capturing a wide range of dendritic and perisomatic active properties</article-title><source>PLOS Computational Biology</source><volume>7</volume><elocation-id>e1002107</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1002107</pub-id><pub-id pub-id-type="pmid">21829333</pub-id></element-citation></ref><ref id="bib31"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hendrickson</surname><given-names>EB</given-names></name><name><surname>Edgerton</surname><given-names>JR</given-names></name><name><surname>Jaeger</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>The capabilities and limitations of conductance-based compartmental neuron models with reduced branched or unbranched morphologies and active dendrites</article-title><source>Journal of Computational Neuroscience</source><volume>30</volume><fpage>301</fpage><lpage>321</lpage><pub-id pub-id-type="doi">10.1007/s10827-010-0258-z</pub-id></element-citation></ref><ref id="bib32"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hines</surname><given-names>ML</given-names></name><name><surname>Carnevale</surname><given-names>NT</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title>Expanding NEURON’s repertoire of mechanisms with NMODL</article-title><source>Neural Computation</source><volume>12</volume><fpage>995</fpage><lpage>1007</lpage><pub-id pub-id-type="doi">10.1162/089976600300015475</pub-id><pub-id pub-id-type="pmid">10905805</pub-id></element-citation></ref><ref id="bib33"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hines</surname><given-names>ML</given-names></name><name><surname>Carnevale</surname><given-names>NT</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>NEURON: a tool for neuroscientists</article-title><source>The Neuroscientist</source><volume>7</volume><fpage>123</fpage><lpage>135</lpage><pub-id pub-id-type="doi">10.1177/107385840100700207</pub-id><pub-id pub-id-type="pmid">11496923</pub-id></element-citation></ref><ref id="bib34"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hines</surname><given-names>ML</given-names></name><name><surname>Davison</surname><given-names>AP</given-names></name><name><surname>Muller</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>NEURON and Python</article-title><source>Frontiers in Neuroinformatics</source><volume>3</volume><elocation-id>1</elocation-id><pub-id pub-id-type="doi">10.3389/neuro.11.001.2009</pub-id><pub-id pub-id-type="pmid">19198661</pub-id></element-citation></ref><ref id="bib35"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hodgkin</surname><given-names>AL</given-names></name><name><surname>Huxley</surname><given-names>AF</given-names></name></person-group><year iso-8601-date="1952">1952</year><article-title>A quantitative description of membrane current and its application to conduction and excitation in nerve</article-title><source>The Journal of Physiology</source><volume>117</volume><fpage>500</fpage><lpage>544</lpage><pub-id pub-id-type="doi">10.1113/jphysiol.1952.sp004764</pub-id></element-citation></ref><ref id="bib36"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hoffman</surname><given-names>DA</given-names></name><name><surname>Magee</surname><given-names>JC</given-names></name><name><surname>Colbert</surname><given-names>CM</given-names></name><name><surname>Johnston</surname><given-names>D</given-names></name></person-group><year iso-8601-date="1997">1997</year><article-title>K+ channel regulation of signal propagation in dendrites of hippocampal pyramidal neurons</article-title><source>Nature</source><volume>387</volume><fpage>869</fpage><lpage>875</lpage><pub-id pub-id-type="doi">10.1038/43119</pub-id><pub-id pub-id-type="pmid">9202119</pub-id></element-citation></ref><ref id="bib37"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Johnston</surname><given-names>D</given-names></name><name><surname>Narayanan</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Active dendrites: colorful wings of the mysterious butterflies</article-title><source>Trends in Neurosciences</source><volume>31</volume><fpage>309</fpage><lpage>316</lpage><pub-id pub-id-type="doi">10.1016/j.tins.2008.03.004</pub-id><pub-id pub-id-type="pmid">18471907</pub-id></element-citation></ref><ref id="bib38"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Jones</surname><given-names>IS</given-names></name><name><surname>Kording</surname><given-names>KP</given-names></name></person-group><year iso-8601-date="2024">2024</year><article-title>Efficient Optimization of ODE Neuron Models Using Gradient Descent</article-title><source>arXiv</source><ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2407.04025">https://arxiv.org/abs/2407.04025</ext-link></element-citation></ref><ref id="bib39"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Koene</surname><given-names>RA</given-names></name><name><surname>Tijms</surname><given-names>B</given-names></name><name><surname>van Hees</surname><given-names>P</given-names></name><name><surname>Postma</surname><given-names>F</given-names></name><name><surname>de Ridder</surname><given-names>A</given-names></name><name><surname>Ramakers</surname><given-names>GJA</given-names></name><name><surname>van Pelt</surname><given-names>J</given-names></name><name><surname>van Ooyen</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>NETMORPH: a framework for the stochastic generation of large scale neuronal networks with realistic neuron morphologies</article-title><source>Neuroinformatics</source><volume>7</volume><fpage>195</fpage><lpage>210</lpage><pub-id pub-id-type="doi">10.1007/s12021-009-9052-3</pub-id><pub-id pub-id-type="pmid">19672726</pub-id></element-citation></ref><ref id="bib40"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kole</surname><given-names>MHP</given-names></name><name><surname>Hallermann</surname><given-names>S</given-names></name><name><surname>Stuart</surname><given-names>GJ</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Single i channels in pyramidal neuron dendrites: properties</article-title><source>Distribution, and Impact on Action Potential Output. The Journal of Neuroscience</source><volume>26</volume><fpage>1677</fpage><lpage>1687</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.3664-05.2006</pub-id><pub-id pub-id-type="pmid">16467515</pub-id></element-citation></ref><ref id="bib41"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kumbhar</surname><given-names>P</given-names></name><name><surname>Hines</surname><given-names>M</given-names></name><name><surname>Fouriaux</surname><given-names>J</given-names></name><name><surname>Ovcharenko</surname><given-names>A</given-names></name><name><surname>King</surname><given-names>J</given-names></name><name><surname>Delalondre</surname><given-names>F</given-names></name><name><surname>Schürmann</surname><given-names>F</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>CoreNEURON : an optimized compute engine for the NEURON simulator</article-title><source>Frontiers in Neuroinformatics</source><volume>13</volume><elocation-id>63</elocation-id><pub-id pub-id-type="doi">10.3389/fninf.2019.00063</pub-id><pub-id pub-id-type="pmid">31616273</pub-id></element-citation></ref><ref id="bib42"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Kumbhar</surname><given-names>P</given-names></name><name><surname>Awile</surname><given-names>O</given-names></name><name><surname>Keegan</surname><given-names>L</given-names></name><name><surname>Alonso</surname><given-names>JB</given-names></name><name><surname>King</surname><given-names>J</given-names></name><name><surname>Hines</surname><given-names>M</given-names></name><name><surname>Schürmann</surname><given-names>F</given-names></name></person-group><year iso-8601-date="2020">2020</year><chapter-title>An optimizing multi-platform source-to-source compiler framework for the NEURON modeling language</chapter-title><person-group person-group-type="editor"><name><surname>Kumbhar</surname><given-names>P</given-names></name></person-group><source>Computational Science – ICCS 2020</source><publisher-name>Springer International Publishing</publisher-name><fpage>45</fpage><lpage>58</lpage><pub-id pub-id-type="doi">10.1007/978-3-030-50371-0_4</pub-id></element-citation></ref><ref id="bib43"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lampert</surname><given-names>A</given-names></name><name><surname>Korngreen</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Markov modeling of ion channels</article-title><source>Progress in Molecular Biology and Translational Science</source><volume>123</volume><fpage>1</fpage><lpage>21</lpage><pub-id pub-id-type="doi">10.1016/B978-0-12-397897-4.00009-7</pub-id><pub-id pub-id-type="pmid">24560138</pub-id></element-citation></ref><ref id="bib44"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Llinas</surname><given-names>R</given-names></name><name><surname>Nicholson</surname><given-names>C</given-names></name></person-group><year iso-8601-date="1971">1971</year><article-title>Electrophysiological properties of dendrites and somata in alligator Purkinje cells</article-title><source>Journal of Neurophysiology</source><volume>34</volume><fpage>532</fpage><lpage>551</lpage><pub-id pub-id-type="doi">10.1152/jn.1971.34.4.532</pub-id><pub-id pub-id-type="pmid">4329778</pub-id></element-citation></ref><ref id="bib45"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Llinás</surname><given-names>R</given-names></name><name><surname>Hess</surname><given-names>R</given-names></name></person-group><year iso-8601-date="1976">1976</year><article-title>Tetrodotoxin-resistant dendritic spikes in avian Purkinje cells</article-title><source>PNAS</source><volume>73</volume><fpage>2520</fpage><lpage>2523</lpage><pub-id pub-id-type="doi">10.1073/pnas.73.7.2520</pub-id><pub-id pub-id-type="pmid">1065905</pub-id></element-citation></ref><ref id="bib46"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lörincz</surname><given-names>A</given-names></name><name><surname>Notomi</surname><given-names>T</given-names></name><name><surname>Tamás</surname><given-names>G</given-names></name><name><surname>Shigemoto</surname><given-names>R</given-names></name><name><surname>Nusser</surname><given-names>Z</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Polarized and compartment-dependent distribution of HCN1 in pyramidal cell dendrites</article-title><source>Nature Neuroscience</source><volume>5</volume><fpage>1185</fpage><lpage>1193</lpage><pub-id pub-id-type="doi">10.1038/nn962</pub-id><pub-id pub-id-type="pmid">12389030</pub-id></element-citation></ref><ref id="bib47"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Losonczy</surname><given-names>A</given-names></name><name><surname>Magee</surname><given-names>JC</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Integrative properties of radial oblique dendrites in hippocampal CA1 pyramidal neurons</article-title><source>Neuron</source><volume>50</volume><fpage>291</fpage><lpage>307</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2006.03.016</pub-id><pub-id pub-id-type="pmid">16630839</pub-id></element-citation></ref><ref id="bib48"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Magee</surname><given-names>JC</given-names></name><name><surname>Christofi</surname><given-names>G</given-names></name><name><surname>Miyakawa</surname><given-names>H</given-names></name><name><surname>Christie</surname><given-names>B</given-names></name><name><surname>Lasser-Ross</surname><given-names>N</given-names></name><name><surname>Johnston</surname><given-names>D</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>Subthreshold synaptic activation of voltage-gated Ca2+ channels mediates a localized Ca2+ influx into the dendrites of hippocampal pyramidal neurons</article-title><source>Journal of Neurophysiology</source><volume>74</volume><fpage>1335</fpage><lpage>1342</lpage><pub-id pub-id-type="doi">10.1152/jn.1995.74.3.1335</pub-id><pub-id pub-id-type="pmid">7500154</pub-id></element-citation></ref><ref id="bib49"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Magee</surname><given-names>JC</given-names></name><name><surname>Johnston</surname><given-names>D</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>Characterization of single voltage‐gated Na+ and Ca2+ channels in apical dendrites of rat CA1 pyramidal neurons</article-title><source>The Journal of Physiology</source><volume>487</volume><fpage>67</fpage><lpage>90</lpage><pub-id pub-id-type="doi">10.1113/jphysiol.1995.sp020862</pub-id></element-citation></ref><ref id="bib50"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Magee</surname><given-names>JC</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Dendritic hyperpolarization-activated currents modify the integrative properties of hippocampal CA1 pyramidal neurons</article-title><source>The Journal of Neuroscience</source><volume>18</volume><fpage>7613</fpage><lpage>7624</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.18-19-07613.1998</pub-id><pub-id pub-id-type="pmid">9742133</pub-id></element-citation></ref><ref id="bib51"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Magee</surname><given-names>JC</given-names></name><name><surname>Cook</surname><given-names>EP</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title>Somatic EPSP amplitude is independent of synapse location in hippocampal pyramidal neurons</article-title><source>Nature Neuroscience</source><volume>3</volume><fpage>895</fpage><lpage>903</lpage><pub-id pub-id-type="doi">10.1038/78800</pub-id><pub-id pub-id-type="pmid">10966620</pub-id></element-citation></ref><ref id="bib52"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mainen</surname><given-names>ZF</given-names></name><name><surname>Sejnowski</surname><given-names>TJ</given-names></name></person-group><year iso-8601-date="1996">1996</year><article-title>Influence of dendritic structure on firing pattern in model neocortical neurons</article-title><source>Nature</source><volume>382</volume><fpage>363</fpage><lpage>366</lpage><pub-id pub-id-type="doi">10.1038/382363a0</pub-id><pub-id pub-id-type="pmid">8684467</pub-id></element-citation></ref><ref id="bib53"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Makarov</surname><given-names>R</given-names></name><name><surname>Chavlis</surname><given-names>S</given-names></name><name><surname>Poirazi</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2025">2025a</year><data-title>DendroTweaks</data-title><version designator="bb4e44e">bb4e44e</version><source>GitHub</source><ext-link ext-link-type="uri" xlink:href="https://github.com/Poirazi-Lab/DendroTweaks">https://github.com/Poirazi-Lab/DendroTweaks</ext-link></element-citation></ref><ref id="bib54"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Makarov</surname><given-names>R</given-names></name><name><surname>Chavlis</surname><given-names>S</given-names></name><name><surname>Poirazi</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2025">2025b</year><data-title>DendroTweaksApp</data-title><version designator="52b5d43">52b5d43</version><source>GitHub</source><ext-link ext-link-type="uri" xlink:href="https://github.com/Poirazi-Lab/DendroTweaksApp">https://github.com/Poirazi-Lab/DendroTweaksApp</ext-link></element-citation></ref><ref id="bib55"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Marasco</surname><given-names>A</given-names></name><name><surname>Limongiello</surname><given-names>A</given-names></name><name><surname>Migliore</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Using Strahler’s analysis to reduce up to 200-fold the run time of realistic neuron models</article-title><source>Scientific Reports</source><volume>3</volume><elocation-id>2934</elocation-id><pub-id pub-id-type="doi">10.1038/srep02934</pub-id><pub-id pub-id-type="pmid">24121727</pub-id></element-citation></ref><ref id="bib56"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Markram</surname><given-names>H</given-names></name><name><surname>Toledo-Rodriguez</surname><given-names>M</given-names></name><name><surname>Wang</surname><given-names>Y</given-names></name><name><surname>Gupta</surname><given-names>A</given-names></name><name><surname>Silberberg</surname><given-names>G</given-names></name><name><surname>Wu</surname><given-names>C</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Interneurons of the neocortical inhibitory system</article-title><source>Nature Reviews. Neuroscience</source><volume>5</volume><fpage>793</fpage><lpage>807</lpage><pub-id pub-id-type="doi">10.1038/nrn1519</pub-id><pub-id pub-id-type="pmid">15378039</pub-id></element-citation></ref><ref id="bib57"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Markram</surname><given-names>H</given-names></name><name><surname>Muller</surname><given-names>E</given-names></name><name><surname>Ramaswamy</surname><given-names>S</given-names></name><name><surname>Reimann</surname><given-names>MW</given-names></name><name><surname>Abdellah</surname><given-names>M</given-names></name><name><surname>Sanchez</surname><given-names>CA</given-names></name><name><surname>Ailamaki</surname><given-names>A</given-names></name><name><surname>Alonso-Nanclares</surname><given-names>L</given-names></name><name><surname>Antille</surname><given-names>N</given-names></name><name><surname>Arsever</surname><given-names>S</given-names></name><name><surname>Kahou</surname><given-names>GAA</given-names></name><name><surname>Berger</surname><given-names>TK</given-names></name><name><surname>Bilgili</surname><given-names>A</given-names></name><name><surname>Buncic</surname><given-names>N</given-names></name><name><surname>Chalimourda</surname><given-names>A</given-names></name><name><surname>Chindemi</surname><given-names>G</given-names></name><name><surname>Courcol</surname><given-names>J-D</given-names></name><name><surname>Delalondre</surname><given-names>F</given-names></name><name><surname>Delattre</surname><given-names>V</given-names></name><name><surname>Druckmann</surname><given-names>S</given-names></name><name><surname>Dumusc</surname><given-names>R</given-names></name><name><surname>Dynes</surname><given-names>J</given-names></name><name><surname>Eilemann</surname><given-names>S</given-names></name><name><surname>Gal</surname><given-names>E</given-names></name><name><surname>Gevaert</surname><given-names>ME</given-names></name><name><surname>Ghobril</surname><given-names>J-P</given-names></name><name><surname>Gidon</surname><given-names>A</given-names></name><name><surname>Graham</surname><given-names>JW</given-names></name><name><surname>Gupta</surname><given-names>A</given-names></name><name><surname>Haenel</surname><given-names>V</given-names></name><name><surname>Hay</surname><given-names>E</given-names></name><name><surname>Heinis</surname><given-names>T</given-names></name><name><surname>Hernando</surname><given-names>JB</given-names></name><name><surname>Hines</surname><given-names>M</given-names></name><name><surname>Kanari</surname><given-names>L</given-names></name><name><surname>Keller</surname><given-names>D</given-names></name><name><surname>Kenyon</surname><given-names>J</given-names></name><name><surname>Khazen</surname><given-names>G</given-names></name><name><surname>Kim</surname><given-names>Y</given-names></name><name><surname>King</surname><given-names>JG</given-names></name><name><surname>Kisvarday</surname><given-names>Z</given-names></name><name><surname>Kumbhar</surname><given-names>P</given-names></name><name><surname>Lasserre</surname><given-names>S</given-names></name><name><surname>Le Bé</surname><given-names>J-V</given-names></name><name><surname>Magalhães</surname><given-names>BRC</given-names></name><name><surname>Merchán-Pérez</surname><given-names>A</given-names></name><name><surname>Meystre</surname><given-names>J</given-names></name><name><surname>Morrice</surname><given-names>BR</given-names></name><name><surname>Muller</surname><given-names>J</given-names></name><name><surname>Muñoz-Céspedes</surname><given-names>A</given-names></name><name><surname>Muralidhar</surname><given-names>S</given-names></name><name><surname>Muthurasa</surname><given-names>K</given-names></name><name><surname>Nachbaur</surname><given-names>D</given-names></name><name><surname>Newton</surname><given-names>TH</given-names></name><name><surname>Nolte</surname><given-names>M</given-names></name><name><surname>Ovcharenko</surname><given-names>A</given-names></name><name><surname>Palacios</surname><given-names>J</given-names></name><name><surname>Pastor</surname><given-names>L</given-names></name><name><surname>Perin</surname><given-names>R</given-names></name><name><surname>Ranjan</surname><given-names>R</given-names></name><name><surname>Riachi</surname><given-names>I</given-names></name><name><surname>Rodríguez</surname><given-names>J-R</given-names></name><name><surname>Riquelme</surname><given-names>JL</given-names></name><name><surname>Rössert</surname><given-names>C</given-names></name><name><surname>Sfyrakis</surname><given-names>K</given-names></name><name><surname>Shi</surname><given-names>Y</given-names></name><name><surname>Shillcock</surname><given-names>JC</given-names></name><name><surname>Silberberg</surname><given-names>G</given-names></name><name><surname>Silva</surname><given-names>R</given-names></name><name><surname>Tauheed</surname><given-names>F</given-names></name><name><surname>Telefont</surname><given-names>M</given-names></name><name><surname>Toledo-Rodriguez</surname><given-names>M</given-names></name><name><surname>Tränkler</surname><given-names>T</given-names></name><name><surname>Van Geit</surname><given-names>W</given-names></name><name><surname>Díaz</surname><given-names>JV</given-names></name><name><surname>Walker</surname><given-names>R</given-names></name><name><surname>Wang</surname><given-names>Y</given-names></name><name><surname>Zaninetta</surname><given-names>SM</given-names></name><name><surname>DeFelipe</surname><given-names>J</given-names></name><name><surname>Hill</surname><given-names>SL</given-names></name><name><surname>Segev</surname><given-names>I</given-names></name><name><surname>Schürmann</surname><given-names>F</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Reconstruction and simulation of neocortical microcircuitry</article-title><source>Cell</source><volume>163</volume><fpage>456</fpage><lpage>492</lpage><pub-id pub-id-type="doi">10.1016/j.cell.2015.09.029</pub-id></element-citation></ref><ref id="bib58"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>McDougal</surname><given-names>RA</given-names></name><name><surname>Morse</surname><given-names>TM</given-names></name><name><surname>Carnevale</surname><given-names>T</given-names></name><name><surname>Marenco</surname><given-names>L</given-names></name><name><surname>Wang</surname><given-names>R</given-names></name><name><surname>Migliore</surname><given-names>M</given-names></name><name><surname>Miller</surname><given-names>PL</given-names></name><name><surname>Shepherd</surname><given-names>GM</given-names></name><name><surname>Hines</surname><given-names>ML</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Twenty years of ModelDB and beyond: building essential modeling tools for the future of neuroscience</article-title><source>Journal of Computational Neuroscience</source><volume>42</volume><fpage>1</fpage><lpage>10</lpage><pub-id pub-id-type="doi">10.1007/s10827-016-0623-7</pub-id><pub-id pub-id-type="pmid">27629590</pub-id></element-citation></ref><ref id="bib59"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mehta</surname><given-names>K</given-names></name><name><surname>Ljungquist</surname><given-names>B</given-names></name><name><surname>Ogden</surname><given-names>J</given-names></name><name><surname>Nanda</surname><given-names>S</given-names></name><name><surname>Ascoli</surname><given-names>RG</given-names></name><name><surname>Ng</surname><given-names>L</given-names></name><name><surname>Ascoli</surname><given-names>GA</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>Online conversion of reconstructed neural morphologies into standardized SWC format</article-title><source>Nature Communications</source><volume>14</volume><elocation-id>7429</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-023-42931-x</pub-id><pub-id pub-id-type="pmid">37973857</pub-id></element-citation></ref><ref id="bib60"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Migliore</surname><given-names>M</given-names></name><name><surname>Hoffman</surname><given-names>DA</given-names></name><name><surname>Magee</surname><given-names>JC</given-names></name><name><surname>Johnston</surname><given-names>D</given-names></name></person-group><year iso-8601-date="1999">1999</year><article-title>Role of an A-type K+ conductance in the back-propagation of action potentials in the dendrites of hippocampal pyramidal neurons</article-title><source>Journal of Computational Neuroscience</source><volume>7</volume><fpage>5</fpage><lpage>15</lpage><pub-id pub-id-type="doi">10.1023/a:1008906225285</pub-id><pub-id pub-id-type="pmid">10481998</pub-id></element-citation></ref><ref id="bib61"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Migliore</surname><given-names>M</given-names></name><name><surname>Shepherd</surname><given-names>GM</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Emerging rules for the distributions of active dendritic conductances</article-title><source>Nature Reviews. Neuroscience</source><volume>3</volume><fpage>362</fpage><lpage>370</lpage><pub-id pub-id-type="doi">10.1038/nrn810</pub-id><pub-id pub-id-type="pmid">11988775</pub-id></element-citation></ref><ref id="bib62"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Migliore</surname><given-names>R</given-names></name><name><surname>Lupascu</surname><given-names>CA</given-names></name><name><surname>Bologna</surname><given-names>LL</given-names></name><name><surname>Romani</surname><given-names>A</given-names></name><name><surname>Courcol</surname><given-names>J-D</given-names></name><name><surname>Antonel</surname><given-names>S</given-names></name><name><surname>Van Geit</surname><given-names>WAH</given-names></name><name><surname>Thomson</surname><given-names>AM</given-names></name><name><surname>Mercer</surname><given-names>A</given-names></name><name><surname>Lange</surname><given-names>S</given-names></name><name><surname>Falck</surname><given-names>J</given-names></name><name><surname>Rössert</surname><given-names>CA</given-names></name><name><surname>Shi</surname><given-names>Y</given-names></name><name><surname>Hagens</surname><given-names>O</given-names></name><name><surname>Pezzoli</surname><given-names>M</given-names></name><name><surname>Freund</surname><given-names>TF</given-names></name><name><surname>Kali</surname><given-names>S</given-names></name><name><surname>Muller</surname><given-names>EB</given-names></name><name><surname>Schürmann</surname><given-names>F</given-names></name><name><surname>Markram</surname><given-names>H</given-names></name><name><surname>Migliore</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>The physiological variability of channel density in hippocampal CA1 pyramidal cells and interneurons explored using a unified data-driven modeling workflow</article-title><source>PLOS Computational Biology</source><volume>14</volume><elocation-id>e1006423</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1006423</pub-id></element-citation></ref><ref id="bib63"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Nusser</surname><given-names>Z</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>Variability in the subcellular distribution of ion channels increases neuronal diversity</article-title><source>Trends in Neurosciences</source><volume>32</volume><fpage>267</fpage><lpage>274</lpage><pub-id pub-id-type="doi">10.1016/j.tins.2009.01.003</pub-id><pub-id pub-id-type="pmid">19299025</pub-id></element-citation></ref><ref id="bib64"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Otor</surname><given-names>Y</given-names></name><name><surname>Achvat</surname><given-names>S</given-names></name><name><surname>Cermak</surname><given-names>N</given-names></name><name><surname>Benisty</surname><given-names>H</given-names></name><name><surname>Abboud</surname><given-names>M</given-names></name><name><surname>Barak</surname><given-names>O</given-names></name><name><surname>Schiller</surname><given-names>Y</given-names></name><name><surname>Poleg-Polsky</surname><given-names>A</given-names></name><name><surname>Schiller</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Dynamic compartmental computations in tuft dendrites of layer 5 neurons during motor behavior</article-title><source>Science</source><volume>376</volume><fpage>267</fpage><lpage>275</lpage><pub-id pub-id-type="doi">10.1126/science.abn1421</pub-id><pub-id pub-id-type="pmid">35420959</pub-id></element-citation></ref><ref id="bib65"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Pagkalos</surname><given-names>M</given-names></name><name><surname>Chavlis</surname><given-names>S</given-names></name><name><surname>Poirazi</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>Introducing the Dendrify framework for incorporating dendrites to spiking neural networks</article-title><source>Nature Communications</source><volume>14</volume><elocation-id>131</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-022-35747-8</pub-id></element-citation></ref><ref id="bib66"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Park</surname><given-names>J</given-names></name><name><surname>Papoutsi</surname><given-names>A</given-names></name><name><surname>Ash</surname><given-names>RT</given-names></name><name><surname>Marin</surname><given-names>MA</given-names></name><name><surname>Poirazi</surname><given-names>P</given-names></name><name><surname>Smirnakis</surname><given-names>SM</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Contribution of apical and basal dendrites to orientation encoding in mouse V1 L2/3 pyramidal neurons</article-title><source>Nature Communications</source><volume>10</volume><elocation-id>5372</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-019-13029-0</pub-id></element-citation></ref><ref id="bib67"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Petousakis</surname><given-names>K</given-names></name><name><surname>Apostolopoulou</surname><given-names>AA</given-names></name><name><surname>Poirazi</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2023">2023a</year><article-title>The impact of Hodgkin–Huxley models on dendritic research</article-title><source>The Journal of Physiology</source><volume>601</volume><fpage>3091</fpage><lpage>3102</lpage><pub-id pub-id-type="doi">10.1113/JP282756</pub-id></element-citation></ref><ref id="bib68"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Petousakis</surname><given-names>KE</given-names></name><name><surname>Park</surname><given-names>J</given-names></name><name><surname>Papoutsi</surname><given-names>A</given-names></name><name><surname>Smirnakis</surname><given-names>S</given-names></name><name><surname>Poirazi</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2023">2023b</year><article-title>Modeling apical and basal tree contribution to orientation selectivity in a mouse primary visual cortex layer 2/3 pyramidal cell</article-title><source>eLife</source><volume>12</volume><elocation-id>e91627</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.91627</pub-id><pub-id pub-id-type="pmid">38054403</pub-id></element-citation></ref><ref id="bib69"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Podlaski</surname><given-names>WF</given-names></name><name><surname>Seeholzer</surname><given-names>A</given-names></name><name><surname>Groschner</surname><given-names>LN</given-names></name><name><surname>Miesenböck</surname><given-names>G</given-names></name><name><surname>Ranjan</surname><given-names>R</given-names></name><name><surname>Vogels</surname><given-names>TP</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Mapping the function of neuronal ion channels in model and experiment</article-title><source>eLife</source><volume>6</volume><elocation-id>e22152</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.22152</pub-id><pub-id pub-id-type="pmid">28267430</pub-id></element-citation></ref><ref id="bib70"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Poirazi</surname><given-names>P</given-names></name><name><surname>Brannon</surname><given-names>T</given-names></name><name><surname>Mel</surname><given-names>BW</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Pyramidal neuron as two-layer neural network</article-title><source>Neuron</source><volume>37</volume><fpage>989</fpage><lpage>999</lpage><pub-id pub-id-type="doi">10.1016/S0896-6273(03)00149-1</pub-id></element-citation></ref><ref id="bib71"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Polsky</surname><given-names>A</given-names></name><name><surname>Mel</surname><given-names>BW</given-names></name><name><surname>Schiller</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Computational subunits in thin dendrites of pyramidal cells</article-title><source>Nature Neuroscience</source><volume>7</volume><fpage>621</fpage><lpage>627</lpage><pub-id pub-id-type="doi">10.1038/nn1253</pub-id><pub-id pub-id-type="pmid">15156147</pub-id></element-citation></ref><ref id="bib72"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Poolos</surname><given-names>NP</given-names></name><name><surname>Migliore</surname><given-names>M</given-names></name><name><surname>Johnston</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Pharmacological upregulation of h-channels reduces the excitability of pyramidal neuron dendrites</article-title><source>Nature Neuroscience</source><volume>5</volume><fpage>767</fpage><lpage>774</lpage><pub-id pub-id-type="doi">10.1038/nn891</pub-id><pub-id pub-id-type="pmid">12118259</pub-id></element-citation></ref><ref id="bib73"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rall</surname><given-names>W</given-names></name></person-group><year iso-8601-date="1959">1959</year><article-title>Branching dendritic trees and motoneuron membrane resistivity</article-title><source>Experimental Neurology</source><volume>1</volume><fpage>491</fpage><lpage>527</lpage><pub-id pub-id-type="doi">10.1016/0014-4886(59)90046-9</pub-id><pub-id pub-id-type="pmid">14435979</pub-id></element-citation></ref><ref id="bib74"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ranjan</surname><given-names>R</given-names></name><name><surname>Khazen</surname><given-names>G</given-names></name><name><surname>Gambazzi</surname><given-names>L</given-names></name><name><surname>Ramaswamy</surname><given-names>S</given-names></name><name><surname>Hill</surname><given-names>SL</given-names></name><name><surname>Schürmann</surname><given-names>F</given-names></name><name><surname>Markram</surname><given-names>H</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Channelpedia: an integrative and interactive database for ion channels</article-title><source>Frontiers in Neuroinformatics</source><volume>5</volume><elocation-id>36</elocation-id><pub-id pub-id-type="doi">10.3389/fninf.2011.00036</pub-id><pub-id pub-id-type="pmid">22232598</pub-id></element-citation></ref><ref id="bib75"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ranjan</surname><given-names>R</given-names></name><name><surname>Logette</surname><given-names>E</given-names></name><name><surname>Dorp</surname><given-names>SV</given-names></name><name><surname>Kalaimaken</surname><given-names>HA</given-names></name><name><surname>Herzog</surname><given-names>M</given-names></name><name><surname>Joffraud</surname><given-names>MSE</given-names></name><name><surname>Scantamburlo</surname><given-names>E</given-names></name><name><surname>Johnston</surname><given-names>KG</given-names></name><name><surname>Journe</surname><given-names>A</given-names></name><name><surname>Markram</surname><given-names>H</given-names></name></person-group><year iso-8601-date="2024">2024</year><article-title>Channelome: A comprehensive resource for voltage-gated ion channel kinetics</article-title><source>Biophysical Journal</source><volume>123</volume><elocation-id>527a</elocation-id><pub-id pub-id-type="doi">10.1016/j.bpj.2023.11.3186</pub-id></element-citation></ref><ref id="bib76"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Reuveni</surname><given-names>I</given-names></name><name><surname>Friedman</surname><given-names>A</given-names></name><name><surname>Amitai</surname><given-names>Y</given-names></name><name><surname>Gutnick</surname><given-names>MJ</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Stepwise repolarization from Ca2+ plateaus in neocortical pyramidal cells: evidence for nonhomogeneous distribution of HVA Ca2+ channels in dendrites</article-title><source>The Journal of Neuroscience</source><volume>13</volume><fpage>4609</fpage><lpage>4621</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.13-11-04609.1993</pub-id><pub-id pub-id-type="pmid">8229187</pub-id></element-citation></ref><ref id="bib77"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Reva</surname><given-names>M</given-names></name><name><surname>Rössert</surname><given-names>C</given-names></name><name><surname>Arnaudon</surname><given-names>A</given-names></name><name><surname>Damart</surname><given-names>T</given-names></name><name><surname>Mandge</surname><given-names>D</given-names></name><name><surname>Tuncel</surname><given-names>A</given-names></name><name><surname>Ramaswamy</surname><given-names>S</given-names></name><name><surname>Markram</surname><given-names>H</given-names></name><name><surname>Van Geit</surname><given-names>W</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>A universal workflow for creation, validation, and generalization of detailed neuronal models</article-title><source>Patterns</source><volume>4</volume><elocation-id>100855</elocation-id><pub-id pub-id-type="doi">10.1016/j.patter.2023.100855</pub-id><pub-id pub-id-type="pmid">38035193</pub-id></element-citation></ref><ref id="bib78"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Roy</surname><given-names>A</given-names></name><name><surname>Narayanan</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Spatial information transfer in hippocampal place cells depends on trial-to-trial variability, symmetry of place-field firing, and biophysical heterogeneities</article-title><source>Neural Networks</source><volume>142</volume><fpage>636</fpage><lpage>660</lpage><pub-id pub-id-type="doi">10.1016/j.neunet.2021.07.026</pub-id><pub-id pub-id-type="pmid">34399375</pub-id></element-citation></ref><ref id="bib79"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Roy</surname><given-names>R</given-names></name><name><surname>Narayanan</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>Ion‐channel degeneracy and heterogeneities in the emergence of complex spike bursts in CA3 pyramidal neurons</article-title><source>The Journal of Physiology</source><volume>601</volume><fpage>3297</fpage><lpage>3328</lpage><pub-id pub-id-type="doi">10.1113/JP283539</pub-id></element-citation></ref><ref id="bib80"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Schiller</surname><given-names>J</given-names></name><name><surname>Schiller</surname><given-names>Y</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>NMDA receptor-mediated dendritic spikes and coincident signal amplification</article-title><source>Current Opinion in Neurobiology</source><volume>11</volume><fpage>343</fpage><lpage>348</lpage><pub-id pub-id-type="doi">10.1016/s0959-4388(00)00217-8</pub-id><pub-id pub-id-type="pmid">11399433</pub-id></element-citation></ref><ref id="bib81"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shah</surname><given-names>MM</given-names></name><name><surname>Hammond</surname><given-names>RS</given-names></name><name><surname>Hoffman</surname><given-names>DA</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>Dendritic ion channel trafficking and plasticity</article-title><source>Trends in Neurosciences</source><volume>33</volume><fpage>307</fpage><lpage>316</lpage><pub-id pub-id-type="doi">10.1016/j.tins.2010.03.002</pub-id><pub-id pub-id-type="pmid">20363038</pub-id></element-citation></ref><ref id="bib82"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sinha</surname><given-names>A</given-names></name><name><surname>Gleeson</surname><given-names>P</given-names></name><name><surname>Marin</surname><given-names>B</given-names></name><name><surname>Dura-Bernal</surname><given-names>S</given-names></name><name><surname>Panagiotou</surname><given-names>S</given-names></name><name><surname>Crook</surname><given-names>S</given-names></name><name><surname>Cantarelli</surname><given-names>M</given-names></name><name><surname>Cannon</surname><given-names>RC</given-names></name><name><surname>Davison</surname><given-names>AP</given-names></name><name><surname>Gurnani</surname><given-names>H</given-names></name><name><surname>Silver</surname><given-names>RA</given-names></name></person-group><year iso-8601-date="2024">2024</year><article-title>The NeuroML Ecosystem for standardized multi-scale modeling in neuroscience</article-title><source>eLife</source><volume>12</volume><elocation-id>e95135</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.95135.2</pub-id></element-citation></ref><ref id="bib83"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Smith</surname><given-names>SL</given-names></name><name><surname>Smith</surname><given-names>IT</given-names></name><name><surname>Branco</surname><given-names>T</given-names></name><name><surname>Häusser</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Dendritic spikes enhance stimulus selectivity in cortical neurons in vivo</article-title><source>Nature</source><volume>503</volume><fpage>115</fpage><lpage>120</lpage><pub-id pub-id-type="doi">10.1038/nature12600</pub-id><pub-id pub-id-type="pmid">24162850</pub-id></element-citation></ref><ref id="bib84"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Spencer</surname><given-names>WA</given-names></name><name><surname>Kandel</surname><given-names>ER</given-names></name></person-group><year iso-8601-date="1961">1961</year><article-title>Electrophysiology of hippocampal neurons: IV fast prepotentials</article-title><source>Journal of Neurophysiology</source><volume>24</volume><fpage>272</fpage><lpage>285</lpage><pub-id pub-id-type="doi">10.1152/jn.1961.24.3.272</pub-id><pub-id pub-id-type="pmid">25286477</pub-id></element-citation></ref><ref id="bib85"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Stimberg</surname><given-names>M</given-names></name><name><surname>Brette</surname><given-names>R</given-names></name><name><surname>Goodman</surname><given-names>DF</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Brian 2, an intuitive and efficient neural simulator</article-title><source>eLife</source><volume>8</volume><elocation-id>e47314</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.47314</pub-id><pub-id pub-id-type="pmid">31429824</pub-id></element-citation></ref><ref id="bib86"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Stratford</surname><given-names>K</given-names></name><name><surname>Mason</surname><given-names>A</given-names></name><name><surname>Larkman</surname><given-names>A</given-names></name><name><surname>Major</surname><given-names>G</given-names></name><name><surname>Jack</surname><given-names>J</given-names></name></person-group><year iso-8601-date="1989">1989</year><chapter-title>The modeling of pyramidal neurons in the visual cortex</chapter-title><person-group person-group-type="editor"><name><surname>Durbin</surname><given-names>R</given-names></name><name><surname>Miall</surname><given-names>C</given-names></name><name><surname>Mitchison</surname><given-names>G</given-names></name></person-group><source>The Computing Neuron</source><publisher-loc>London</publisher-loc><publisher-name>Addison-Wesley</publisher-name><fpage>296</fpage><lpage>321</lpage></element-citation></ref><ref id="bib87"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Stuart</surname><given-names>G</given-names></name><name><surname>Spruston</surname><given-names>N</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Determinants of voltage attenuation in neocortical pyramidal neuron dendrites</article-title><source>The Journal of Neuroscience</source><volume>18</volume><fpage>3501</fpage><lpage>3510</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.18-10-03501.1998</pub-id><pub-id pub-id-type="pmid">9570781</pub-id></element-citation></ref><ref id="bib88"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Stuyt</surname><given-names>G</given-names></name><name><surname>Godenzini</surname><given-names>L</given-names></name><name><surname>Palmer</surname><given-names>LM</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Local and global dynamics of dendritic activity in the pyramidal neuron</article-title><source>Neuroscience</source><volume>489</volume><fpage>176</fpage><lpage>184</lpage><pub-id pub-id-type="doi">10.1016/j.neuroscience.2021.07.008</pub-id><pub-id pub-id-type="pmid">34280492</pub-id></element-citation></ref><ref id="bib89"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Takahashi</surname><given-names>N</given-names></name><name><surname>Kitamura</surname><given-names>K</given-names></name><name><surname>Matsuo</surname><given-names>N</given-names></name><name><surname>Mayford</surname><given-names>M</given-names></name><name><surname>Kano</surname><given-names>M</given-names></name><name><surname>Matsuki</surname><given-names>N</given-names></name><name><surname>Ikegaya</surname><given-names>Y</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Locally synchronized synaptic inputs</article-title><source>Science</source><volume>335</volume><fpage>353</fpage><lpage>356</lpage><pub-id pub-id-type="doi">10.1126/science.1210362</pub-id><pub-id pub-id-type="pmid">22267814</pub-id></element-citation></ref><ref id="bib90"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tran-Van-Minh</surname><given-names>A</given-names></name><name><surname>Cazé</surname><given-names>RD</given-names></name><name><surname>Abrahamsson</surname><given-names>T</given-names></name><name><surname>Cathala</surname><given-names>L</given-names></name><name><surname>Gutkin</surname><given-names>BS</given-names></name><name><surname>DiGregorio</surname><given-names>DA</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Contribution of sublinear and supralinear dendritic integration to neuronal computations</article-title><source>Frontiers in Cellular Neuroscience</source><volume>9</volume><elocation-id>67</elocation-id><pub-id pub-id-type="doi">10.3389/fncel.2015.00067</pub-id><pub-id pub-id-type="pmid">25852470</pub-id></element-citation></ref><ref id="bib91"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Van Geit</surname><given-names>W</given-names></name><name><surname>Gevaert</surname><given-names>M</given-names></name><name><surname>Chindemi</surname><given-names>G</given-names></name><name><surname>Rössert</surname><given-names>C</given-names></name><name><surname>Courcol</surname><given-names>J-D</given-names></name><name><surname>Muller</surname><given-names>EB</given-names></name><name><surname>Schürmann</surname><given-names>F</given-names></name><name><surname>Segev</surname><given-names>I</given-names></name><name><surname>Markram</surname><given-names>H</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>BluePyOpt: leveraging open source software and cloud infrastructure to optimise model parameters in neuroscience</article-title><source>Frontiers in Neuroinformatics</source><volume>10</volume><elocation-id>17</elocation-id><pub-id pub-id-type="doi">10.3389/fninf.2016.00017</pub-id><pub-id pub-id-type="pmid">27375471</pub-id></element-citation></ref><ref id="bib92"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>van Versendaal</surname><given-names>D</given-names></name><name><surname>Levelt</surname><given-names>CN</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Inhibitory interneurons in visual cortical plasticity</article-title><source>Cellular and Molecular Life Sciences</source><volume>73</volume><fpage>3677</fpage><lpage>3691</lpage><pub-id pub-id-type="doi">10.1007/s00018-016-2264-4</pub-id><pub-id pub-id-type="pmid">27193323</pub-id></element-citation></ref><ref id="bib93"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Velasco</surname><given-names>I</given-names></name><name><surname>Garcia-Cantero</surname><given-names>JJ</given-names></name><name><surname>Brito</surname><given-names>JP</given-names></name><name><surname>Bayona</surname><given-names>S</given-names></name><name><surname>Pastor</surname><given-names>L</given-names></name><name><surname>Mata</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2024">2024</year><article-title>NeuroEditor: a tool to edit and visualize neuronal morphologies</article-title><source>Frontiers in Neuroanatomy</source><volume>18</volume><elocation-id>1342762</elocation-id><pub-id pub-id-type="doi">10.3389/fnana.2024.1342762</pub-id></element-citation></ref><ref id="bib94"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Virtanen</surname><given-names>P</given-names></name><name><surname>Gommers</surname><given-names>R</given-names></name><name><surname>Oliphant</surname><given-names>TE</given-names></name><name><surname>Haberland</surname><given-names>M</given-names></name><name><surname>Reddy</surname><given-names>T</given-names></name><name><surname>Cournapeau</surname><given-names>D</given-names></name><name><surname>Burovski</surname><given-names>E</given-names></name><name><surname>Peterson</surname><given-names>P</given-names></name><name><surname>Weckesser</surname><given-names>W</given-names></name><name><surname>Bright</surname><given-names>J</given-names></name><name><surname>van der Walt</surname><given-names>SJ</given-names></name><name><surname>Brett</surname><given-names>M</given-names></name><name><surname>Wilson</surname><given-names>J</given-names></name><name><surname>Millman</surname><given-names>KJ</given-names></name><name><surname>Mayorov</surname><given-names>N</given-names></name><name><surname>Nelson</surname><given-names>ARJ</given-names></name><name><surname>Jones</surname><given-names>E</given-names></name><name><surname>Kern</surname><given-names>R</given-names></name><name><surname>Larson</surname><given-names>E</given-names></name><name><surname>Carey</surname><given-names>CJ</given-names></name><name><surname>Polat</surname><given-names>İ</given-names></name><name><surname>Feng</surname><given-names>Y</given-names></name><name><surname>Moore</surname><given-names>EW</given-names></name><name><surname>VanderPlas</surname><given-names>J</given-names></name><name><surname>Laxalde</surname><given-names>D</given-names></name><name><surname>Perktold</surname><given-names>J</given-names></name><name><surname>Cimrman</surname><given-names>R</given-names></name><name><surname>Henriksen</surname><given-names>I</given-names></name><name><surname>Quintero</surname><given-names>EA</given-names></name><name><surname>Harris</surname><given-names>CR</given-names></name><name><surname>Archibald</surname><given-names>AM</given-names></name><name><surname>Ribeiro</surname><given-names>AH</given-names></name><name><surname>Pedregosa</surname><given-names>F</given-names></name><name><surname>van Mulbregt</surname><given-names>P</given-names></name><name><surname>Vijaykumar</surname><given-names>A</given-names></name><name><surname>Bardelli</surname><given-names>AP</given-names></name><name><surname>Rothberg</surname><given-names>A</given-names></name><name><surname>Hilboll</surname><given-names>A</given-names></name><name><surname>Kloeckner</surname><given-names>A</given-names></name><name><surname>Scopatz</surname><given-names>A</given-names></name><name><surname>Lee</surname><given-names>A</given-names></name><name><surname>Rokem</surname><given-names>A</given-names></name><name><surname>Woods</surname><given-names>CN</given-names></name><name><surname>Fulton</surname><given-names>C</given-names></name><name><surname>Masson</surname><given-names>C</given-names></name><name><surname>Häggström</surname><given-names>C</given-names></name><name><surname>Fitzgerald</surname><given-names>C</given-names></name><name><surname>Nicholson</surname><given-names>DA</given-names></name><name><surname>Hagen</surname><given-names>DR</given-names></name><name><surname>Pasechnik</surname><given-names>DV</given-names></name><name><surname>Olivetti</surname><given-names>E</given-names></name><name><surname>Martin</surname><given-names>E</given-names></name><name><surname>Wieser</surname><given-names>E</given-names></name><name><surname>Silva</surname><given-names>F</given-names></name><name><surname>Lenders</surname><given-names>F</given-names></name><name><surname>Wilhelm</surname><given-names>F</given-names></name><name><surname>Young</surname><given-names>G</given-names></name><name><surname>Price</surname><given-names>GA</given-names></name><name><surname>Ingold</surname><given-names>G-L</given-names></name><name><surname>Allen</surname><given-names>GE</given-names></name><name><surname>Lee</surname><given-names>GR</given-names></name><name><surname>Audren</surname><given-names>H</given-names></name><name><surname>Probst</surname><given-names>I</given-names></name><name><surname>Dietrich</surname><given-names>JP</given-names></name><name><surname>Silterra</surname><given-names>J</given-names></name><name><surname>Webber</surname><given-names>JT</given-names></name><name><surname>Slavič</surname><given-names>J</given-names></name><name><surname>Nothman</surname><given-names>J</given-names></name><name><surname>Buchner</surname><given-names>J</given-names></name><name><surname>Kulick</surname><given-names>J</given-names></name><name><surname>Schönberger</surname><given-names>JL</given-names></name><name><surname>de Miranda Cardoso</surname><given-names>JV</given-names></name><name><surname>Reimer</surname><given-names>J</given-names></name><name><surname>Harrington</surname><given-names>J</given-names></name><name><surname>Rodríguez</surname><given-names>JLC</given-names></name><name><surname>Nunez-Iglesias</surname><given-names>J</given-names></name><name><surname>Kuczynski</surname><given-names>J</given-names></name><name><surname>Tritz</surname><given-names>K</given-names></name><name><surname>Thoma</surname><given-names>M</given-names></name><name><surname>Newville</surname><given-names>M</given-names></name><name><surname>Kümmerer</surname><given-names>M</given-names></name><name><surname>Bolingbroke</surname><given-names>M</given-names></name><name><surname>Tartre</surname><given-names>M</given-names></name><name><surname>Pak</surname><given-names>M</given-names></name><name><surname>Smith</surname><given-names>NJ</given-names></name><name><surname>Nowaczyk</surname><given-names>N</given-names></name><name><surname>Shebanov</surname><given-names>N</given-names></name><name><surname>Pavlyk</surname><given-names>O</given-names></name><name><surname>Brodtkorb</surname><given-names>PA</given-names></name><name><surname>Lee</surname><given-names>P</given-names></name><name><surname>McGibbon</surname><given-names>RT</given-names></name><name><surname>Feldbauer</surname><given-names>R</given-names></name><name><surname>Lewis</surname><given-names>S</given-names></name><name><surname>Tygier</surname><given-names>S</given-names></name><name><surname>Sievert</surname><given-names>S</given-names></name><name><surname>Vigna</surname><given-names>S</given-names></name><name><surname>Peterson</surname><given-names>S</given-names></name><name><surname>More</surname><given-names>S</given-names></name><name><surname>Pudlik</surname><given-names>T</given-names></name><name><surname>Oshima</surname><given-names>T</given-names></name><name><surname>Pingel</surname><given-names>TJ</given-names></name><name><surname>Robitaille</surname><given-names>TP</given-names></name><name><surname>Spura</surname><given-names>T</given-names></name><name><surname>Jones</surname><given-names>TR</given-names></name><name><surname>Cera</surname><given-names>T</given-names></name><name><surname>Leslie</surname><given-names>T</given-names></name><name><surname>Zito</surname><given-names>T</given-names></name><name><surname>Krauss</surname><given-names>T</given-names></name><name><surname>Upadhyay</surname><given-names>U</given-names></name><name><surname>Halchenko</surname><given-names>YO</given-names></name><name><surname>Vázquez-Baeza</surname><given-names>Y</given-names></name><collab>SciPy 1.0 Contributors</collab></person-group><year iso-8601-date="2020">2020</year><article-title>SciPy 1.0: fundamental algorithms for scientific computing in Python</article-title><source>Nature Methods</source><volume>17</volume><fpage>261</fpage><lpage>272</lpage><pub-id pub-id-type="doi">10.1038/s41592-019-0686-2</pub-id></element-citation></ref><ref id="bib95"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Westenbroek</surname><given-names>RE</given-names></name><name><surname>Ahlijanian</surname><given-names>MK</given-names></name><name><surname>Catterall</surname><given-names>WA</given-names></name></person-group><year iso-8601-date="1990">1990</year><article-title>Clustering of L-type Ca2+ channels at the base of major dendrites in hippocampal pyramidal neurons</article-title><source>Nature</source><volume>347</volume><fpage>281</fpage><lpage>284</lpage><pub-id pub-id-type="doi">10.1038/347281a0</pub-id><pub-id pub-id-type="pmid">2169591</pub-id></element-citation></ref><ref id="bib96"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wybo</surname><given-names>WA</given-names></name><name><surname>Jordan</surname><given-names>J</given-names></name><name><surname>Ellenberger</surname><given-names>B</given-names></name><name><surname>Marti Mengual</surname><given-names>U</given-names></name><name><surname>Nevian</surname><given-names>T</given-names></name><name><surname>Senn</surname><given-names>W</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Data-driven reduction of dendritic morphologies with preserved dendro-somatic responses</article-title><source>eLife</source><volume>10</volume><elocation-id>e60936</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.60936</pub-id><pub-id pub-id-type="pmid">33494860</pub-id></element-citation></ref><ref id="bib97"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yu</surname><given-names>FH</given-names></name><name><surname>Yarov-Yarovoy</surname><given-names>V</given-names></name><name><surname>Gutman</surname><given-names>GA</given-names></name><name><surname>Catterall</surname><given-names>WA</given-names></name></person-group><year iso-8601-date="2005">2005</year><article-title>Overview of molecular relationships in the voltage-gated ion channel superfamily</article-title><source>Pharmacological Reviews</source><volume>57</volume><fpage>387</fpage><lpage>395</lpage><pub-id pub-id-type="doi">10.1124/pr.57.4.13</pub-id><pub-id pub-id-type="pmid">16382097</pub-id></element-citation></ref><ref id="bib98"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yuste</surname><given-names>R</given-names></name><name><surname>Gutnick</surname><given-names>MJ</given-names></name><name><surname>Saar</surname><given-names>D</given-names></name><name><surname>Delaney</surname><given-names>KR</given-names></name><name><surname>Tank</surname><given-names>DW</given-names></name></person-group><year iso-8601-date="1994">1994</year><article-title>Ca2+ accumulations in dendrites of neocortical pyramidal neurons: An apical band and evidence for two functional compartments</article-title><source>Neuron</source><volume>13</volume><fpage>23</fpage><lpage>43</lpage><pub-id pub-id-type="doi">10.1016/0896-6273(94)90457-X</pub-id></element-citation></ref><ref id="bib99"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zador</surname><given-names>A</given-names></name><name><surname>Koch</surname><given-names>C</given-names></name></person-group><year iso-8601-date="1994">1994</year><article-title>Linearized models of calcium dynamics: formal equivalence to the cable equation</article-title><source>The Journal of Neuroscience</source><volume>14</volume><fpage>4705</fpage><lpage>4715</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.14-08-04705.1994</pub-id><pub-id pub-id-type="pmid">8046445</pub-id></element-citation></ref><ref id="bib100"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname><given-names>Y</given-names></name><name><surname>He</surname><given-names>G</given-names></name><name><surname>Ma</surname><given-names>L</given-names></name><name><surname>Liu</surname><given-names>X</given-names></name><name><surname>Hjorth</surname><given-names>JJJ</given-names></name><name><surname>Kozlov</surname><given-names>A</given-names></name><name><surname>He</surname><given-names>Y</given-names></name><name><surname>Zhang</surname><given-names>S</given-names></name><name><surname>Kotaleski</surname><given-names>JH</given-names></name><name><surname>Tian</surname><given-names>Y</given-names></name><name><surname>Grillner</surname><given-names>S</given-names></name><name><surname>Du</surname><given-names>K</given-names></name><name><surname>Huang</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>A GPU-based computational framework that bridges neuron simulation and artificial intelligence</article-title><source>Nature Communications</source><volume>14</volume><elocation-id>5798</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-023-41553-7</pub-id></element-citation></ref></ref-list></back><sub-article article-type="editor-report" id="sa0"><front-stub><article-id pub-id-type="doi">10.7554/eLife.103324.3.sa0</article-id><title-group><article-title>eLife Assessment</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Schneider-Mizell</surname><given-names>Casey M</given-names></name><role specific-use="editor">Reviewing Editor</role><aff><institution>Allen Institute for Brain Science</institution><country>United States</country></aff></contrib></contrib-group><kwd-group kwd-group-type="evidence-strength"><kwd>Convincing</kwd></kwd-group><kwd-group kwd-group-type="claim-importance"><kwd>Valuable</kwd></kwd-group></front-stub><body><p>Computational simulation of neuron function depends on a collection of morphological properties and ion channel biophysics. This manuscript introduces DendroTweaks, a <bold>valuable</bold> web application and Python library that eases interactive exploration, development, and validation of single-neuron models in an easily installable and well-documented package. The authors provide a <bold>convincing</bold> demonstration that their software aids with building intuition and rapid prototyping of biophysical models of neurons, which improves the accessibility of dendritic simulation.</p></body></sub-article><sub-article article-type="referee-report" id="sa1"><front-stub><article-id pub-id-type="doi">10.7554/eLife.103324.3.sa1</article-id><title-group><article-title>Reviewer #1 (Public review):</article-title></title-group><contrib-group><contrib contrib-type="author"><anonymous/><role specific-use="referee">Reviewer</role></contrib></contrib-group></front-stub><body><p>Summary:</p><p>Dendrotweaks provides to its users a solid tool to implement, visualize, tune, validate, understand, and reduce single-neuron models that incorporate complex dendritic arbors with differential distribution of biophysical mechanisms. The visualization of dendritic segments and biophysical mechanisms therein provide users an intuitive way to understand and appreciate dendritic physiology.</p></body></sub-article><sub-article article-type="referee-report" id="sa2"><front-stub><article-id pub-id-type="doi">10.7554/eLife.103324.3.sa2</article-id><title-group><article-title>Reviewer #2 (Public review):</article-title></title-group><contrib-group><contrib contrib-type="author"><anonymous/><role specific-use="referee">Reviewer</role></contrib></contrib-group></front-stub><body><p>The paper by Makarov et al. describes the software tool called DendroTweaks, intended for examination of multi-compartmental biophysically detailed neuron models. It offers extensive capabilities for working with very complex distributed biophysical neuronal models and should be a useful addition to the growing ecosystem of tools for neuronal modeling.</p><p>Strengths</p><p>• This Python-based tool allows for visualization of a neuronal model's compartments.</p><p>• The tool works with morphology reconstructions in the widely used .swc and .asc formats.</p><p>• It can support many neuronal models using the NMODL language, which is widely used for neuronal modeling.</p><p>• It permits one to plot the properties of linear and non-linear conductances in every compartment of a neuronal model, facilitating examination of model's details.</p><p>• DendroTweaks supports manipulation of the model parameters and morphological details, which is important for exploration of the relations of the model composition and parameters with its electrophysiological activity.</p><p>• The paper is very well written - everything is clear, and the capabilities of the tool are described and illustrated with great attention to details.</p><p>Weaknesses</p><p>• Not a really big weakness, but it would be really helpful if the authors showed how the performance of their tool scales. This can be done for an increasing number of compartments - how long does it take to carry out typical procedures in DendroTweaks, on a given hardware, for a cell model with 100 compartments, 200, 300, and so on? This information will be quite useful to understand the applicability of the software.</p><p>Let me also add here a few suggestions (not weaknesses, but something that can be useful, and if the authors can easily add some of these for publication, that would strongly increase the value of the paper).</p><p>• It would be very helpful to add functionality to read major formats in the field, such as NeuroML and SONATA.</p><p>• Visualization is available as a static 2D projection of the cell's morphology. It would be nice to implement 3D interactive visualization.</p><p>• It is nice that DendroTweaks can modify the models, such as revising the radii of the morphological segments or ionic conductances. It would be really useful then to have the functionality for writing the resulting models into files for subsequent reuse.</p><p>• If I didn't miss something, it seems that DendroTweaks supports allocation of groups of synapses, where all synapses in a group receive the same type of Poisson spike train. It would be very useful to provide more flexibility. One option is to leverage the SONATA format, which has ample functionality for specifying such diverse inputs.</p><p>• &quot;Each session can be saved as a .json file and reuploaded when needed&quot; - do these files contain the whole history of the session or the exact snapshot of what is visualized when the file is saved? If the latter, which variables are saved, and which are not? Please clarify.</p><p>Comments on revisions:</p><p>In this revised version of the paper, the authors addressed all my comments. While many of the suggestions were addressed by textual changes in the manuscript or an explanation in the response to the reviewers (rather than adding substantial new functionality to the tool), DendroTweaks in its current updated state does represent an advanced and useful tool. Further extensions can be added as the development of the tool continues, in interaction with the community.</p></body></sub-article><sub-article article-type="author-comment" id="sa3"><front-stub><article-id pub-id-type="doi">10.7554/eLife.103324.3.sa3</article-id><title-group><article-title>Author response</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Makarov</surname><given-names>Roman</given-names></name><role specific-use="author">Author</role><aff><institution>FORTH Institute of Molecular Biology and Biotechnology</institution><addr-line><named-content content-type="city">Heraklion</named-content></addr-line><country>Greece</country></aff></contrib><contrib contrib-type="author"><name><surname>Chavlis</surname><given-names>Spyridon</given-names></name><role specific-use="author">Author</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03bndpq63</institution-id><institution>Foundation for Research and Technology-Hellas (FORTH)</institution></institution-wrap><addr-line><named-content content-type="city">Heraklion, Crete</named-content></addr-line><country>Greece</country></aff></contrib><contrib contrib-type="author"><name><surname>Poirazi</surname><given-names>Panayiota</given-names></name><role specific-use="author">Author</role><aff><institution>FORTH Institute of Molecular Biology and Biotechnology</institution><addr-line><named-content content-type="city">Heraklion</named-content></addr-line><country>Greece</country></aff></contrib></contrib-group></front-stub><body><p>The following is the authors’ response to the original reviews.</p><disp-quote content-type="editor-comment"><p><bold>Reviewer #1 (Public review):</bold></p><p>Summary:</p><p>Dendrotweaks provides its users with a solid tool to implement, visualize, tune, validate, understand, and reduce single-neuron models that incorporate complex dendritic arbors with differential distribution of biophysical mechanisms. The visualization of dendritic segments and biophysical mechanisms therein provide users with an intuitive way to understand and appreciate dendritic physiology.</p><p>Strengths:</p><p>(1) The visualization tools are simplified, elegant, and intuitive.</p><p>(2) The ability to build single-neuron models using simple and intuitive interfaces.</p><p>(3) The ability to validate models with different measurements.</p><p>(4) The ability to systematically and progressively reduce morphologically-realistic neuronal models.</p><p>Weaknesses:</p><p>(1) Inability to account for neuron-to-neuron variability in structural, biophysical, and physiological properties in the model-building and validation processes.</p></disp-quote><p>We agree with the reviewer that it is important to account for neuron-to-neuron variability. The core approach of DendroTweaks, and its strongest aspect, is the interactive exploration of how morpho-electric parameters affect neuronal activity. In light of this, variability can be achieved through the interactive updating of the model parameters with widgets. In a sense, by adjusting a widget (e.g., channel distribution or kinetics), a user ends up with a new instance of a cell in the parameter space and receives almost real-time feedback on how this change affected neuronal activity. This approach is much simpler than implementing complex optimization protocols for different parameter sets, which would detract from the interactivity aspect of the GUI. In its revised version, DendroTweaks also accounts for neuron-to-neuron morphological variability, as channel distributions are now based on morphological domains (rather than the previous segment-specific approach). This makes it possible to apply the same biophysical configuration across various morphologies. Overall, both biophysical and morphological variability can be explored within DendroTweaks.</p><disp-quote content-type="editor-comment"><p>(2) Inability to account for the many-to-many mapping between ion channels and physiological outcomes. Reliance on hand-tuning provides a single biased model that does not respect pronounced neuron-to-neuron variability observed in electrophysiological measurements.</p></disp-quote><p>We acknowledge the challenge of accounting for degeneracy in the relation between ion channels and physiological outcomes and the importance of capturing neuron-to-neuron variability. One possible way to address this, as we mention in the Discussion, is to integrate automated parameter optimization algorithms alongside the existing interactive hand-tuning with widgets. In its revised version, DendroTweaks can integrate with Jaxley (Deistler et al., 2024) in addition to NEURON. The models created in DendroTweaks can now be run with Jaxley (although not all types of models, see the limitations in the Discussion), and their parameters can be optimized via automated and fast gradient-based parameter optimization, including optimization of heterogeneous channel distributions. In particular, a key advantage of integrating Jaxley with DendroTweaks was its NMODL-to-Python converter, which significantly reduced the need to manually re-implement existing ion channel models for Jaxley (see here: <ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.readthedocs.io/en/latest/tutorials/convert_to_jaxley.html">https://dendrotweaks.readthedocs.io/en/latest/tutorials/convert_to_jaxley.html</ext-link>).</p><p>(1) Michael Deistler, Kyra L. Kadhim, Matthijs Pals, Jonas Beck, Ziwei Huang, Manuel Gloeckler, Janne K. Lappalainen, Cornelius Schröder, Philipp Berens, Pedro J. Gonçalves, Jakob H. Macke Differentiable simulation enables large-scale training of detailed biophysical models of neural dynamics bioRxiv 2024.08.21.608979; doi:<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1101/2024.08.21.608979">https://doi.org/10.1101/2024.08.21.608979</ext-link></p><disp-quote content-type="editor-comment"><p>Lack of a demonstration on how to connect reduced models into a network within the toolbox.</p></disp-quote><p>Building a network of reduced models is an exciting direction, yet beyond the scope of this manuscript, whose primary goal is to introduce DendroTweaks and highlight its capabilities. DendroTweaks is designed for single-cell modeling, aiming to cover its various aspects in great detail. Of course, we expect refined single-cell models, both detailed and simplified, to be further integrated into networks. But this does not need to occur within DendroTweaks. We believe this network-building step is best handled by dedicated network simulation platforms. To facilitate the network-building process, we extended the exporting capabilities of DendroTweaks. To enable the export of reduced models in DendroTweaks’s modular format, as well as in plain simulator code, we implemented a method to fit the resulting parameter distributions to analytical functions (e.g., polynomials). This approach provided a compact representation, requiring a few coefficients to be stored in order to reproduce a distribution, independently of the original segmentation. The reduced morphologies can be exported as SWC files, standardized ion channel models as MOD files, and channel distributions as JSON files. Moreover, plain NEURON code (Python) to instantiate a cell class can be automatically generated for any model, including the reduced ones. Finally, to demonstrate how these exported models can be integrated into larger simulations, we implemented a &quot;toy&quot; network model in a Jupyter notebook included as an example in the GitHub repository. We believe that these changes greatly facilitate the integration of DendroTweaks-produced models into networks while also allowing users to run these networks on their favorite platforms.</p><disp-quote content-type="editor-comment"><p>(4) Lack of a set of tutorials, which is common across many &quot;Tools and Resources&quot; papers, that would be helpful in users getting acquainted with the toolbox.</p></disp-quote><p>This is an important point that we believe has been addressed fully in the revised version of the tool and manuscript. As previously mentioned, the lack of documentation was due to the software's early stage. We have now added comprehensive documentation, which is available at <ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.readthedocs.io">https://dendrotweaks.readthedocs.io</ext-link>. This extensive material includes API references, 12 tutorials, 4 interactive Jupyter notebooks, and a series of video tutorials, and it is regularly updated with new content. Moreover, the toolbox's GUI with example models is available through our online platform at <ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.dendrites.gr">https://dendrotweaks.dendrites.gr</ext-link>.</p><disp-quote content-type="editor-comment"><p><bold>Reviewer #2 (Public review):</bold></p><p>The paper by Makarov et al. describes the software tool called DendroTweaks, intended for the examination of multi-compartmental biophysically detailed neuron models. It offers extensive capabilities for working with very complex distributed biophysical neuronal models and should be a useful addition to the growing ecosystem of tools for neuronal modeling.</p><p>Strengths</p><p>(1) This Python-based tool allows for visualization of a neuronal model's compartments.</p><p>(2) The tool works with morphology reconstructions in the widely used .swc and .asc formats.</p><p>(3) It can support many neuronal models using the NMODL language, which is widely used for neuronal modeling.</p><p>(4) It permits one to plot the properties of linear and non-linear conductances in every compartment of a neuronal model, facilitating examination of the model's details.</p><p>(5) DendroTweaks supports manipulation of the model parameters and morphological details, which is important for the exploration of the relations of the model composition and parameters with its electrophysiological activity.</p><p>(6) The paper is very well written - everything is clear, and the capabilities of the tool are described and illustrated with great attention to detail.</p><p>Weaknesses</p><p>(1) Not a really big weakness, but it would be really helpful if the authors showed how the performance of their tool scales. This can be done for an increasing number of compartments - how long does it take to carry out typical procedures in DendroTweaks, on a given hardware, for a cell model with 100 compartments, 200, 300, and so on? This information will be quite useful to understand the applicability of the software.</p></disp-quote><p>DendroTweaks functions as a layer on top of a simulator. As a result, its performance scales in the same way as for a given simulator. The GUI currently displays the time taken to run a simulation (e.g., in NEURON) at the bottom of the Simulation tab in the left menu. While Bokeh-related processing and rendering also consume time, this is not as straightforward to measure. It is worth noting, however, that this time is short and approximately equivalent to rendering the corresponding plots elsewhere (e.g., in a Jupyter notebook), and thus adds negligible overhead to the total simulation time.</p><disp-quote content-type="editor-comment"><p>(2) Let me also add here a few suggestions (not weaknesses, but something that can be useful, and if the authors can easily add some of these for publication, that would strongly increase the value of the paper).</p><p>(3) It would be very helpful to add functionality to read major formats in the field, such as NeuroML and SONATA.</p></disp-quote><p>We agree with the reviewer that support for major formats will substantially improve the toolbox, ensuring the reproducibility and reusability of the models. While integration with these formats has not been fully implemented, we have taken several steps to ensure elegant and reproducible model representation. Specifically, we have increased the modularity of model components and developed a custom compact data format tailored to single-cell modeling needs. We used a JSON representation inspired by the Allen Cell Types Database schema, modified to account for non-constant distributions of the model parameters. We have transitioned from a representation of parameter distributions dependent on specific segmentation graphs and sections to a more generalized domain-based distribution approach. In this revised methodology, segment groups are no longer explicitly defined by segment identifiers, but rather by specification of anatomical domains and conditional expressions (e.g., “select all segments in the apical domain with the maximum diameter &lt; 0.8 µm”). Additionally, we have implemented the export of experimental protocols into CSV and JSON files, where the JSON files contain information about the stimuli (e.g., synaptic conductance, time constants), and the CSV files store locations of recording sites and stimuli. These features contribute toward a higher-level, structured representation of models, which we view as an important step toward eventual compatibility with standard formats such as NeuroML and SONATA. We have also initiated a two-way integration between DendroTweaks and SONATA. We developed a converter from DendroTweaks to SONATA that automatically generates SONATA files to reproduce models created in DendroTweaks. Additionally, support for the DendroTweaks JSON representation of biophysical properties will be added to the SONATA data format ecosystem, enabling models with complex dendritic distributions of channels. This integration is still in progress and will be included in the next version of DendroTweaks. While full integration with these formats is a goal for future releases, we believe the current enhancements to modularity and exportability represent a significant step forward, providing immediate value to the community.</p><disp-quote content-type="editor-comment"><p>(4) Visualization is available as a static 2D projection of the cell's morphology. It would be nice to implement 3D interactive visualization.</p></disp-quote><p>We offer an option to rotate a cell around the Y axis using a slider under the plot. This is a workaround, as implementing a true 3D visualization in Bokeh would require custom Bokeh elements, along with external JavaScript libraries. It's worth noting that there are already specialized tools available for 3D morphology visualization. In light of this, while a 3D approach is technically feasible, we advocate for a different method. The core idea of DendroTweaks’ morphology exploration is that each section is “clickable”, allowing its geometric properties to be examined in a 2D &quot;Section&quot; view. Furthermore, we believe the &quot;Graph&quot; view presents the overall cell topology and distribution of channels and synapses more clearly.</p><disp-quote content-type="editor-comment"><p>(5) It is nice that DendroTweaks can modify the models, such as revising the radii of the morphological segments or ionic conductances. It would be really useful then to have the functionality for writing the resulting models into files for subsequent reuse.</p></disp-quote><p>This functionality is fully available in local installations. Users can export JSON files with channel distributions and SWC files after morphology reduction through the GUI. Please note that for resource management purposes, file import/export is disabled on the public online demo. However, it can be enabled upon local installation by modifying the configuration file (app/default_config.json). In addition, it is now possible to generate plain NEURON (Python) code to reproduce a given model outside the toolbox (e.g., for network simulations). Moreover, it is now possible to export the simulation protocols as CSV files for locations of stimuli and recordings and JSON files for stimuli parameters.</p><disp-quote content-type="editor-comment"><p>(6) If I didn't miss something, it seems that DendroTweaks supports the allocation of groups of synapses, where all synapses in a group receive the same type of Poisson spike train. It would be very useful to provide more flexibility. One option is to leverage the SONATA format, which has ample functionality for specifying such diverse inputs.</p></disp-quote><p>Currently, each population of “virtual” neurons that form synapses on the detailed cell shares the same set of parameters for both biophysical properties of synapses (e.g., reversal potential, time constants) and presynaptic &quot;population&quot; activity (e.g., rate, onset). The parameter that controls an incoming Poisson spike train is the rate, which is indeed shared across all synapses in a population. Unfortunately, the current implementation lacks the capability to simulate complex synaptic inputs with heterogeneous parameters across individual synapses or those following non-uniform statistical distributions (the present implementation is limited to random uniform distributions). We have added this information in the Discussion (3. Discussion - 3.2 Limitations and future directions - ¶.5) to make users aware of the limitations. As it requires a substantial amount of additional work, we plan to address such limitations in future versions of the toolbox.</p><disp-quote content-type="editor-comment"><p>(7) &quot;Each session can be saved as a .json file and reuploaded when needed&quot; - do these files contain the whole history of the session or the exact snapshot of what is visualized when the file is saved? If the latter, which variables are saved, and which are not? Please clarify.</p></disp-quote><p>In the previous implementation, these files captured the exact snapshot of the model's latest state. In the new version, we adopted a modular approach where the biophysical configuration (e.g., channel distributions) and stimulation protocols are exported to separate files. This allows the user to easily load and switch the stimulation protocols for a given model. In addition, the distribution of parameters (e.g., channel conductances) is now based on the morphological domains and is agnostic of the exact morphology (i.e., sections and segments), which allows the same JSON files with biophysical configurations to be reused across multiple similar morphologies. This also allows for easy file exchange between the GUI and the standalone version.</p><disp-quote content-type="editor-comment"><p><bold>Joint recommendations to Authors:</bold></p><p>The reviewers agreed that the paper is well written and that DendroTweaks offers a useful collection of tools to explore models of single-cell biophysics. However, the tooling as provided with this submission has critical limitations in the capabilities, accessibility, and documentation that significantly limit the utility of DendroTweaks. While we recognize that it is under active development and features may have changed already, we can only evaluate the code and documentation available to us here.</p></disp-quote><p>We thank the reviewers for their positive evaluation of the manuscript and express our sincere appreciation for their feedback. We acknowledge the limitations they have pointed out and have addressed most of these concerns in our revised version.</p><disp-quote content-type="editor-comment"><p>In particular, we would emphasize:</p><p>(1) While the features may be rich, the documentation for either a user of the graphical interface or the library is extremely sparse. A collection of specific tutorials walking a GUI user through simple and complex model examples would be vital for genuine uptake. As one category of the intended user is likely to be new to computational modeling, it would be particularly good if this documentation could also highlight known issues that can arise from the naive use of computational techniques. Similarly, the library aspect needs to be documented in a more standard manner, with docstrings, an API function list, and more didactic tutorials for standard use cases.</p></disp-quote><p>DendroTweaks now features comprehensive documentation. The standalone Python library code is well-documented with thorough docstrings. The overall code modularity and readability have improved. The documentation is created using the widely adopted Sphinx generator, making it accessible for external contributors, and it is available via ReadTheDocs <ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.readthedocs.io/en/latest/index.html">https://dendrotweaks.readthedocs.io/en/latest/index.html</ext-link>. The documentation provides a comprehensive set of tutorials (6 basic, 6 advanced) covering all key concepts and workflows offered by the toolbox. Interactive Jupyter notebooks are included in the documentation, along with the quick start guide. All example models also have corresponding notebooks that allow users to build the model from scratch.</p><p>The toolbox has its own online platform, where a quick-start guide for the GUI is available <ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.dendrites.gr/guide.html">https://dendrotweaks.dendrites.gr/guide.html</ext-link>. We have created video tutorials for the GUI covering the basic use cases. Additionally, we have added tips and instructions alongside widgets in the GUI, as well as a status panel that displays application status, warnings, and other information. Finally, we plan to familiarize the community with the toolbox by organizing online and in-person tutorials, as the one recently held at the CNS*2025 conference (<ext-link ext-link-type="uri" xlink:href="https://cns2025florence.sched.com/event/25kVa/building-intuitive-and-efficient-biophysicalmodels-with-jaxley-and-dendrotweaks">https://cns2025florence.sched.com/event/25kVa/building-intuitive-and-efficient-biophysicalmodels-with-jaxley-and-dendrotweaks</ext-link>). Moreover, the toolbox was already successfully used for training young researchers during the Taiwan NeuroAI 2025 Summer School, founded by Ching-Lung Hsu. The feedback was very positive.</p><disp-quote content-type="editor-comment"><p>(2) The paper describes both a GUI web app and a Python library. However, the code currently mixes these two in a way that largely makes sense for the web app but makes it very difficult to use the library aspect. Refactoring the code to separate apps and libraries would be important for anyone to use the library as well as allowing others to host their own DendroTweak servers. Please see the notes from the reviewing editor below for more details.</p></disp-quote><p>The code in the previous `app/model` folder, responsible for the core functionality of the toolbox, has been extensively refactored and extended, and separated into a standalone library. The library is included in the Python package index (PyPI, <ext-link ext-link-type="uri" xlink:href="https://pypi.org/project/dendrotweaks">https://pypi.org/project/dendrotweaks</ext-link>).</p><disp-quote content-type="editor-comment"><p>Notes from the Reviewing Editor Comments (Recommendations for the authors):</p><p>(1) While one could import morphologies and use a collection of ion channel models, details of synapse groups and stimulation approaches appeared to be only configurable manually in the GUI. The ability to save and load full neuron and simulation states would be extremely useful for reproducibility and sharing data with collaborators or as an interactive data product with a publication. There is a line in the text about saving states as json files (also mentioned by Reviewer #2), but I could see no such feature in the version currently online.</p></disp-quote><p>We decided to reserve the online version for demonstration and educational purposes, with more example models being added over time. However, this functionality is available upon local installation of the app (and after specifying it in the ‘default_config.json’ in the root directory of the app). We’ve adopted a modular model representation to store separately morphology, channel models, biophysical parameters, and stimulation protocols.</p><disp-quote content-type="editor-comment"><p>(2) Relatedly, GUI exploration of complex data is often a precursor to a more automated simulation run. An easy mechanism to go from a user configuration to scripting would be useful to allow the early strength of GUIs to feed into the power of large-scale scripting.</p></disp-quote><p>Any model could be easily exported to a modular DendroTweaks representation and later imported either in the GUI or in the standalone version programmatically. This ensures a seamless transition between the two use cases.</p><disp-quote content-type="editor-comment"><p>(3) While the paper discusses DendroTweaks as both a GUI and a python library, the zip file of code in the submission is not in good form as a library. Back-end library code is intermingled with front-end web app code, which limits the ability to install the library from a standard python interface like PyPI. API documentation is also lacking. Functions tend to not have docstrings, and the few that do, do not follow typical patterns describing parameters and types.</p></disp-quote><p>As stated above, all these issues have been resolved in the new version of the toolbox. The library code is now housed in a separate repository <ext-link ext-link-type="uri" xlink:href="https://github.com/Poirazi-Lab/DendroTweaks">https://github.com/Poirazi-Lab/DendroTweaks</ext-link> and included in PyPI <ext-link ext-link-type="uri" xlink:href="https://pypi.org/project/dendrotweaks">https://pypi.org/project/dendrotweaks</ext-link>. The classes and public methods follow Numpy-style docstrings, and the API reference is available in the documentation: <ext-link ext-link-type="uri" xlink:href="https://dendrotweaks.readthedocs.io/en/latest/genindex.html">https://dendrotweaks.readthedocs.io/en/latest/genindex.html</ext-link>.</p><disp-quote content-type="editor-comment"><p>(4) Library installation is very difficult. The requirements are currently a lockfile, fully specifying exact versions of all dependencies. This is exactly correct for web app deployment to maintain consistency, but is not feasible in the context of libraries where you want to have minimal impact on a user's environment. Refactoring the library from the web app is critical for making DendroTweaks usable in both forms described in the paper.</p><p>The lockfile makes installation more or less impossible on computer setups other than that of the author. Needless to say, this is not acceptable for a tool, and I would encourage the authors to ask other people to attempt to install their code as they describe in the text. For example, attempting to create a conda environment from the environment.yml file on an M1 MacBook Pro failed because it could not find several requirements. I was able to get it to install within a Linux docker image with the x86 platform specified, but this is not generally viable. To make this be the tool it is described as in text, this must be resolved. A common pattern that would work well here is to have a requirements lockfile and Docker image for the web app that imports a separate, more minimally restrictive library package with that could be hosted on PyPI or, less conveniently, through conda-forge.</p></disp-quote><p>The installation of the standalone library is now straightforward via pip install dendrotweaks.On the Windows platform, however, manual installation of NEURON is required as described in the official NEURON documentation <ext-link ext-link-type="uri" xlink:href="https://nrn.readthedocs.io/en/8.2.6/install/install_instructions.html#windows">https://nrn.readthedocs.io/en/8.2.6/install/install_instructions.html#windows</ext-link>.</p><disp-quote content-type="editor-comment"><p>(5) As an aside, to improve potential uptake, the authors might consider an MIT-style license rather than the GNU Public License unless they feel strongly about the GPL. Many organizations are hesitant to build on GPL software because of the wide-ranging demands it places on software derived from or using GPL code.</p></disp-quote><p>We thank the editor for this suggestion. We are considering changing the licence to MPL 2.0. It will maintain copyleft restrictions only on the package files while allowing end-users to freely choose their own license for any derived work, including the models, generated data files, and code that simply imports and uses our package.</p><disp-quote content-type="editor-comment"><p><bold>Reviewer #1 (Recommendations for the authors):</bold></p><p>(1) Abstract: Neurons rely on the interplay between dendritic morphology and ion channels to transform synaptic inputs into a sequence of somatic spikes. Technically, this would have to be morphology, ion channels, pumps, transporters, exchangers, buffers, calcium stores, and other molecules. For instance, if the calcium buffer concentration is large, then there would be less free calcium for activating the calcium-activated potassium channels. If there are different chloride co-transporters - NKCC vs. KCC - expressed in the neuron or different parts of the neuron, that would alter the chloride reversal for all the voltage- or ligand-gated chloride channels in the neuron. So, while morphology and ion channels are two important parts of the transformation, it would be incorrect to ignore the other components that contribute to the transformation. The statement might be revised to make these two components as two critical components.</p></disp-quote><p>The phrase “Two critical components” was added as it was suggested by the reviewer.</p><disp-quote content-type="editor-comment"><p>(2) Section 2.1 - The overall GUI looks intuitive and simple.</p><p>(3) Section 2.2</p><p>(a) The Graph view of morphology, especially accounting for the specific d_lambda is useful.</p><p>(b) &quot;Note that while microgeometry might not significantly affect the simulation at a low spatial resolution (small number of segments) due to averaging, it can introduce unexpected cell behavior at a higher level of spatial discretization.&quot;</p><p>It might be good to warn the users that the compartmentalization and error analyses are with reference to the electrical lambda. If users have to account for calcium microdomains, these analyses wouldn't hold given the 2 orders of magnitude differences between the electrical and the calcium lambdas (e.g., Zador and Koch, J Neuroscience, 1994). Please sensitize users that the impact of active dendrites in regulating calcium microdomains and signaling is critical when it comes to plasticity models in morphologically realistic structures.</p></disp-quote><p>We thank the reviewer for this important point. We have clarified in the text that our spatial discretization specifically refers to the electrical length constant. We acknowledge that electrical and chemical processes operate on fundamentally different spatial and temporal scales, which requires special consideration when modeling phenomena like synaptic plasticity. We have sensitized users about this distinction. However, we do not address such examples in the manuscript, thus leaving the detailed discussion of non-electrical compartmentalization beyond the scope of this work.</p><disp-quote content-type="editor-comment"><p>(c) I am not very sure if the &quot;smooth&quot; tool for diameters that is illustrated is useful. Users shouldn't consider real variability in morphology as artifacts of reconstruction. As mentioned above, while this might not be an issue with electrical compartmentalization, calcium compartmentalization will severely be affected by small changes in morphology. Any model that incorporates calcium-gated channels should appropriately compartmentalize calcium. Without this, the spread of activation of calcium-dependent conductances would be an overestimate. Even small changes in cellular shape and curvature can have large impacts when it comes to signaling in terms of protein aggregation and clustering.</p></disp-quote><p>Although this functionality is still available in the toolbox, we have removed the emphasis from it in the manuscript. Nevertheless, for the purpose of addressing the reviewer’s comment, we provide an example when this “smoothening” might be needed:please see Figure S1 from Tasciotti et al. 2025.</p><p>(2) Simone Tasciotti, Daniel Maxim Iascone, Spyridon Chavlis, Luke Hammond, Yardena Katz, Attila Losonczy, Franck Polleux, Panayiota Poirazi. From Morphology to Computation: How Synaptic Organization Shapes Place Fields in CA1 Pyramidal Neurons bioRxiv 2025.05.30.657022; doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1101/2025.05.30.657022">https://doi.org/10.1101/2025.05.30.657022</ext-link></p><disp-quote content-type="editor-comment"><p>(4) Section 2.3</p><p>(a) The graphical representation of channel gating kinetics is very useful.</p><p>(b) Please warn the users that experimental measurements of channel gating kinetics are extremely variable. Taking the average of the sigmoids or the activation/deactivation/inactivation kinetics provides an illusion that each channel subtype in a given cell type has fixed values of V_1/2, k, delta, and tau, but it is really a range obtained from several experiments. The heterogeneity is real and reflects cell-to-cell variability in channel gating kinetics, not experimental artifacts. Please sensitize the readers that there is not a single value for these channel parameters.</p></disp-quote><p>This is a fair comment, and it refers to a general problem in neuronal modeling. In DendroTweaks, we follow the approach widely used in the community that indeed doesn't account for heterogeneity. We added a paragraph in the revised manuscript's Discussion (3. Discussion - 3.3 Limitations and future directions - ¶.3) to address this issue.</p><disp-quote content-type="editor-comment"><p>(5) Section 2.4</p><p>(a) Same as above: Please sensitize users that the gradients in channel conductances are measured as an average of measurements from several different cells. This gradient need not be present in each neuron, as there could be variability in location-dependent measurements across cells. The average following a sigmoid doesn't necessarily mean that each neuron will have the channel distributed with that specific sigmoid (or even a sigmoid!) with the specific parametric values that the average reported. This is extremely important because there is an illusion that the gradient is fixed across cells and follows a fixed functional form.</p></disp-quote><p>We added this information to our Discussion in the same paragraph mentioned above.</p><disp-quote content-type="editor-comment"><p>(b) Please provide an example where the half-maximal voltage of a channel varies as a function of distance (such as Poolos et al., Nature Neuroscience, 2002 or Migliore et al., 1999; Colbert and Johnston, 1997). This might require a step-like function in some scenarios. An illustration would be appropriate because people tend to assume that channel gating kinetics are similar throughout the dendrite. Again, please mention that these shifts are gleaned from the average and don't really imply that each neuron must have that specific gradient, given neuron-to-neuron variability in these measurements.</p></disp-quote><p>We thank the reviewer for the provided literature, which we now cite when describing parameter distributions (2. Results - 2.4 Distributing ion channels - ¶.1). Please note that DendroTweaks' programming interface and data format natively support non-linear distribution of kinetic parameters alongside the channel conductances. As for the step-like function, users can either directly apply the built-in step-like distribution function or create it by combining two constant distributions.</p><disp-quote content-type="editor-comment"><p>(6) Section 2.5</p><p>(a) It might be useful to provide a mechanism for implementing the normalization of unitary conductances at the cell body, (as in Magee and Cook, 2000; Andrasfalvy et al., J Neuroscience, 2001). Specifically, users should be able to compute AMPAR conductance values at each segment which would provide a somatic EPSP value of 0.2 mV.</p></disp-quote><p>This functionality is indeed useful and will be added in future releases. Currently, it has been mentioned in the list of known limitations when working with synaptic inputs (3. Discussion - 3.3 Limitations and future directions - ¶.5).</p><disp-quote content-type="editor-comment"><p>(b) Users could be sensitized about differences in decay time constants of GABA_A receptors that are associated with parvalbamin vs. somatostatin neurons. As these have been linked to slow and fast gamma oscillations and different somatodendritic locations along different cell types, this might be useful (e.g., 10.1016/j.neuron.2017.11.033;10.1523/jneurosci.0261-20.2020; 10.7554/eLife.95562.1; 10.3389/fncel.2023.1146278).</p></disp-quote><p>We thank the reviewer for highlighting this important biological detail. DendroTweaks enables users to define model parameters specific to their cell type of interest. For practical reasons, we leave the selection of biologically relevant parameters to the users. However, we will consider adding an explicit example in our tutorials to showcase the toolbox's flexibility in this regard.</p><disp-quote content-type="editor-comment"><p>(7) Section 2.6</p><p>While reducing the morphological complexity has its advantages, users of this tool should be sensitized in this section about how the reduction does not capture all the complexity of the dendritic computation. For instance, the segregation/amplification properties of Polsky et al., 2004, Larkum et al., 2009 would not be captured by a fully reduced model. An example across different levels of reductions, implementing simulations in Figure 7F (but for synapses on the same vs. different branches), would be ideal. Demonstrate segregation/amplification in the full model for the same set of synapses - coming on the same branch/different branch (linear integration of synapses on different branches and nonlinear integration of synapses on the same branch). Then, show that with different levels of reduction, this segregation/amplification vanishes in the reduced model. In addition, while impedance-based approaches account for account for electrical computation, calcium-based computation is not something that is accountable with reduced models, given the small lambda_calcium values. Given the importance of calcium-activated conductances in electrical behaviour, this becomes extremely important to account for and sensitize users to. The lack of such sensitization results in presumptuous reductions that assume that all dendritic computation is accounted for by reduced models!</p></disp-quote><p>We agree with the reviewer that reduction leads to a loss in the complexity of dendritic computation. This has been stated in both the original algorithm paper (Amsalem et al., 2020) and in our manuscript (e.g., 3. Discussion - 3.2 Comparison to existing modeling software - ¶.6). In fact, to address this problem, we extended the functionality of neuron_reduce to allow for multiple levels of morphology reduction. Our motivation for integrating morphology reduction in the toolbox was to leverage the exploratory power of DendroTweaks to assess how different degrees of reduction alter cell integrative properties, determining which computations are preserved, which are lost, and at what specific reduction level these changes occur. Nevertheless, to address this comment, we've made it more explicit in the Discussion that reduction inevitably alters integrative properties and, at a certain level, leads to loss of dendritic computations.</p><disp-quote content-type="editor-comment"><p>(8) Section 2.7</p><p>(a) The validation process has two implicit assumptions:</p><p>(i) There is only one value of physiological measurements that neurons and dendrites are endowed with. The heterogeneity in these measurements even within the same cell type is ignored. The users should be allowed to validate each measurement over a range rather than a single value. Users should be sensitized about the heterogeneity of physiological measurements.</p><p>(ii) The validation process is largely akin to hand-tuning models where a one-to-one mapping of channels to measurements is assumed. For instance, input resistance can be altered by passive properties, by Ih, and by any channel that is active under resting conditions. Firing rate and patterns can be changed by pretty much every single ion channel that expresses along the somatodendritic axis.</p><p>An updated validation process that respects physiological heterogeneities in measurements and accounts for global dependencies would be more appropriate. Please update these to account for heterogeneities and many-to-many mappings between channels and measurements. An ideal implementation would be to incorporate randomized search procedures (across channel parameters spanning neuron-to-neuron variability in channel conductances/gating properties) to find a population of models that satisfy all physiological constraints (including neuron-to-neuron variability in each physiological measurement), rather than reliance on procedures that are akin to hand-tuning models. Such population-based approaches are now common across morphologically-realistic models for different cell types (e.g., Rathour and Narayanan, PNAS, 2014; Basak and Narayanan, J Physiology, 2018; Migliore et al., PLoS Computational Biology, 2018; Basak and Narayanan, Brain Structure and Function, 2020; Roy and Narayanan, Neural Networks, 2021; Roy and Narayanan, J Physiology, 2023; Arnaudon et al., iScience, 2023; Reva et al., Patterns, 2023; Kumari and Narayanan, J Neurophysiology, 2024) and do away with the biases introduced by hand-tuning as well as the assumption of one-to-one mapping between channels and measurements.</p></disp-quote><p>We appreciate the reviewer’s comment and the suggested alternatives to our validation process. We have extended the discussion on these alternative approaches (3. Discussion - 2. Comparison to existing modeling software - ¶.5). However, it is important to note that neither one-value nor one-to-one mapping assumption is imposed in our approach. It is true that validation is performed on a given model instance with fixed single-value parameters. However, users can discover heterogeneity and degeneracy in their models via interactive exploration. In the GUI, a given parameter can be changed, and the influence of this change on model output can be observed in real time. Validation can be run after each change to see whether the model output still falls within a biologically plausible regime or not. This is, of course, time-consuming and less efficient than any automated parameter optimization.</p><p>However, and importantly, this is the niche of DendroTweaks. The approach we provide here can indeed be referred to as model hand-tuning. This is intentional: we aim to complement black-box optimization by exposing the relationship between parameters and model outputs. DendroTweaks is not aimed at automated parameter optimization and is not meant to provide the user with parameter ranges automatically. The built-in validation in DendroTweaks is intended as a lightweight, fast feedback tool to guide manual tuning of dendritic model parameters so as to enhance intuitive understanding and assess the plausibility of outputs, not as a substitute for comprehensive model validation or optimization. The latter can be done using existing frameworks, designed for this purpose, as mentioned by the reviewer.</p><disp-quote content-type="editor-comment"><p>(b) Users could be asked to wait for RMP to reach steady state. For instance, in some of the traces in Figure 7, the current injection is provided before RMP reaches steady-state. In the presence of slow channels (HCN or calcium-activated channels), the RMP can take a while to settle down. Users might be sensitized about this. This would also bring to attention the ability of several resting channels in modulating RMP, and the need to wait for steady-state before measurements are made.</p></disp-quote><p>We agree with the observation and updated the validation process accordingly. We have added functionality for simulation stabilization, allowing users to pre-run a simulation before the main simulation time. For example, model.run(duration=1000, prerun_time=300) could be used to stabilize the model for a period of 300 ms before running the main simulation for 1 s.</p><disp-quote content-type="editor-comment"><p>(c) Strictly speaking, it is incorrect to obtain membrane time constant by fitting a single exponential to the initial part of the sag response (Figure 7A). This may be confirmed in the model by setting HCN to zero (strictly all active channel conductances to zero), obtaining the voltage-response to a pulse current, fitting a double exponential (as Rall showed, for a finite cable or for a real neuron, a single exponential would yield incorrect values for the tau) to the voltage response, and mapping membrane time constant to the slower of the two time-constants (in the double exponential fit). This value will be very different from what is obtained in Figure 7A. Please correct this, with references to Rall's original papers and to electrophysiological papers that use this process to assess membrane properties of neurons and their dendrites (e.g., Stuart and Spruston, J Neurosci, 1998; Golding and Spruston, J Physiology, 2005).</p></disp-quote><p>We updated the algorithm for calculating the membrane time constant based on the reviewer's suggestions and added the suggested references. The time constant is now obtained in a model with blocked HCN channels (setting maximal conductance to 0) via a double exponential fit, taking the slowest component.</p><disp-quote content-type="editor-comment"><p>(9) Section 3</p><p>(a) May be good to emphasize the many-to-many mapping between ion channels and neuronal functions here in detail, and on how to explore this within the Dendrotweaks framework.</p></disp-quote><p>We have added a paragraph in the Discussion that addresses both the problems of heterogeneity and degeneracy in biological neurons and neuronal models (3. Discussion - 3.3 Limitations and future directions - ¶.3)</p><disp-quote content-type="editor-comment"><p>(b) May be good to have a specific section either here or in results about how the different reduced models can actually be incorporated towards building a network.</p></disp-quote><p>As mentioned earlier, building a network of reduced models is a promising new direction. However, it is beyond the scope of this manuscript, whose primary goal is to introduce DendroTweaks and highlight its capabilities. DendroTweaks is designed for single-cell modeling and provides export capabilities that allow integrating it into broader workflows, including network modeling. We have added a paragraph in the manuscript (3. Discussion - 3.1 Conceptual and implementational accessibility - ¶.2) that addresses how DendroTweaks could be used alongside other software, in particular for scaling up single-cell models to the network level.</p><disp-quote content-type="editor-comment"><p>(10) Section 4</p><p>(a) Section 4.3: In the second sentence (line 568), the &quot;first Kirchhoff's law&quot; within parentheses immediately after Q=CV gives an illusion that Q=CV is the first Kirchhoff's law! Please state that this is with reference to the algebraic sum of currents at a node.</p></disp-quote><p>We have corrected the equations and apologize for this oversight.</p><disp-quote content-type="editor-comment"><p>(b) Table 1: In the presence of active ion channels, input resistance, membrane time constant, and voltage attenuation are not passive properties. Input resistance is affected by any active channel that is active at rest (HCN, Kir, A-type K+ through the window current, etc). The same holds for membrane time constant and voltage attenuation as well. This could be made clear by stating if these measurements are obtained in the presence or absence of active ion channels. In real neurons, all these measurements are affected by active ion channels; so, ideally, these are also active properties, not passive! Also, please mention that in the presence of resonating channels (e.g., HCN, M-type K+), a single exponential fit won't be appropriate to obtain tau, given the presence of sag.</p></disp-quote><p>We thank the reviewer for pointing out this ambiguity. What the term “Passive” means in Table 1 (e.g., for the input resistance, R_in) is that the minimal set of parameters needed to validate R_in are the passive ones (i.e., Cm, Ra, and Leak). We have changed the table listing to reflect this.</p><disp-quote content-type="editor-comment"><p><bold>Reviewer #2 (Recommendations for the authors):</bold></p><p>(1) Figure 2B and the caption to Figure 2F show and describe the diameter of the sections, whereas the image in Figure 2F shows the radius. Which is the correct one?</p></disp-quote><p>The reason for this is that Figure 2B shows the sections' geometry as it is represented in NEURON, i.e., with diameters, while Figure 2F shows the geometry as it is represented in an SWC file (as these changes are made based on the SWC file). Nevertheless, as mentioned earlier, we decided to remove panel F from the figure in the new version, to present a more important panel on tree graph representations.</p><disp-quote content-type="editor-comment"><p>(2) &quot;Each segment can be viewed as an equivalent RC circuit representing a part of the membrane&quot;. The example in Figure 2B is perhaps a relatively simple case. For more complex cases where multiple nonlinear conductances are present in each section, would it be possible to show each of these conductances explicitly? If yes, it would be nice to illustrate that.</p></disp-quote><p>We would like to clarify that &quot;can be viewed&quot; here was intended to mean &quot;can be considered,&quot; and we have updated the text accordingly. The schematic RC circuits were added to the corresponding figure for illustration purposes only and are not present in the GUI, as this would indeed be impractical for multiple conductances.</p><disp-quote content-type="editor-comment"><p>(3) Some extra citations could be added. For example, it is a little strange that BRIAN2 is mentioned, but NEST is not. It might be worth mentioning and citing it. Also, the Allen Cell Types Database is mentioned, but no citation for it is given. It could be useful to add such citations (<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41593-019-0417-0">https://doi.org/10.1038/s41593-019-0417-0</ext-link>, <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41467-017-02718-3">https://doi.org/10.1038/s41467-017-02718-3</ext-link>).</p></disp-quote><p>Brian 2 is extensively used in our lab on its own and as a foundation of the Dendrify library (Pagkalos et al., 2023). As stated in the discussion, we are considering bridging reduced Hodgkin-Huxley-type models to Dendrify leaky integrate-and-fire type models. For these reasons, Brian 2 is mentioned in the discussion. However, we acknowledge that our previous overview omitted references to some key software, which have now been added to the updated manuscript. We appreciate the reviewer providing references that we had overlooked.</p><p>(3) Pagkalos, M., Chavlis, S. &amp; Poirazi, P. Introducing the Dendrify framework for incorporating dendrites to spiking neural networks. Nat Commun 14, 131 (2023). <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41467-022-35747-8">https://doi.org/10.1038/s41467-022-35747-8</ext-link></p></body></sub-article></article>