SimConfig#

class snake.core.simulation.SimConfig(max_sim_time=300, seq=<factory>, hardware=<factory>, fov_mm=(192.0, 192.0, 128.0), shape=(192, 192, 128), rng_seed=19290506)[source]#

Bases: object

All base configuration of a simulation.

Methods

__init__

Attributes

fov_mm

max_n_shots

Maximum number of frames.

max_sim_time

res_mm

Voxel resolution in mm.

rng_seed

shape

sim_tr_ms

Simulation resolution in ms.

seq

hardware

Parameters:
_repr_html_(vertical=True)#

Recursive HTML representation for dataclasses.

This function generates an HTML table representation of a dataclass, including nested dataclasses.

Parameters:
  • obj (The dataclass instance.)

  • vertical (bool)

Returns:

str

Return type:

An HTML table string representing the dataclass.

property max_n_shots: int#

Maximum number of frames.

property res_mm: tuple[float, ...]#

Voxel resolution in mm.

property sim_tr_ms: float#

Simulation resolution in ms.