API reference#

Generated from the package. Most things documented here are importable directly from the top level (from minisim import ...); the testing helpers live in the minisim.testing submodule.

At a glance#

Symbol

Role

Spec

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

build_spec()

Compose a Scope × Region preset into a Spec.

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.

make_recording() / score()

One-call CI fixture and recovery scorecard (in minisim.testing).