Skip to content

feat: cap SimulatorShearYX catalogue size under PYAUTO_SMALL_DATASETS (weak series step 9) - #584

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/weak-small-datasets
Jul 9, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/weak-small-datasets

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

via_tracer_random_positions_from routes n_galaxies through autoarray's new cap_catalogue_size_for_small_datasets (200 → 25 in smoke mode); the explicit user grid of via_tracer_from is deliberately never mutated (tested). With should_simulate already adopted (#581), scripts/weak/modeling.py under PYAUTO_SMALL_DATASETS=1 PYAUTO_TEST_MODE=1 regenerates a 25-galaxy catalogue and completes in ~30 s (vs ~7 min). Closes #583 after merge. Depends on the companion PyAutoArray PR — merge that first.

API Changes

None — internal behaviour of the simulator under a smoke-mode env var; public signatures unchanged.

Validation checklist (--auto run)

🤖 Generated with Claude Code

via_tracer_random_positions_from routes n_galaxies through autoarray's new
cap_catalogue_size_for_small_datasets (200 -> 25 in smoke mode); the explicit
user grid of via_tracer_from is deliberately never mutated. With the
should_simulate adoption already shipped (#581), scripts/weak/modeling.py under
PYAUTO_SMALL_DATASETS=1 + PYAUTO_TEST_MODE=1 now regenerates a 25-galaxy
catalogue and completes in ~30s (vs ~7 min).

Step 9 of the weak-lensing series (#583).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 9, 2026
@Jammy2211
Jammy2211 merged commit f992458 into main Jul 9, 2026
6 of 8 checks passed
@Jammy2211
Jammy2211 deleted the feature/weak-small-datasets branch July 9, 2026 10:48
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Sep 4, 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.

feat: PYAUTO_SMALL_DATASETS support for weak lensing catalogues (weak series step 9)

1 participant