Jammy2211/PyAutoGalaxy

Redshift prior passing API

Jammy2211 opened this issue · 0 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