This page is the file specs/TEMPLATE.md of the spam-gui repository, shown as HTML.

: specification

Code: src/spam_gui/modules/<module>/ · Tests: tests/gui/modules/<module>.py, tests/unit/… · Status: draft | in progress | done (SPEC.md section 8 checked)

1. Purpose

2. Steps

The steps in order, as the buttons of the bar show them. For each one:

# Title What the user does there Sub-panes (numbered) ready() message(s) Its results (fingerprint)
1 … … 1. …, 2. … « … » …

Then, per step, what is not obvious from the table: the controls of each sub-pane (with their short labels; details go in tooltips), what is computed and when (at once, on « … », after a short timer), what is shown in the windows (layers, the two images given to windows.setImages), and what makes the step's results out of date (and how that is said, SPEC.md 3.2).

Shared steps used as they are (modules/common/, see specs/common-steps.md): which ones, and with what settings.

Footer (makeFooter), if any: what it shows, whatever the step.

A step shown at any time (anytime = True), if any.

3. State

What the steps share (the module's makeState): each field, which step sets it, which steps read it.

Several binnings, if the module works on large images: which results are kept at each binning, and which are carried to another binning (converted) or made again there, and why (SPEC.md section 5: that choice is the maintainer's).

4. Large images and memory

5. Decisions

Looks and behaviours agreed with the maintainer, each with its reason. One line each, newest last:

6. Tests

7. Open questions