Jammy2211 / PyAutoGalaxy

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

Feature/result cast #163

Closed Jammy2211 closed 3 months ago

Jammy2211 commented 3 months ago

New API for how the Analysis class returns a Return.

Now, the Analysis class has a Result class attribute, which a user can overwrite with their own custom Result class.

This removes a number of unecessary make_result functions that end up populating Analysis objects and is a cleaner API for users, as shown in the docs updated in this PR.