Jammy2211 / PyAutoGalaxy

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

Feature/adapt data #149

Closed Jammy2211 closed 5 months ago

Jammy2211 commented 5 months ago

Can now choose whether the adapt_images of a fit use the model_image of each galaxy or the subtracted_image, which is the image of the data minus all other galaxies images.

For PyAutoLens this would be the lens subtracted image.

API:

result.adapt_images_from(use_model_images=True)

result.adapt_images_from(use_model_images=False) # Subtracted images