Skip to content

Add SONATA-based instantiation from simulation config #84

@ilkilic

Description

@ilkilic

CircuitSimulation.instantiate_gids() currently requires explicit cell IDs. However, the SONATA simulation config already defines which cells to instantiate via the top-level node_set.


Proposal

Introduce a SONATA-aware entry point, for example:

sim.instantiate_from_config()

This should:

  • read the top-level node_set from the simulation config
  • resolve the corresponding cells internally via libsonata / circuit_access
  • follow SONATA defaults if no node_set is defined

Why

  • Align with SONATA semantics
  • Avoid upfront ID materialization in upstream tools
  • Keep instantiate_gids() as the low-level API for explicit IDs

Note

SONATA target resolution already exists internally, e.g. for stimuli, but not for cell instantiation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions