Recent Releases of petrofit
petrofit - Version 0.5.1
Version 0.5.1
August 16th 2024
PetroFit Enhancements
- Update installation requirements for use with
python 3.12. #209
General bug fixes and small changes
- Update rtd to use
ubuntu-22.04. #200 update_default_configremoved sinceastropyno longer needs it. #205- Update rtd to Use
Python 3.11.8. #206 - Update installation requirements for use with
python 3.12. #209 - Remove
astropy_helpersfrom requirements. #209
- Python
Published by robelgeda almost 2 years ago
petrofit - Version 0.5.0
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
TRFLSQFitteras the default fitter. #187 - Enable
calc_uncertaintiesfor 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_99by allowing the use ofr_80. Whiler_80provides 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_99fromr_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
Moffat2DandEllipMoffat2DDeprecated. #157PSFModelhas been depreciated and replaced byPSFConvolvedModel2D. #156
General bug fixes and small changes
- Remove
DecisionTreeRegressor. #192 - Change
sklearntoscikit-learn. #174 by @astro-nova - Remove
kernelkey word from segmentation functions since PhotUtils no longer accepts them. #169 order_catmoved to segmentation sub-module. #169source_photometrymoved to segmentation sub-module. #169make_radius_listmoved to utils sub-module. #169- Refactor:
photometry.flux_to_abmag->utils.hst_flux_to_abmag. #169 - Refactor: Move
measure_fwhmfromutilstomodeling.fitting. #169 - Depreciate
calculate_photometic_density. #169 - Depreciate
object_photometry, now its calledradial_photometry. #169 - Depreciate
measure_fwhm. #169 - Change the
bkg_subkeywords tobg_subto match PhotUtils. #158 - Recenter example PSF #159
- Python
Published by robelgeda almost 3 years ago
petrofit - Version 0.4.1
Version 0.4.1
August 22nd 2022
This marks the last minor release before backward incompatible changes are applied in next release (v0.5). See the v0.5 milestone for upcoming changes.
PetroFit Enhancements
CITATION.rstadded to provide citing and credit information. #130segm_maskcan now take a list of labels which means it is possible to get multiple unmasked sources usingmasked_segm_image#143- Limits of param bounds in
get_default_sersic_boundschanged. #143r_effmin bound set to1e-3.nmin bound set to0.1.ellipmax bound set to0.99.
- Add
GenSersic2Dmodel, which is a Sersic model with generalized ellipse isophot (boxy) parameter. #145 - Implement
PetroApproxwhich is a class with no-PSF polynomials which relate profile paramters such as C2080 and Sersic n. #146
General bug fixes and small changes
- Bug Fix: Example RMS image in docs was not the same size as the example data image. #114
- Bug Fix: Model attribute bug fix in
PSFConvolvedModel2D. #145 - Print out PSF sum if it is not equal to 1. #145
- Bug Fix: Change
make_catalogkernel_sizeparameter to odd number. #148
- Python
Published by robelgeda almost 4 years ago
petrofit - Version 0.4.0
Version 0.4.0
March 26th 2022
Upgrades to fitting sub-module, see below for details.
PetroFit Enhancements
- Removed outdated
petrofit.utils.cutoutfunction. [:pr:#93] model_to_imagefunction upgraded to useastropy.convolution.utils.discretize_model. [:pr:#95]PSFModelhas been upgraded toPSFConvolvedModel2D.PSFConvolvedModel2Duses__init__function to wrap models.PSFModelclass has been deprecated and will be removed inv0.5. [:pr:#100]- An
originparameter has been added topetrofit.models.make_grid. [:pr:#100] fitting.pyandmodels.pyhave been moved into a newmodelingfolder. This allows for all modeling functions and classes to be imported asfrom petrofit.modeling import .... [:pr:#100]petrofit.modeling.fitting.fit_modelcan now accept fitting weights, so users can pass fitting weights using rms or error images. [:pr:#100]petrofit.modeling.fitting.plot_fitnow displays 3 panel image of fits (input image, model-image, and residual). [:pr:#100]
- Python
Published by robelgeda about 4 years ago
petrofit - Version 0.3.1
Version 0.3.1
March 8th 2022
PetroFit Improvements
- Removed kcorrect from Docker file. [:pr:
77, :user:robelgeda] - Added badges to
README.rst. - Implemented
get_amplitude_at_rfunction that calculates the amplitude of an image at an isophotal radius. [:pr:81, :user:robelgeda] - Removed outdated
fit_planefunction. [:pr:84, :user:robelgeda] - Moved requirements from
environment.ymltorequirements.txt. Though both can be used to install PetroFit,environment.ymlis recommended at this time. [:pr:72, :user:robelgeda] - Upgraded circleci
resource_classtomedium+. [:pr:62, :user:robelgeda]
General bug fixes and small changes
- Cleaned up the docs, introduced a
CHANGES.mdfile. [:pr:77, :user:robelgeda] - Add release procedure for developers. [:pr:
70, :user:robelgeda]
- Python
Published by robelgeda about 4 years ago
petrofit - Version 0.3
Version associated with initial paper titled: "PetroFit: A Python Package for Computing Petrosian Radii and Fitting Galaxy Light Profiles"
- Python
Published by robelgeda over 4 years ago
petrofit - Version 0.2.3
Performance and doc improvements. Version after comp and before collab input.
- Python
Published by robelgeda over 4 years ago
petrofit - Version 0.2.2
Paper review responses and enhancements.
- Python
Published by robelgeda over 4 years ago
petrofit - Version 0.2.1
This is a minor release to fix PyPi issues.
- Python
Published by robelgeda almost 5 years ago
petrofit - Version 0.2
The software and science have undergone a first phase of review. This version represents the full scope of the module design and future work will be on making improvements and adding features.
- Python
Published by robelgeda almost 5 years ago
petrofit - Version 0.1
This version marks the first open source (publicly available) package.
- Python
Published by robelgeda about 5 years ago