Jammy2211 / PyAutoGalaxy

PyAutoGalaxy: Open-Source Multiwavelength Galaxy Structure & Morphology
https://pyautogalaxy.readthedocs.io/
MIT License
26 stars 13 forks source link

Feature/oversample sub transform #165

Closed Jammy2211 closed 3 months ago

Jammy2211 commented 3 months ago

The sub_size input was previously implemented throughout the code base, for example in Array2D, Grid2D and other structures and numerous functions.

However, over sampling functionality is only performed when certain function calls are made, meaning that the sub_size parameter and associated functionality can be moved to a standalone package.

This PR does this, simplifying large parts of the source code.

The whole thing turned into quite a large refactor, so the PR is pretty sprawling.