PetroFit / petrofit

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

Rectangular Images from `model_to_image` #82

Closed robelgeda closed 2 years ago

robelgeda commented 2 years ago

model_to_image should have the ability to make rectangular images.

robelgeda commented 2 years ago

maybe having model_to_image(model, size=(x_size, y_size)), where size can also be an integer, the model center should be changed to center the model rather than have the function do this. This would require a copy of the model but this makes more sense. If this is not the case, we can add a center keyword in the future.