Skip to content

Releases: vrodgom/statmorph

v0.7.0

02 Jul 19:27
Compare
Choose a tag to compare

Bugfix: properly account for masked regions during the Petrosian radius calculations.

This change directly affects measurements of the Petrosian radius in masked images (usually resulting in slightly larger radii), and indirectly affects other quantities that depend on the Petrosian radius, such as the Gini-M20 and CAS parameters.

However, the effect is very small in most cases. For example, even in the extreme case of the heavily masked BCG+ICL synthetic images presented in Montenegro-Taborda et al. (2025b), the Petrosian radii increased by 6%, on average, after this change. The impact should be smaller than this in most situations, especially for "normal" galaxies with a moderate amount of masking. Unmasked images are unaffected by this change.

v0.6.1

02 Jan 19:50
Compare
Choose a tag to compare

v0.6.0

23 Oct 00:57
Compare
Choose a tag to compare
  • Update to photutils v2.0.

v0.5.7

15 Apr 19:57
Compare
Choose a tag to compare
  • Change rms_asymmetry to rms_asymmetry2, since this quantity actually represents the square of A_rms.

v0.5.6

13 Apr 00:23
Compare
Choose a tag to compare
  • Implement RMS asymmetry (Sazonova et al. 2024).

v0.5.5

12 Feb 03:26
Compare
Choose a tag to compare
  • More robust search for asymmetry center.
  • Attempt Sersic fit even when basic measurements were not successful (flag >= 2).

v0.5.4

10 Nov 01:35
Compare
Choose a tag to compare
  • Make statmorph slightly more memory efficient.

v0.5.3

24 Sep 06:46
Compare
Choose a tag to compare
  • An improved initial guess for the double Sersic fit is now obtained by performing single Sersic fits to to the inner and outer regions of the source of interest, which are assumed to be separated by an ellipse of a given size.
  • The separating ellipse is by default twice the half-light ellipse, but this can be controlled by the user with the argument doublesersic_rsep_over_rhalf
  • The Akaike Information Criterion (AIC) and Bayesian Information Criterion (BIC) are now calculated for the single and double Sersic fits.

v0.5.2

04 Aug 03:20
Compare
Choose a tag to compare
  • Users can now perform double 2D Sersic fits by including the option include_doublesersic = True.
  • Users can (optionally) customize the fits via the arguments doublesersic_model_args and doublesersic_fitting_args.
  • Furthermore, the option doublesersic_tied_ellip = True can be used to ensure that both components have the same ellipticity and position angle, if desired.
  • The quality flags flag_sersic and flag_doublesersic now take values 0-4, just like flag (see v0.5.0 release notes).
  • Added reduced chi^2 statistics (sersic_chi2_dof and doublesersic_chi2_dof) to measure goodness of fit.
  • Added an example notebook about double Sersic fitting to the documentation.
  • Updated tutorial.

v0.5.1

04 Jul 07:09
Compare
Choose a tag to compare
  • Added support for constrained Sersic fits via the sersic_model_args keyword.
  • The input argument sersic_maxiter is deprecated. Please use sersic_fitting_args instead.
  • Default value of cutout_extent increased from 1.5 to 2.5 (more "space" to make measurements by default, although this also depends on the input segmap).