Skip to content

feature/final_border_fix#212

Merged
Jammy2211 merged 1 commit intomainfrom
featur/final_border_Fix
Feb 11, 2026
Merged

feature/final_border_fix#212
Jammy2211 merged 1 commit intomainfrom
featur/final_border_Fix

Conversation

@Jammy2211
Copy link
Owner

I hate my life...

Fixes an input to relocated_mesh_grid_from, which previously input an over sampled grid when the relocation assumed a non-oversampled grid. This bug lost me a few days, as shocking the nearest neighbor border relocation I removed did not care about this bug... but the ellipse tracing does.

Mesh grid handling:

  • In autoarray/inversion/pixelization/mesh/delaunay.py, updated the mapper_grids_from method to use the provided source_plane_data_grid directly instead of creating a new Grid2DIrregular from the relocated grid, ensuring more accurate and consistent grid mapping.

Voronoi area computation:

  • In autoarray/structures/mesh/delaunay_2d.py, removed the exception handling fallback for Voronoi area calculation in scipy_delaunay, so Voronoi areas are now always computed directly without falling back to barycentric areas in case of errors. This streamlines the area calculation process and removes unnecessary error handling.…rids

@Jammy2211 Jammy2211 merged commit bc233ea into main Feb 11, 2026
8 checks passed
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