[Paper Review] DiskFit: a code to fit simple non-axisymmetric galaxy models either to photometric images or to kinematic maps
DiskFit is a publicly available software package that fits non-axisymmetric galaxy models—such as bars and warps—to photometric images or kinematic maps using a global chi-squared minimization approach. It provides statistically valid uncertainties via bootstrap resampling and outperforms rotcur and galfit by avoiding assumptions like tilted rings or parametric profiles, enabling robust, data-driven modeling of disk galaxy structures and kinematics.
This posting announces public availability of version 1.2 of the DiskFit software package developed by the authors, which may be used to fit simple non-axisymmetric models either to images or to velocity fields of disk galaxies. Here we give an outline of the capability of the code and provide the link to downloading executables, the source code, and a comprehensive on-line manual. We argue that in important respects the code is superior to rotcur for fitting kinematic maps and to galfit for fitting multi-component models to photometric images.
Motivation & Objective
- To develop a flexible, open-source tool for fitting non-axisymmetric features in disk galaxies to both photometric and kinematic data.
- To overcome limitations of existing tools like rotcur (tilted rings) and galfit (parametric profiles) by using a non-parametric, global fitting approach.
- To provide realistic, statistically valid uncertainty estimates for fitted parameters by preserving correlated residuals via bootstrap methods.
- To enable fitting of complex features such as bars, warps, and bulges while maintaining computational flexibility and accuracy.
- To support high-fidelity modeling of galaxy structure and dynamics by accommodating user-defined radial sampling and seeing corrections.
Proposed method
- Uses a global chi-squared minimization to compare a tabulated, non-parametric model (e.g., rotation curve or light profile) to observed 2D data (images or velocity fields).
- Employs a bootstrap resampling technique that preserves spatial correlations in residuals to produce realistic uncertainty estimates for fitted parameters.
- Supports non-axisymmetric features such as bars via superposition of m=2 (bisymmetric) distortions in radial and azimuthal velocity components.
- Allows fitting of axisymmetric models with optional warps, where the warp amplitude increases quadratically with radius and is constrained by a fixed line-of-nodes position angle.
- Includes optional smoothing penalties to stabilize fits when non-axisymmetric features are nearly aligned with the projected major axis.
- Applies Gaussian convolution with user-specified FWHM to model seeing effects, with a maximum FWHM of 3 pixels.
Experimental results
Research questions
- RQ1How can non-axisymmetric features such as bars be robustly fitted to galaxy kinematic and photometric data without assuming parametric profiles?
- RQ2In what ways does global model fitting outperform tilted-ring methods like rotcur in estimating rotation curves and non-circular motions?
- RQ3How can uncertainty estimates for fitted parameters be made statistically valid when residuals are spatially correlated?
- RQ4What are the limitations of fitting bars that are nearly aligned with the projected major axis, and how can they be mitigated?
- RQ5To what extent can DiskFit model complex features like warps and bulges while maintaining accuracy and flexibility?
Key findings
- DiskFit successfully fits non-axisymmetric features such as bars and warps to both photometric and kinematic data using a global minimization framework.
- The code provides statistically valid uncertainty estimates by preserving spatial correlations in residuals through bootstrap resampling, leading to more realistic error bars than standard methods.
- For kinematic data, DiskFit estimates mean circular speed and non-circular flow speeds (radial and azimuthal) at user-defined radii without assuming functional forms.
- The photometric branch estimates light fractions in disk, bar, and bulge components without assuming parametric profiles, improving flexibility over galfit.
- Version 1.2 removed software limits on data size via dynamic array allocation and fixed critical bugs, including one in the seeing correction module.
- Smoothing penalties are effective in stabilizing fits for bars nearly aligned with the major axis, where unregularized fits produce unphysical oscillations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.