Jammy2211 / PyAutoGalaxy

PyAutoGalaxy: Open-Source Multiwavelength Galaxy Structure & Morphology

Home Page:https://pyautogalaxy.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redshift prior passing API

Jammy2211 opened this issue · comments

To pass the prior on a redshift we have to write the following code:

redshift=result_1.model.galaxies.lens.redshift.redshift

Could we put an extension into the Redshift class (or in autofit somehow) such that the following would also work:

redshift=result_1.model.galaxies.lens.redshift