bluecellulab.circuit.config.sonata_simulation_config

Classes

SonataSimulationConfig(config)

Sonata implementation of SimulationConfig protocol.

class bluecellulab.circuit.config.sonata_simulation_config.SonataSimulationConfig(config)[source]

Sonata implementation of SimulationConfig protocol.

Parameters:

config (str | Path | Simulation)

condition_parameters()[source]

Returns parameters of global condition block of sonataconfig.

Return type:

Conditions

property forward_skip: float | None

forward_skip is removed from SONATA.

get_modifications()[source]

Returns the list of modifications from the conditions block.

Return type:

list[ModificationBase]

get_report_entries()[source]

Returns the ‘reports’ dictionary from the SONATA simulation config.

Each key is a report name, and the value is its configuration.

Return type:

dict[str, dict]

report_file_path(report_cfg, report_key)[source]

Resolve the full path for the report output file.

Parameters:
  • report_cfg (dict)

  • report_key (str)

Return type:

Path

property rng_mode: str

Only Random123 is supported in SONATA.