Skip to content

Plot improvements: rename fits functions, new output filenames, fix imports#407

Merged
Jammy2211 merged 1 commit intomainfrom
feature/plot-improvements-3
Mar 26, 2026
Merged

Plot improvements: rename fits functions, new output filenames, fix imports#407
Jammy2211 merged 1 commit intomainfrom
feature/plot-improvements-3

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

  • Rename save_tracer_fitsfits_tracer, save_source_plane_images_fitsfits_source_plane_images in tracer_plots.py and all callers
  • Import fits_fit, fits_galaxy_images, fits_model_galaxy_images from autogalaxy plot module; replace fits_to_fits calls in imaging and interferometer model plotters
  • Strip subplot_ prefix from all fit subplot PNG output filenames (fit.png, tracer.png, fit_log10.png, etc.)
  • Rename of_plane_{n}fit_of_plane_{n} output filenames
  • Update all tests to match new filenames and renamed functions

Test plan

  • python -m pytest test_autolens/ passes

🤖 Generated with Claude Code

…ove subplot_ from PNG filenames

- Rename save_tracer_fits→fits_tracer, save_source_plane_images_fits→fits_source_plane_images
- Import fits_fit, fits_galaxy_images, fits_model_galaxy_images from autogalaxy plot module;
  replace fits_to_fits call in both imaging and interferometer model plotters
- Rename fit_imaging subplot output filenames: strip subplot_ prefix (fit.png, tracer.png, etc.)
- Rename of_plane_{n} → fit_of_plane_{n} output filenames
- Update all tests to match new filenames and function names

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 382b20a into main Mar 26, 2026
4 of 8 checks passed
@Jammy2211 Jammy2211 deleted the feature/plot-improvements-3 branch March 26, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant