PetroFit / petrofit

Python package for calculating Petrosian properties and fitting galaxy light profiles
https://petrofit.readthedocs.io
28 stars 7 forks source link

`discretize_model` does not accept `CompoundModel`s. #96

Closed robelgeda closed 2 years ago

robelgeda commented 2 years ago

There is bug in AstroPy where discretize_model does not accept CompoundModels. To temporarily fix this on our end, I have added a modified version of that function to PetroFit (#95). I have opened a PR in AstroPy and we can remove the modified version of the function in PetroFit once AstroPy releases an update.

robelgeda commented 2 years ago

PR in AstroPy has been merged marking as resolved. This makes us dependent on astropy v5.0.3. Marking as resolved but keeping this ticket open until AstroPy release.