Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions autoarray/inversion/mesh/interpolator/rectangular.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,3 +305,10 @@ def _mappings_sizes_weights(self):
sizes = 4 * self._xp.ones(len(mappings), dtype="int")

return mappings, sizes, weights

@cached_property
def _mappings_sizes_weights_split(self):
# Rectangular pixelizations use bilinear interpolation which already factors
# in the 4-corner neighbourhood, so no separate split-cross calculation is
# needed — split regularization reuses the same mappings.
return self._mappings_sizes_weights
Loading