Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

re_init_rng is not considering axons & it is calling the legacy/compatibility hoc function for SONATA cells #16

Open
@anilbey

Description

@anilbey

Hello, there seems to be potentially 2 issues here.

This python function below

Nd.rng123ForStochKvInit(self._ccell)

is calling this hoc function below although that is annotated as legacy. If the cell has the re_init_rng attribute - which is true for the some (maybe even all) SONATA cells (bluepyopt generates the hocs with re_init_rng function in it).
https://github.com/BlueBrain/neurodamus/blob/publication/nbS1-2023/core/hoc/RNGSettings.hoc#L155

the hoc code is iterating over somatic, basal and apical but not axon. AFAIK some axons may also have StochKvs. (cc @wvangeit)
There is also myelin, though I am not sure if it should be taken into account here.

If this is legacy, shouldn't this be disabled for SONATA cells? (bluecellulab disables it by default).
If it is to be enabled, the axons containing stochkv are currently missed.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions