PetroFit / petrofit

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

A better API to Compute COGs #98

Open robelgeda opened 2 years ago

robelgeda commented 2 years ago

Given the community's need for COGs, there should be a function specifically to compute COGs. At the moment the user needs to make a segmentation mask. The new function should be able to take regular masks as well (as opposed to segmentation maps from PhotUtils). This function is just a high level API for the functions that are already in PF.

robelgeda commented 2 years ago

It is actually not a fast workflow to construct a Petrosian because Segmentation is required.