Skip to content

Use catalogue image IDs throughout family fit diagnostics - #891

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/catalogue-family-zooms
Nov 25, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/catalogue-family-zooms

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Carry catalogue IDs such as 210.4c from observed positions into the cluster overview, ranking, image zooms and back-traced source positions. The compact zooms use a common angular scale and the source summary is titled “All back-traced images”. The same panels can be called individually or composed as a family subplot. Tracks #883.

API Changes

PointDataset accepts optional catalogue image IDs. The point-dataset CSV reader and writer round-trip them in the optional image_id column. The public image-detail plot can select one by its catalogue ID. Existing calls use their original one-based image numbers.

Test Plan

  • Ran the full PyAutoLens suite in directory-sized batches. 1,162 passed and 1 expected failure.
  • Rendered the nine author-approved MACS J0416 figures through the gallery producer and matched each PNG to the reviewed file by SHA-256.
  • Exercised catalogue-labelled and numbered figures, CSV validation and round-trips, individual panels and paginated families.
Full API Changes (for automation & release notes)

Added

  • al.PointDataset(..., image_ids=None) accepts one unique, nonempty string per observed position in catalogue order. Point CSV files can carry image_id for any complete family.
  • aplt.plot_family_image_detail(fit, image_id="210.4c") selects an observed image by ID. The existing image_number selector remains available.

Migration

Existing datasets and plotting calls continue to use numerical labels. Supply image_ids when creating a dataset, or add image_id to its CSV, to carry catalogue labels through each panel.

@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Nov 25, 2026
@Jammy2211
Jammy2211 merged commit f216a05 into main Nov 25, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/catalogue-family-zooms branch November 25, 2026 12:55
@pyautolabs-bot pyautolabs-bot Bot removed the pending-release PR queued for the next release build label Nov 25, 2026
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