API reference#

Generated from the package. Everything documented here is importable directly from the top level (from minisim import ...).

At a glance#

Symbol

Role

Spec

The typed, validated recording specification (the input you build).

simulate()

Run the forward pipeline; returns a Recording.

simulate_cached()

As simulate, memoized to disk by spec.cache_key().

simulate_video()

Simulate straight to a grayscale video, streamed to disk.

sweep()

Cartesian-product generator over spec overrides.

Recording

The result: observed movie, ground_truth, per-stage snapshots.

GroundTruth

The exact generators (footprints, traces, spikes, optical fields).

metrics

Score recovered cells, traces, spikes, and motion against truth.