Commit d04b958
feat: dispatch autogalaxy visualizers via fit_for_visualization
Closes #389.
- imaging/model/visualizer.py — both single-analysis visualize() and
visualize_combined() multi-analysis path
- interferometer/model/visualizer.py — single-analysis visualize()
PyAutoLens made the same swap in #443 (2026-04-19) when
use_jax_for_visualization landed in autofit. PyAutoGalaxy got matching
pytree registration for FitImaging (#364) and FitInterferometer (#376)
but the dispatch call sites were never swapped, leaving
use_jax_for_visualization=True a silent no-op on autogalaxy. This PR
fixes that.
Safe for the NumPy default path: fit_for_visualization falls back to
fit_from whenever use_jax_for_visualization=False.1 parent 07432c2 commit d04b958
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments