Skip to content

fix: latent_variables guide reuses quick fit + draws from PDF#123

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/fix-latent-variables-fast
Jul 8, 2026
Merged

fix: latent_variables guide reuses quick fit + draws from PDF#123
Jammy2211 merged 1 commit into
mainfrom
feature/fix-latent-variables-fast

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Consistency change mirroring PyAutoLabs/autolens_workspace#230.

Reuses the shared _quick_fit result via the aggregator (no bespoke fit) and computes latents over 20 PDF draws. Adds the "Controlling the Cost via Config" docstring (latent.yaml = which latents, output.yaml latent_draw_via_pdf = how many draws). Its latents are flux-only/cheap; this keeps the two workspace guides consistent and removes the duplicate fit.

Verified: cold run 63s; medians correct. Notebook regenerated.

🤖 Generated with Claude Code

…Labs/autolens_workspace#230)

Consistency change mirroring the autolens_workspace fix. The guide ran a
bespoke Nautilus fit and computed latents over the full posterior; now it reuses
the shared `_quick_fit.py` result via the aggregator and computes latents over
20 PDF draws (`samples.samples_drawn_randomly_via_pdf_from`). Adds a
"Controlling the Cost via Config" docstring (latent.yaml = which latents,
output.yaml latent_draw_via_pdf = how many draws).

Cold run 63s. Notebook regenerated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XwGFQNneASyEoHJm3RGecm
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 8, 2026
@Jammy2211 Jammy2211 merged commit f92946a into main Jul 8, 2026
8 checks passed
@Jammy2211 Jammy2211 deleted the feature/fix-latent-variables-fast branch July 8, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant