Imfit: A Fast, Flexible New Program for Astronomical Image Fitting
arXiv:1408.1097 · doi:10.1088/0004-637X/799/2/226
Abstract
I describe a new, open-source astronomical image-fitting program called Imfit, specialized for galaxies but potentially useful for other sources, which is fast, flexible, and highly extensible. A key characteristic of the program is an object-oriented design which allows new types of image components (2D surface-brightness functions) to be easily written and added to the program. Image functions provided with Imfit include the usual suspects for galaxy decompositions (Sersic, exponential, Gaussian), along with Core-Sersic and broken-exponential profiles, elliptical rings, and three components which perform line-of-sight integration through 3D luminosity-density models of disks and rings seen at arbitrary inclinations. Available minimization algorithms include Levenberg-Marquardt, Nelder-Mead simplex, and Differential Evolution, allowing trade-offs between speed and decreased sensitivity to local minima in the fit landscape. Minimization can be done using the standard chi^2 statistic (using either data or model values to estimate per-pixel Gaussian errors, or else user-supplied error images) or Poisson-based maximum-likelihood statistics; the latter approach is particularly appropriate for cases of Poisson data in the low-count regime. I show that fitting low-S/N galaxy images using chi^2 minimization and individual-pixel Gaussian uncertainties can lead to significant biases in fitted parameter values, which are avoided if a Poisson-based statistic is used; this is true even when Gaussian read noise is present.
pdflatex, 27 pages, 19 figures. Revised version, accepted by ApJ. Programs, source code, and documentation available at: http://www.mpe.mpg.de/~erwin/code/imfit/
References in corpus (37)
- Detailed Structural Decomposition of Galaxy Images
- Detailed Decomposition of Galaxy Images. II. Beyond Axisymmetric Models
- Information criteria for astrophysical model selection
- The ACS Virgo Cluster Survey. VI. Isophotal Analysis and the Structure of Early-Type Galaxies
- Numerical Methods of Star Formation History Measurement and Applications to Seven Dwarf Spheroidals
- Efficient Multi-Gaussian Expansion of galaxies
- The Spitzer Survey of Stellar Structure in Galaxies (S^4G)
- Sherpa: a Mission-Independent Data Analysis Application
- The DEEP Groth Strip Survey II. Hubble Space Telescope Structural Parameters of Galaxies in the Groth Strip
- Structural Parameters of Thin and Thick Disks in Edge-On Disk Galaxies
- Structure of Disk Dominated Galaxies I. Bulge/Disk Parameters, Simulations, and Secular Evolution
- GEMS: Galaxy fitting catalogues and testing parametric galaxy fitting codes
- A New Empirical Model for the Structural Analysis of Early-type Galaxies and a Critical Review of the Nuker Model
- Evidence for a New Elliptical-Galaxy Paradigm: Sersic and Core Galaxies
- Anti-Truncation of Disks in Early-Type Barred Galaxies
- The Outer Disks of Early-Type Galaxies. I. Surface-Brightness Profiles of Barred Galaxies
- The effects of seeing on Sersic profiles. II. The Moffat PSF
- BUDDA: A New Two-Dimensional Bulge/Disk Decomposition Code for Detailed Structural Analysis of Galaxies
- Image Decomposition of Barred Galaxies and AGN Hosts
- A Catalogue of Morphologically Classified Galaxies from the Sloan Digital Sky Survey: North Equatorial Region
- K-Band Observations of Boxy Bulges. I. Morphology and Surface Brightness Profiles
- The impact of bars on disk breaks as probed by S4G imaging
- Thick disks of edge-on galaxies seen through the Spitzer Survey of Stellar Structure in Galaxies (S4G): Lair of missing baryons?
- Stellar Kinematics of Boxy Bulges: Large-Scale Bars and Inner Disks
- Chi-square and Poissonian Data: Biases Even in the High-Count Regime and How to Avoid them
- Parameter Estimation in Astronomy with Poisson-Distributed Data. I. The Chi-Square-Gamma Statistic
- The Outer Disks of Early-Type Galaxies. II. Surface-Brightness Profiles of Unbarred Galaxies and Trends with Hubble Type
- Depleted Galaxy Cores and Dynamical Black Hole Masses
- The HST/ACS Coma Cluster Survey III. Structural Parameters of Galaxies using single-Sérsic Fits
- Central Stellar Mass Deficits in the Bulges of Local Lenticular Galaxies, and the Connection with Compact z ~ 1.5 Galaxies
- Thick Disks of Lenticular Galaxies
- Sizing up Partially-Depleted Galaxy Cores
- Application of the Information Criterion to the Estimation of Galaxy Luminosity Function
- Three-dimensional modelling of edge-on disk galaxies
- The connection between radio-loudness and central surface brightness profiles in optically-selected low-luminosity active galaxies
- Re-growth of stellar disks in mature galaxies: The two component nature of NGC 7217 revisited with VIRUS-W
- How Robust Are the Size Measurements of High-redshift Compact Galaxies?
Cited by in corpus (213)
- The Electromagnetic Counterpart of the Binary Neutron Star Merger LIGO/Virgo GW170817. I. Dark Energy Camera Discovery of the Optical Counterpart
- The optical morphologies of galaxies in the IllustrisTNG simulation: a comparison to Pan-STARRS observations
- The SINFONI Black Hole Survey: The Black Hole Fundamental Plane revisited and the paths of (co-) evolution of supermassive black holes and bulges
- CALIFA, the Calar Alto Legacy Integral Field Area survey: IV. Third Public data release
- CALIFA, the Calar Alto Legacy Integral Field Area survey. III. Second public data release
- Ultra diffuse galaxies outside clusters: clues to their formation and evolution
- Beyond 31 mag/arcsec^2: the low surface brightness frontier with the largest optical telescopes
- Starbursts in and out of the star-formation main sequence
- Illuminating Low-Surface-Brightness Galaxies with the Hyper Suprime-Cam Survey
- A distance of 13 Mpc resolves the claimed anomalies of the galaxy lacking dark matter
- Spatial distribution of ultra-diffuse galaxies within large-scale structures
- Observations of the first electromagnetic counterpart to a gravitational wave source by the TOROS collaboration
- The IAC Stripe 82 Legacy Project: a wide-area survey for faint surface brightness astronomy
- Two-dimensional multi-component photometric decomposition of CALIFA galaxies
- Galaxy And Mass Assembly (GAMA): relations of bulges, discs and spheroids
- ProFit: Bayesian Profile Fitting of Galaxy Images
- Galactic cirri in deep optical imaging
- Broadband Multi-wavelength Properties of M87 during the 2017 Event Horizon Telescope Campaign
- Jekyll & Hyde: quiescence and extreme obscuration in a pair of massive galaxies 1.5 Gyr after the Big Bang
- EPOCHS VI: The Size and Shape Evolution of Galaxies since z ~ 8 with JWST Observations
- ELVES I: Structures of Dwarf Satellites of MW-like Galaxies; Morphology, Scaling Relations, and Intrinsic Shapes
- A physically motivated definition for the size of galaxies in an era of ultra-deep imaging
- A 40-billion solar mass black hole in the extreme core of Holm 15A, the central galaxy of Abell 85
- The nearest ultra diffuse galaxy: UGC2162
- A trail of dark matter-free galaxies from a bullet dwarf collision
- Extending the evolution of the stellar mass-size relation at to low stellar mass galaxies from HFF and CANDELS
- Wide-Field Survey of Dwarf Satellite Systems Around 10 Hosts in the Local Volume
- Resolved UV and [CII] structures of luminous galaxies within the epoch of reionisation
- Spectroscopic characterisation of the stellar content of ultra diffuse galaxies
- The Fornax3D project: overall goals, galaxy sample, MUSE data analysis and initial results
- Observational Properties of Ultra-Diffuse Galaxies in the Field: Field-UDGs are Predominantly Blue and Starforming
- Halo mass estimates from the Globular Cluster populations of 175 Low Surface Brightness Galaxies in the Fornax Cluster
- The Sloan Digital Sky Survey extended point spread functions
- Discovery of a red ultra-diffuse galaxy in a nearby void based on its globular cluster luminosity function
- ELVES II: GCs and Nuclear Star Clusters of Dwarf Galaxies; The Importance of Environment
- JWST Imaging of Earendel, the Extremely Magnified Star at Redshift
- Supermassive black holes and their host spheroids I. Disassembling galaxies
- NGC5846-UDG1: A galaxy formed mostly by star formation in massive, extremely dense clumps of gas
- Tidal Features at 0.05<z<0.45 in the Hyper Suprime-Cam Subaru Strategic Program: Properties and Formation Channels
- The regulation of galaxy growth along the size-mass relation by star-formation, as traced by H in KMOS galaxies at 0.7 < z < 2.7
- Galaxy And Mass Assembly (GAMA): the Stellar Mass Budget of Galaxy Spheroids and Disks
- The reports of thick discs' deaths are greatly exaggerated: thick discs are NOT artefacts caused by diffuse scattered light
- An Optimal Strategy for Accurate Bulge-to-disk Decomposition of Disk Galaxies
- Diversity of nuclear star cluster formation mechanisms revealed by their star formation histories
- The Fornax 3D project: a two-dimensional view of the stellar initial mass function in the massive lenticular galaxy FCC 167
- The Fornax Deep Survey (FDS) with the VST XI. The search for signs of preprocessing between the Fornax main cluster and Fornax A group
- Luminosity Models and Density Profiles for Nuclear Star Clusters for a Nearby Volume-Limited Sample of 29 Galaxies
- The number of globular clusters around the iconic UDG DF44 is as expected for dwarf galaxies
- Luminosity Functions and Host-to-Host Scatter of Dwarf Satellite Systems in the Local Volume
- JWST/NIRCam Observations of Stars and HII Regions in Galaxies: Properties of Star Forming Complexes on 150 pc Scales
- JWST reveals a possible galaxy merger in triply-lensed MACS0647JD
- A new implementation of the Schwarzschild method for constructing observationally-driven dynamical models of galaxies of all morphological types
- Metal-poor nuclear star clusters in two dwarf galaxies near Centaurus A suggesting formation from the in-spiraling of globular clusters
- Using Surface Brightness Fluctuations to Study Nearby Satellite Galaxy Systems: Calibration and Methodology
- PHANGS-HST: New Methods for Star Cluster Identification in Nearby Galaxies
- Discovery of disc truncations above the galaxies' mid-plane in Milky Way-like galaxies
- Sculpting Andromeda -- made-to-measure models for M31's bar and composite bulge: dynamics, stellar and dark matter mass
- Detection of a 100,000 M black hole in M31's most massive globular cluster: A tidally stripped nucleus
- Evolution of the cold gas properties of simulated post-starburst galaxies
- The KMOS Survey: rotating compact star forming galaxies and the decomposition of integrated line widths
- A remarkably large depleted core in the Abell 2029 BCG IC 1101
- Ultra-Diffuse Galaxies in the Perseus Cluster: Comparing Galaxy Properties with Globular Cluster System Richness
- AutoProf -- I. An automated non-parametric light profile pipeline for modern galaxy surveys
- Measuring distances to low-luminosity galaxies using surface brightness fluctuations
- - A Fast and Versatile New Program for Decomposing Galaxy Light Profiles
- Identifying kinematic structures in simulated galaxies using unsupervised machine learning
- The quiescent fraction of isolated low surface brightness galaxies: Observational constraints
- Herschel Observations of Major Merger Pairs at z=0: Dust Mass and Star Formation
- CO, H2O, H2O+ line and dust emission in a z = 3.63 strongly lensed starburst merger at sub-kiloparsec scales
- A normal supermassive black hole in NGC 1277
- Constraining nuclear star cluster formation using MUSE-AO observations of the early-type galaxy FCC47
- Stellar counter-rotation in lenticular galaxy NGC 448
- The edges of galaxies: Tracing the limits of star formation
- Galaxies with conspicuous optical warps
- H-ATLAS: A Candidate High Redshift Cluster/Protocluster of Star-Forming Galaxies
- Dust emission profiles of DustPedia galaxies
- The effects of AGN feedback on the structural and dynamical properties of Milky Way-mass galaxies in cosmological simulations
- The origin of bulges and discs in the CALIFA survey: I. Morphological evolution
- The Intrinsic Shapes of Low Surface Brightness Galaxies: a Discriminant of LSBG Formation Mechanisms
- Broadband Multi-wavelength Properties of M87 during the 2018 EHT Campaign including a Very High Energy Flaring Episode
- Discovery and analysis of low-surface-brightness galaxies in the environment of NGC 1052
- Detection of X-ray Polarization from the Blazar 1ES 1959+650 with the Imaging X-ray Polarimetry Explorer
- A diffuse tidal dwarf galaxy destined to fade out as a "dark galaxy"
- The properties and the formation mechanism of the stellar counter-rotating components in NGC 4191
- Stellar Disc Truncations and Extended Haloes in Face-on Spiral Galaxies
- Using Surface Brightness Fluctuations to Study Nearby Satellite Galaxy Systems: the Complete Satellite System of M101
- The MASSIVE Survey -- XV. A Stellar Dynamical Mass Measurement of the Supermassive Black Hole in Massive Elliptical Galaxy NGC 1453
- The Close AGN Reference Survey (CARS): Comparative analysis of the structural properties of star-forming and non-star-forming galaxy bars
- NGC 5746: formation history of a massive disc-dominated galaxy
- A combined photometric and kinematic recipe for evaluating the nature of bulges using the CALIFA sample
- HERschel Observations of Edge-on Spirals (HEROES). IV. Dust energy balance problem
- ProFuse: Physical Multi-Band Structural Decomposition of Galaxies and the Mass-Size-Age Plane
- A dynamics-based density profile for dark haloes -- II. Fitting function
- Stellar halos from The Dragonfly Edge-on Galaxies Survey
- HERschel Observations of Edge-on Spirals (HEROES). III. Dust energy balance study of IC 2531
- Galaxy And Mass Assembly (GAMA): Bulge-disk decomposition of KiDS data in the nearby universe
- The Star-forming Main Sequence of the Host Galaxies of Low-redshift Quasars
- Testing the presence of multiple photometric components in nearby early-type galaxies using SDSS
- No evidence for small disk-like bulges in a sample of late-type spirals
- The effect of environment on the structure of disc galaxies
- The continuous rise of bulges out of galactic disks
- A metal-poor ultra compact dwarf galaxy at a kiloparsec distance from the low-mass elliptical galaxy FCC47
- Galaxy and Mass Assembly (GAMA): Extended Intra-Group Light in a group at from deep Hyper-Suprime Cam images
- ARGOS at the LBT. Binocular laser guided ground layer adaptive optics
- Composite Bulges -- II. Classical Bulges and Nuclear Discs in Barred Galaxies: The Contrasting Cases of NGC 4608 and NGC 4643
- The Halos and Environments of Nearby Galaxies (HERON) II: The outer structure of edge-on galaxies
- Sumo Puff: Tidal Debris or Disturbed Ultra-Diffuse Galaxy?
- Spectroscopic decomposition of NGC 3521: unveiling the properties of the bulge and disc
- Kinematics of the SN Refsdal host revealed by MUSE: a regularly rotating spiral galaxy at z~1.5
- Deconstructing double-barred galaxies in 2D and 3D. I. Classical nature of the dominant bulges
- Resolved Lyman-α properties of a luminous Lyman-break galaxy in a large ionised bubble at z = 6.53
- Extragalactic archeology with the GHOSTS Survey I. - Age-resolved disk structure of nearby low-mass galaxies
- A giant umbrella-like stellar stream around the tidal ring galaxy NGC 922
- AstroPhot: Fitting Everything Everywhere All at Once in Astronomical Images
- Beyond Ultra-diffuse Galaxies. I. Mass--Size Outliers among the Satellites of Milky Way Analogs
- An excessively massive thick disc of the enormous edge-on lenticular galaxy NGC7572
- A feather on the hat: Tracing the giant stellar stream around the Sombrero galaxy
- Indications of the invalidity of the exponentiality of the disk within bulges of spiral galaxies
- The intrinsic shape of bulges in the CALIFA survey
- Euclid: Early Release Observations -- Overview of the Perseus cluster and analysis of its luminosity and stellar mass functions
- The structure of the Milky Way based on unWISE 3.4m integrated photometry
- Measuring the X-shaped structures in edge-on galaxies
- Evolving Galactic Dynamos and Fits to the Reversing Rotation Measures in the Halo of NGC 4631
- Redshifting galaxies from DESI to JWST CEERS: Correction of biases and uncertainties in quantifying morphology
- Reading the tea leaves in the - and - diagrams: dry and gaseous mergers with remnant angular momentum
- MaNGA galaxy properties -- I. An extensive optical, mid-infrared photometric, and environmental catalogue
- Photometric and Structural Parameters of Newly Discovered Nuclear Star Clusters in Local Volume Galaxies
- Disc cloaking: Establishing a lower limit to the number density of local compact massive spheroids/bulges and the potential fate of some high-z red nuggets
- Properties of extragalactic thick discs recovered from ultra-deep Stripe82 imaging
- Discovery of a red backsplash galaxy candidate near M81
- Exploring Relations Between BCG \& Cluster Properties in the SPectroscopic IDentification of eROSITA Sources Survey from
- Black Hole Mass Measurements of Early-Type Galaxies NGC 1380 and NGC 6861 Through ALMA and HST Observations and Gas-Dynamical Modeling
- The nature of CR7 revealed with MUSE: a young starburst powering extended Lyman- emission at z=6.6
- High-resolution MEGARA IFU spectroscopy and structural analysis of a fast-rotating, disky bulge in NGC 7025
- Relaxed blue ellipticals: accretion-driven stellar growth is a key evolutionary channel for low mass elliptical galaxies
- The Nature of Low Surface Brightness Galaxies in the Hyper Suprime-Cam Survey
- PHANGS-JWST First Results: A combined HST and JWST analysis of the nuclear star cluster in NGC 628
- Hedgehog: An Isolated Quiescent Dwarf Galaxy at 2.4 Mpc
- An Extensive Photometric Catalog of CALIFA Galaxies
- Not-so-little Red Dots: Two massive and dusty starbursts at z~5-7 pushing the limits of star formation discovered by JWST in the COSMOS-Web survey
- K-CLASH: spatially-resolving star-forming galaxies in field and cluster environments at -
- The ALMA-CRISTAL survey: Resolved kinematic studies of main sequence star-forming galaxies at 4<z<6
- The distribution of dust in edge-on galaxies: I. The global structure
- Galaxies decomposition with spiral arms -- II: A multiwavelength case study of M 51
- Galaxy Structural Analysis with the Curvature of the Brightness Profile
- Inside-out star formation quenching and the need for a revision of bulge-disk decomposition concepts for spiral galaxies
- K-CLASH: Strangulation and Ram Pressure Stripping in Galaxy Cluster Members at 0.3 < z < 0.6
- The Dragonfly Edge-on Galaxies Survey: Shaping the outer disc of NGC 4565 via accretion
- Nucleosynthesis constraints through -ray line measurements from classical novae
- Morphology and surface photometry of a sample of isolated early-type galaxies from deep imaging
- Stellar systems following the luminosity law. IV. The total energy and the central concentration of galaxies
- IllustrisTNG Insights: Factors Affecting the Presence of Bars in Disk Galaxies
- The problem of dust attenuation in photometric decomposition of edge-on galaxies and possible solutions
- Tilted outer and inner structures in edge-on galaxies?
- Bayesian fitting of multi-Gaussian expansion models to galaxy images
- Shedding Light on Low Surface Brightness Galaxies in Dark Energy Survey with Transformers
- The intrinsic shape of galaxy bulges
- Still alive and kicking: A significant outburst in changing-look AGN Mrk 1018
- NGC 307 and the Effects of Dark-Matter Haloes on Measuring Supermassive Black Holes in Disc Galaxies
- New X-shaped bulge photometric model as a tool for measuring B/PS bulges and their X-structures in photometric studies
- Less Wound and More Asymmetric: JWST Confirms the Evolution of Spiral Structure in Galaxies at
- Multiwavelength Bulge-Disk Decomposition for the Galaxy M81 (NGC 3031). I. Morphology
- Are we observing a NSC in course of formation in the NGC 4654 galaxy?
- Major Merger Galaxy Pairs at z=0: Dust Properties and Companion Morphology
- Using angular momentum maps to detect kinematically distinct galactic components
- The Milky Way like galaxy NGC 6384 and its nuclear star cluster at high NIR spatial resolution using LBT/ARGOS commissioning data
- PHANGS-HST: Globular Cluster Systems in 17 Nearby Spiral Galaxies
- Polar-bulge galaxies
- Evidence for globular cluster collapse after a dwarf-dwarf merger: A potential nuclear star cluster in formation
- Constraining dark matter annihilation with HSC Low Surface Brightness Galaxies
- Geometric Support for Dark Matter by an Unaligned Einstein Ring in Abell 3827
- Discovery of Two Ultra-Diffuse Galaxies with Unusually Bright Globular Cluster Luminosity Functions via a Mark-Dependently Thinned Point Process (MATHPOP)
- A new fitting concept for the robust determination of Sérsic model parameters
- The PSF Smoothing Effect on Concentration-Related Parameters of High Redshift Galaxies in HST and JWST
- LIGHTS. A robust technique to identify galaxy edges
- Bayesian bulge-disc decomposition of galaxy images
- Growing a nuclear star cluster from star formation and cluster mergers: The JWST NIRSpec view of NGC 4654
- The truncation of the disk of NGC 4565: Detected up to z=4 kpc, with star formation, and affected by the warp
- Flares, Warps, Truncations, and Satellite: The Ultra-thin Galaxy UGC 11859
- Chandra survey of nearby highly inclined disk galaxies -- V: emission structure and origin of galactic coronae
- Multi-wavelength observations of the triple-peaked AGN Mrk 622
- Predicting bulge to total luminosity ratio of galaxies using deep learning
- A weak Ly halo for an extremely bright Little Red Dot: Indications of enshrouded SMBH growth
- Through Thick and Thin: The Cosmic Evolution of Disk Scale Height
- Edge-on galaxies in the Hubble Ultra Deep Field
- A new way to measure the distance to NGC1052-DF2
- Resolving the Host Galaxy of a Distant Blazar with LBT/LUCI1 + ARGOS
- "Dust Giant": Extended and Clumpy Star-Formation in a Massive Dusty Galaxy at
- A Comprehensive Analysis on the Nature of the Spiral Arms in NGC 3686, NGC 4321, and NGC 2403
- Early Growing Supermassive Black Holes Strengthen Bars and Boxy/Peanut Bulges
- Testing the Surface Brightness Fluctuation Method on Dwarf Galaxies in the COSMOS Field
- Dwarf galaxies in the MATLAS Survey: Hubble Space Telescope observations of nuclear star clusters
- The Intrinsic Flattening of Galaxy Disks
- Star Formation, Nebulae, and Active Galactic Nuclei in CLASH Brightest Cluster Galaxies. I. Dependence on Core Entropy of Intracluster Medium
- LeMMINGs. V. Nuclear activity and bulge properties: a detailed multi-component decomposition of -MERLIN Palomar galaxies with
- A broad-line quasar with unexplained extreme velocity offsets: post-shock outflow?
- Non-parametric decompositions of disk galaxies in SG using DiskFit
- The mysterious Globular Cluster population of MATLAS-2019
- Using Deep Learning Methods to Detect for Ultra-diffuse Galaxies in KiDS
- Influence of Barlens on the Bulge Parameters in the 2D Image Decomposition
- Boxy/Peanut Bulges: Comparative Analysis of EGIPS Galaxies and TNG50 Models
- Towards Understanding the Milky Way's Typicality: Assessing the Chemodynamics of M31's Bulge & Bar, Thick & Thin Discs
- A Dynamical-Photometric Phase Space for Spiral Galaxies: Probing the Local Coupling Between Light and Gravity
- COSMOS-Web: Galaxy Size and Surface Brightness Evolution at Rest-Frame 1.22 m Since
- Lensed stars in galaxy-galaxy strong lensing -- a JWST prediction for the Cosmic Horseshoe
- The Exploration of Local VolumE Satellites (ELVES) Survey: A Nearly Volume-Limited Sample of Nearby Dwarf Satellite Systems
- Minimum Energies and Magnetic Field Strengths of Edge-brightened Compact Symmetric Objects
- A nuclear disc at Cosmic Noon: evidence of early bar-driven galaxy evolution
- The detectability of bars at high redshift: a case study using Euclid-like mock observations of TNG50 simulated galaxies
- Stellar Populations of Spectroscopically Decomposed Bulge-Disk for S0 Galaxies from the CALIFA survey
- Tidal Disruption of Super Star Clusters as the origin of Bluish Light at the inner region of the Perseus Cluster Central Galaxy
- Feasibility of the debris ring transit method for the solar-like star HD 107146 by an occulted galaxy
- GALFITools: A Python library to enhance GALFIT usage in galaxy image modeling