Jammy2211 / PyAutoGalaxy

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

Feature/hyper cleanup #95

Closed Jammy2211 closed 1 year ago

Jammy2211 commented 1 year ago

We no longer require hyper-galaxies to increase the noise in regions of an image fit which are poor, because multi-Gaussian expansions leave far fewer residuals for a galaxy fit.

The functionality associated with this takes up a lot of the source code and is cumbersome to maintain. However, I did not want to remove it entirely, because it may be necessary in the future.

All hyper functionality has therefore been isolated to a legacy module, out the way.

I have also removed all high-level examples for hyper function (e.g. in the workspace), removes the image sky / noise map features, removed it from SLaM pipelines.

Any functionality associated with adapting a pixelization mesh / regularization now uses the term adapt instead of hyper (e.g. HyperSetup -> AdaptSetup, hyper_dataset -> adapt_dataset).

rhayes777 commented 1 year ago

Crazy.

The hyper code was always pretty ugly so I'd consider removing it entirely.