Version 0.5.0
August 28th 2023
This release introduces major upgrades to the PetroFit package. Major changes include refactoring the package to make it easy to use and error estimates on Petrosian and fitted parameters. Please see the changes below and the PetroFit documentation for more information.
PetroFit Enhancements
- Allow users to choose fitters in
fit_model
. #187 - Introduce
TRFLSQFitter
as the default fitter. #187 - Enable
calc_uncertainties
for fitting. This allows users to get paramter errors on fits. #187 - Oversampled PSF in
PSFConvolvedModel2D
. #187 - Remove CircleCI and add GitHub CI workflow. #181
- A new option to address low signal-to-noise ratio issues when measuring
r_99
by allowing the use ofr_80
.
Whiler_80
provides good estimates ofr_50
(r_e
), it can sometimes result in an overestimation ofr_99
.
To ensure accuracy, correction grids can be utilized to estimater_99
fromr_80
. However, we maintain the
Petrosian measurement philosophy that correction grids should be reserved for high-precision measurements. - Error estimates for all Petrosian Radii according to Strauss et. al 2002 Appendix A.3. #169
- Saving/reading profiles to/from file. #169
- Grid generation now has multi-processing support. #169
Moffat2D
andEllipMoffat2D
Deprecated. #157PSFModel
has been depreciated and replaced byPSFConvolvedModel2D
. #156
General bug fixes and small changes
- Remove
DecisionTreeRegressor
. #192 - Change
sklearn
toscikit-learn
. #174 by @astro-nova - Remove
kernel
key word from segmentation functions since PhotUtils no longer accepts them. #169 order_cat
moved to segmentation sub-module. #169source_photometry
moved to segmentation sub-module. #169make_radius_list
moved to utils sub-module. #169- Refactor:
photometry.flux_to_abmag
->utils.hst_flux_to_abmag
. #169 - Refactor: Move
measure_fwhm
fromutils
tomodeling.fitting
. #169 - Depreciate
calculate_photometic_density
. #169 - Depreciate
object_photometry
, now its calledradial_photometry
. #169 - Depreciate
measure_fwhm
. #169 - Change the
bkg_sub
keywords tobg_sub
to match PhotUtils. #158 - Recenter example PSF #159