Skip to content

Feature/image mesh jax#197

Merged
Jammy2211 merged 5 commits intomainfrom
feature/image_mesh_jax
Nov 27, 2025
Merged

Feature/image mesh jax#197
Jammy2211 merged 5 commits intomainfrom
feature/image_mesh_jax

Conversation

@Jammy2211
Copy link
Owner

The image_mesh refers to the image-plane grid of (y,x) coordinates which form the source pixel centres of an adaptive source mesh in the source-plane, for example the vertexes of a Delaunay triangulation or centres of Voronoi cells.

The image_mesh was previously implemented inside the Pixelization object, whereby a new image_mesh was made based on parameters which could be fitted for by a search.

Such an approach is not feasible by JAX, and has proven ill posed on occations, therefore this PR makes the image mesh grid something which is computed pre modeling (using the same Overlay / Hilbert objects as before) and passed through the modeling via the AdaptImages.

The AdaptImages are now also explicitly set up during a pipeline by a user.

@Jammy2211 Jammy2211 merged commit 52420b3 into main Nov 27, 2025
8 checks passed
@Jammy2211 Jammy2211 deleted the feature/image_mesh_jax branch November 30, 2025 16:31
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