A · Temperature interface — persistence + live graph#71
Closed
pskeshu wants to merge 16 commits into
Closed
Conversation
Persistence (session-scoped temperature.jsonl + per-acquisition meta stamp) + live SVG graph (water trace, stepped setpoint) on a Devices-tab card. First slice of the temp-strain experiment prep roadmap (A before B/manual mode). Brainstormed and approved 2026-06-27.
- BurstAcquisition accepts temperature_provider (zero-arg callable); _persist_burst_to_disk injects temperature_stamp() into per-frame metadata["metadata"]["temperature"] and burst.yaml top-level "temperature" - TimelapseOrchestrator accepts temperature_provider and threads it through queue_burst() and _apply_runtime_state() → BurstAcquisition - agent.py passes lambda: temperature_sampler.latest when constructing the orchestrator so live sessions stamp real readings - acquisition_tools: folds temperature_stamp into acq_metadata on every put_volume / register_volume call (volume path) - FileStore.get_volume_meta() accessor added (reads tNNNN.meta.yaml) - tests/test_temperature_stamp.py: TDD — None-guard + volume round-trip
…stale latest, tolerant log read
The water trace, gridlines, and tick labels used .devices-container-map-scoped --map-* vars, so the graph rendered blank outside that container. Promote them to :root-level --temp-* vars (mirroring --temp-setpoint-color) so the component is reusable when manual mode (sub-project B) re-mounts it. Same colors in-app.
Collaborator
Author
|
Superseded by #72 — the temperature + Operations/tactics suite and the new Operate (bottom-cam→SPIM) surface are consolidated onto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sub-project A (base of the temperature-experiment + Operations stack, additive on #58). Temperature persistence + sampler + SVG graph with setpoint line. Whole-branch reviewed; graph Chrome-audited. Kept-as-is pending rig verification. See docs/superpowers/PR-PLAN.md.