Michele Cappellari Python Programs


PIC

The software below is freely available. However, if you use it for published research, you are requested to cite the paper highlighted in red where the method is described.

You are not allowed to re-distribute any of these programs (modified or not) without explicit permission from the author.

All my packages below are on the Python Package Index (PyPI).

See my review on galaxy structure and evolution PIC

Contents

1 MgeFit: Multi-Gaussian Expansion Fitting
1.1 The MgeFit package in Python
2 JAM: Jeans Anisotropic Modelling PIC
2.1 The JAM package in Python
2.2 The JAM source code in the C language
3 VorBin: Voronoi Binning PIC
3.1 The VorBin package in Python
3.2 The VorBin package in Julia
4 pPXF: Penalized PiXel-Fitting PIC
4.1 Libraries of models for stellar-population with pPXF
4.2 Libraries of stellar templates for stars/gas kinematics with pPXF
4.3 The pPXF package in Python
5 CapFit: Linearly-constrained Nonlinear Least-Squares PIC
5.1 The CapFit package in Python
6 PaFit: Fitting Kinematic PA
6.1 The PaFit package in Python
7 LtsFit: Robust linear regression with scatter in arbitrary dimension
7.1 The LtsFit package in Python
8 LOESS: Adaptive smoothing in one or two dimensions
8.1 The loess package in Python
9 AdaMet: Adaptive Metropolis for Bayesian analysis
9.1 The AdaMet package in Python
References


1 MgeFit: Multi-Gaussian Expansion Fitting

Robust technique to perform Multi-Gaussian Expansion (MGE) fits to galaxy images

PIC

Figure 1: Illustration of the steps involved in the MGE fit to the S0 galaxy NGC 4342 using the MgeFit package. The figures were produced by the mge_fit_example.py script included in the Python distribution of the software.

This software obtains an accurate Multi-Gaussian Expansion (MGE) parametrization (Emsellem et al., 1994; Cappellari, 2002) for a galaxy surface brightness with the fitting algorithm of Cappellari (2002). Given that Gaussians are not orthogonal functions, MGE fits are in general strongly degenerate, with difficult global convergence, but the mge_fit_sectors method solves all problems, making MGE fitting an automated, reliable and robust process (Figure 1).

See Cappellari et al. (2013a) and Zhu et al. (2024) for large scale applications of this software to the study of the M/L ratio and the Fundamental Plane of early-type galaxies and Cappellari et al. (2012) for an application to the study of the stellar IMF. The MGE parametrization is useful in the construction of realistic dynamical models of galaxies (see JAM in section 2), for PSF deconvolution of images, for the correction and estimation of dust absorption effects, or for galaxy photometry.

1.1 The MgeFit package in Python PIC

The source code of the MgeFit package, including four test galaxy images, is on the Python Package Index (PyPI). The changes are documented in the CHANGELOG.

How to install: Use pip install mgefit. Without write access to the global site-packages directory, use pip install --user mgefit.

Usage examples: are in the directory “examples” inside the main package folder inside site-packages.

MgeFit requires the scientific core packages NumPy, SciPy and Matplotlib, and the examples use Astropy to read FITS images.

NOTE: I would appreciate if you drop me an e-mail (address at the bottom) when you download the above procedures.


2 JAM: Jeans Anisotropic Modelling PIC

Jeans Anisotropic Modelling of the dynamics, stellar kinematics or proper motions of axisymmetric or spherical galaxies

PIC

Figure 2: (a) Including both proper motions and radial velocities. Top Panels: the components of the symmetric velocity second moment tensor measured from the particles of a realistic N-body simulation. Bottom Panels: the corresponding JAM model predictions. Note the striking agreement! (Cappellari et al., 2012). (b) The JAM package includes an implementation for both the cylindrically-aligned solution JAMcyl of Cappellari (2008) and the spherically-aligned solution JAMsph of Cappellari (2020). Comparisons between these two extreme solutions allows for a robust assessment of possible systematic modeling uncertainties (see Cappellari 2020 for some examples). (c) Validating black hole (BH) recovery with JAM. A detailed JAM modelling accurately recovers the “benchmark” BH mass in NGC4258, as inferred from maser observations (figure taken from Drehmer et al. 2015). An equally good agreement was found with JAM for the “benchmark” BH in the Milky Way (Sec.4.1.2 of Feldmeier-Krause et al. 2017). Other successful BH comparisons, between JAM and Schwarzschild’s method, were presented e.g. in Cappellari et al. (2010), for 25 galaxies, and Krajnović et al. (2018), for 7 galaxies. (d) This is the first dynamical modelling (using JAMsph) of the high-quality Gaia DR2 kinematics of the Milky Way, with full 6D phase-space coordinates. For the first time, there is no dynamical degeneracy and the model has no freedom to fit the data, yet all features are reproduced. This is an important test of galaxy dynamics. (figure taken from Nitschai et al. 2020)

PIC

Figure 3: Examples of JAM data-model comparisons. The bi-symmetrized SAURON stellar kinematics of 6 Elliptical (left) and 6 S0 (right) fast-rotator early-type galaxies is compared to the predictions of the anisotropic Jeans models with JAM. The kinematics varies widely for different galaxies, yet these two-parameters (!) models are able to correctly predict the shape of a pair of two-dimensional functions (\(V\) and \(V_\mathrm {rms}\)), once the observed surface brightness is given (this is fig. 10 of Cappellari 2016).

PIC

Figure 4: Left Panel: JAM works better than Schwarzschild on simulated galaxies. A detailed comparison using the Illustris simulations with the JAM and Schwarzschild's (SCH) dynamical models, found that JAM recovers the known enclosed total mass within \(1R_{e}\) more accurately than SCH. Specifically, the 68th percentile deviation (\(1\sigma \) error) over all 45 model fits is \(1.6\times \) smaller for JAM than SCH (this is fig. 4 from Jin et al. 2019). Right Panel: JAM works better than Schwarzschild on real galaxies. A detailed comparison, for 54 real disk galaxies with CALIFA data, between the circular velocity VCO measured from CO gas and the corresponding VJAM and VSCH from dynamical modelling of integral-field stellar kinematics using the JAM and Schwarzschild's (SCH) methods, found that JAM recovers the densities more accurately than SCH. Specifically, between 0.8–1.6 \(R_{e}\) (inside the red boxes), where the gas is well-resolved and Vc is better determined, the mean 1\(\sigma \) error is \(1.7\times \) smaller for JAM than SCH (this is fig. 8 from Leung et al. 2018).

The JAM software in this section can be used for the dynamical modelling of galaxies or other gravitationally-bound systems of particles. It was used e.g. to measure the mass of supermassive black holes in galaxies, to infer their dark-matter content or to measure galaxy masses and density profiles.

JAM implements a solution of the Jeans equations which allows for orbital anisotropy (three-integrals distribution function) and also provides the full second moment tensor, including both proper motions and radial velocities (Figure 2a), for both axisymmetric (Cappellari et al., 2012) and spherical geometry (Cappellari, 2015). The technique was introduced in Cappellari (2008), for the cylindrically-aligned case, and in Cappellari (2020), for the spherically-aligned case (Figure 2b), and I called it the Jeans Anisotropic Modelling (JAM) method. It relies on the Multi-Gaussian Expansion parametrization (Emsellem et al., 1994; Cappellari, 2002) for the galaxy surface brightness.

With the addition of a single extra parameter \(\beta _z=1-(\sigma _z/\sigma _R)^2\) (in cylindrical alignment) or \(\beta _r=1-(\sigma _\theta /\sigma _r)^2\) (in spherical alignment), the simple and user-friendly three-integrals JAM method already provides a dramatic improvement over the classic but less general two-integrals \(f(E,L_z)\) Jeans (1922) models. However, JAM also allows for tangential anisotropy \(\gamma =1-(\sigma _\phi /\sigma _R)^2\) and/or for spatially varying anisotropy (different for every MGE Gaussian). The JAM models provide an excellent description of state-of-the-art integral-field stellar kinematics of real galaxies (Figure 3). This makes the technique well suited to measure the inclination, the dynamical M/L and angular momenta of early-type fast-rotators and spiral galaxies. JAM was found to be more accurate than Schwarzschil’d modelling when measuring the density profiles of both real and simulated galaxies (Figure 4).

The JAM routines are designed for axisymmetric or spherical geometry, (i) they can provide the proper motion dispersion tensor (Cappellari, 2012; Cappellari, 2015) (Figure 2a), (ii) allow for the inclusion of dark matter, (iii) variable stellar M/L, (iv) spatially varying anisotropy and (v) multiple kinematic components and (vi) supermassive black holes (BH; Figure 2c). The JAM package also includes a routine to compute the circular velocity from the MGE models. Some sample applications of the JAM method are given below:

To construct dynamical models with the JAM method one needs to describe the galaxies surface brightness via the Multi-Gaussian Expansion parametrization using my MgeFit package in section 1.

2.1 The JAM PIC package in Python PIC

The source code of the JamPy package is on the Python Package Index (PyPI). The changes are documented in the CHANGELOG.

How to install: Use pip install jampy. Without write access to the global site-packages directory, use pip install --user jampy.

Usage examples: are in the directory ”examples” inside the main package folder in site-packages.

Also required is my plotbin package (automatically installed by pip).

The pure-python JamPy package only requires the scientific core packages NumPy, SciPy and Matplotlib.

2.2 The JAM (cylindrical-only) PIC source code in the C language

Note that the JAM Python code is extremely well vectorized. You should not assume the C version will be significantly faster without benchmarking with identical setup. Also note that the C version only implements the cylindrically aligned JAM solution, not the spherically-aligned one. Laura Watkins has translated the JAM procedures into the C language. Laura’s code is available here.

NOTE: I would appreciate if you drop me an e-mail (address at the bottom) when you download the above procedures.


3 VorBin: Voronoi Binning PIC

Adaptively spatial bin two-dimensional data to a constant signal-to-noise ratio per bin

PIC

Figure 5: Left: Four-coloring of Voronoi binning; Middle: Unbinned versus Voronoi binned stellar kinematics from Integral-Field Spectroscopy (Cappellari and Copin, 2003); Right: Voronoi binning of abundance from X-ray data (Sanders et al., 2004).

The Voronoi Binning method by Cappellari and Copin (2003) optimally solves the problem of preserving the maximum spatial resolution of general two-dimensional data (or higher dimensions), given a constraint on the minimum signal-to-noise ratio (Figure 5).

The Voronoi binning method has been applied to a variety of types of data. A review of the concepts and applications to (i) X-ray data, (ii) integral-field spectroscopy, (iii) Fabry-Perot interferometry, (iv) N-body simulations, (v) standard images and (vi) other regularly or irregularly sampled data is given in Cappellari (2009).

3.1 The VorBin PIC package in Python PIC

The source code of the VorBin package, with examples and instructions, is on the Python Package Index (PyPI). The changes are documented in the CHANGELOG.

How to install: Use pip install vorbin. Without write access to the global site-packages directory, use pip install --user vorbin.

User Manual: Is available on THIS PAGE.

Usage example: is in the package folder inside site-packages.

The VorBin package requires the scientific core packages NumPy, SciPy and Matplotlib.

My optional plotbin package contains routines to visualize Voronoi 2D-binned or unbinned data like in Figure 5.

3.2 The VorBin PIC package in Julia PIC

VorBin was ported to the Julia language by Michael Reefe. You can find it HERE.

NOTE: I would appreciate if you drop me an e-mail (address at the bottom) when you download the above procedures.


4 pPXF: Penalized PiXel-Fitting PIC

Stellar or gas kinematics and stellar population from galaxy spectra via full spectrum fitting with photometry

PIC

Figure 6: Left: Stellar and gas kinematics fit with pPXF. The black line (mostly hidden by the fit) is the relative flux of the observed spectrum. The red line is the pPXF fit for the stellar component, while the orange line is a fit to the gas emission lines. The green symbols at the bottom are the fit residuals, while the blue lines is the gas-only best-fitting spectrum. The main absorption and emission features are indicated at the top of the plot (taken from Cappellari 2017). Right: Spectra and photometry with pPXF. The top panel shows a fit to the 28-bands COSMOS photometry for a galaxy in the LEGA-C survey at redshift \(z\approx 0.7\). The grey band indicates where the spectrum is also available. The middle panel is the fit to the spectrum and gas emission. The bottom panel shows the recovered star formation history (SFH) using 43(Ages)\(\times \)9([M/H])=387 FSPS population templates (taken from Cappellari 2023).

This software implements the Penalized PiXel-Fitting method (pPXF) to extract the stellar or gas kinematics (Figure 6 Left) and stellar population (Figure 6 Right) from absorption-line spectra of galaxies, using a maximum penalized likelihood approach. The method was originally described in Cappellari and Emsellem (2004) and was significantly upgraded in subsequent years and particularly in Cappellari (2017) and with the inclusion of photometry and linear constraints in Cappellari (2023). The method is very general and robust. For this reason it was applied to a variety of situations. The following key features are implemented in the current pPXF program:

See Emsellem et al. (2004, SAURON), Cappellari et al. (2011, ATLAS3D), Falcón-Barroso et al. (2017, CALIFA), van de Sande et al. (2017, SAMI) and Westfall et al. (2019, MaNGA) for some ever-increasing large-scale applications of the pPXF method to the measurement of the stellar or gas kinematics of galaxies.

4.1 Libraries of models for stellar-population with pPXF PIC

PIC

Figure 7: pPXF is the most accurate full-spectrum fitting method. In a detailed study, pPXF was found to produce the smallest errors (compared to the known true values) and to be significantly faster than all other full-spectrum fitting codes (figure from Woo et al. 2024).

pPXF is the most efficient, reliable and flexible implementation of the “Full-Spectrum Fitting” method to study stellar populations (see Figure 7). This technique has effectively rendered the traditional line-strength indices obsolete, facilitated by the development of high-quality spectral models. pPXF was designed to be independent on any specific set of stellar-population models and has already been used with nearly every available one. Here is an incomplete list of stellar population models that were used with pPXF:

pPXF allows one to extract multiple kinematic components, with different stellar populations, from a spectrum. Gas emission lines can be fitted simultaneously, avoiding the need for masking them. This is particularly useful when studying the stellar population of galaxies with prominent emission lines (e.g. the Balmer lines) filling important absorption features (see Figure 6).

Please also cite the source of the stellar population models HERE if you use pPXF with any of the included libraries of spectral templates.

4.2 Libraries of stellar templates for stars/gas kinematics with pPXF PIC

The ability of the pPXF method to fit a large set of stellar templates together with the kinematics allows the template mismatch problem to be virtually eliminated. This is particularly useful given the current availability of large stellar libraries spanning wide ranges of physical parameters and having good spectral resolution. Excellent results have been obtained by using a few hundred template stars with pPXF, from which generally about 10-20 are selected by the program to provide detailed fits to high S/N galaxy spectra. An incomplete list of libraries that have been successfully used with pPXF for the kinematics extraction is given below:

4.3 The pPXF PIC package in Python PIC

The source code of the ppxf package, with examples and instructions, is on the Python Package Index (PyPI). The changes are documented in the CHANGELOG.

How to install: Use pip install ppxf. Without write access to the global site-packages directory, use pip install --user ppxf.

User Manual: Detailed documentation is on THIS PAGE (always up to date).

Usage examples: Jupyter PIC Notebooks ppxf examples are available HERE. Python examples are in the directory “examples” inside the main ppxf package folder inside site-packages.

ppxf is written in pure Python and only requires the scientific core packages NumPy, SciPy and Matplotlib, and the examples use Astropy to read FITS data.

NOTE: I would appreciate if you drop me an e-mail (address at the bottom) when you download the above procedures.


5 CapFit: Linearly-constrained Nonlinear Least-Squares PIC

A Python package for efficient constrained least-squares fitting

PIC

Figure 8: This is the kind of linearly-constrained non-linear leats-squares problems that CapFit is designed to solve. The contours show the Rosenbrock function, which is a popular benchmark for non-linear least-squares method. The magenta dot is the unconstrained minimum; the red dot is the minimum subject to the linear equality constraints (red line); the green dot is the minimum subject to the linear inequality constraints (green triangle), while the yellow dot satisfies bot the equality and inequality constraints. The white line shows the feasible steps taken by CapFit to reach the inequality constrained solution.

CapFit solves linearly-constrained non-linear least-squares optimization problems.

It supports linear inequality/equality constraints and bound constraints. Additionally, parameters can be tied (enforcing non-linear constraints) or fixed without modifying the fitting function. CapFit implements Algorithm 2 of Cappellari (2023). It combines two very successful ideas:

  1. The Sequential Quadratic Programming (SQP);
  2. The Levenberg-Marquardt (LM) method.

CapFit can be described as a Levenberg-Marquardt algorithm with linear constraints (which include simple bounds as a special case).

It is designed for situations where the user function is complex and computationally expensive compared to the small quadratic subproblem, CapFit generally outperforms the best unconstrained or bound-constrained least-squares algorithms in terms of robustness and number of function evaluations (Figure 8). Additionally, it supports more general constraints.

5.1 The CapFit PIC package in Python PIC

The pure-Python CapFit package is on the Python Package Index (PyPI).

How to install: Use pip install capfit. Without write access to the global site-packages directory, use pip install --user capfit.

Usage examples: are in the directory “examples” inside the main package folder inside site-packages. The full documentation is on the Python Package Index (PyPI)

The CapFit procedure is also used for the nonlinear optimization for both MgeFit in section 1 and pPXF in section 4 above.


6 PaFit: Fitting Kinematic PA

Fit the global kinematic position-angle of galaxies

PIC

Figure 9: Left Panel: Best fitting symmetrized kinematics at the optimal position angle determined by PaFit. Right Panel: The corresponding mock observed stellar kinematics, with overlaid the best-fitting kinematic PA. The black dots indicate the location were the kinematics was sampled.

This software implements the method presented in Appendix C of Krajnović et al. (2006) to measure the global kinematic position-angle (PA) from integral field observations of a galaxy stellar or gas kinematics (Figure 9).

See Cappellari et al. (2007), Krajnović et al. (2011) and Graham et al. (2018) for large scale applications of this software to the study of the stellar kinematic misalignment of early-type galaxies. See Davor’s Krajnović page for the related Kinemetry package.

6.1 The PaFit package in Python PIC

The PaFit package is on the Python Package Index (PyPI).

How to install: Use pip install pafit. Without write access to the global site-packages directory, use pip install --user pafit.

Also required is my plotbin package (automatically installed by pip).

PaFit requires the scientific core packages NumPy and Matplotlib.

NOTE: I would appreciate if you drop me an e-mail (address at the bottom) when you download PaFit.


7 LtsFit: Robust linear regression with scatter in arbitrary dimension

Fit lines, planes, or hyperplanes to data with errors in all variables, possible outliers and intrinsic scatter

PIC

Figure 10: Fitting of the (M/L)-\(\sigma \) relation in the Virgo cluster using ltsfit (taken from Cappellari et al. 2013a). The green outliers above the relation are automatically removed from the fit. They turn out to be background galaxies and for this reason they do not follow the cluster relation.

This software implements the method presented in Sec. 3.2 of Cappellari et al. (2013a) to perform extremely robust fit of lines or planes to data with errors in all variables, possible large outliers (bad data) and unknown intrinsic scatter.

The code combines the Least Trimmed Squares (LTS) robust technique, proposed by Rousseeuw (1984) and speeded up in Rousseeuw & Van Driessen (2006), into a least-squares fitting algorithm which allows for intrinsic scatter and errors in all coordinates. This method makes the fit converge to the correct solution even in the presence of numerous catastrophic outliers (like in Figure 10), where the much simpler \(\sigma \)-clipping approach can converge to the wrong solution.

7.1 The LtsFit package in Python PIC

The LtsFit package is on the Python Package Index (PyPI).

How to install: Use pip install ltsfit. Without write access to the global site-packages directory, use pip install --user ltsfit.

Usage examples: are in the directory “examples” inside the main package folder inside site-packages.

LtsFit requires the scientific core packages NumPy, SciPy and Matplotlib.

NOTE: I would appreciate if you drop me an e-mail (address at the bottom) when you download LtsFit.


8 LOESS: Adaptive smoothing in one or two dimensions

Recover mean trends from noisy data in one or two dimension

PIC

Figure 11: Application of the loess_2d routine (with frac=0.6) to the recovery of two underlying functions from a noisy distribution of 200 scattered values. For comparison, the right panels show the distribution obtained via simple averaging on a grid, but using \(100\times \) more values than the ones used for the LOESS recovery. The LOESS approach achieves a comparable result while requiring a much smaller number of input values.

This software provides an improved implementation of the one-dimensional (Cleveland 1979) and two-dimensional (Cleveland & Devlin 1988) Locally Weighted Regression (LOESS) method to recover the mean trends of the population from noisy data in one or two dimensions (Figure 11). It includes a robust approach to deal with outliers (bad data).

These programs were implemented and used to produce the two-dimensional maps and the one-dimensional mean trends in Cappellari et al. (2013b).

8.1 The loess package in Python PIC

The loess package is on the Python Package Index (PyPI).

How to install: Use pip install loess. Without write access to the global site-packages directory, use pip install --user loess.

Usage examples: are in the directory “examples” inside the main package folder inside site-packages.

Also required to run the 2D example is my plotbin package (automatically installed by pip).

NOTE: I would appreciate if you drop me an e-mail (address at the bottom) when you download the code.


9 AdaMet: Adaptive Metropolis for Bayesian analysis

A Python package for efficient Bayesian analysis

PIC

Figure 12: Corner plot for the posterior of the model parameters obtained when fitting the black hole mass in the galaxy NGC1277 using the JAM modelling method and the AdaMet Bayesian code (taken from Krajnović et al. 2018). The Python code to produce this figure is included in the JamPy package in section 2.

This AdaMet package is the implementation of Cappellari et al. (2013a) of the Adaptive Metropolis algorithm of Haario (2001). In many real-world applications, it was found to be more efficient and robust than the emcee approach, whose warm-up phase scales linearly with the number of walkers (Figure 12).

9.1 The AdaMet package in Python PIC

The user-friendly AdaMet package is on the Python Package Index (PyPI).

How to install: Use pip install adamet. Without write access to the global site-packages directory, use pip install --user adamet.

Usage examples: are in the directory ”examples” inside the main package folder inside site-packages.

Also required for plotting is my plotbin package (automatically installed by pip).


Comments and suggestions are welcome to the address on my Homepage.

Latest changes: September 14, 2024

Go back to Michele Cappellari Homepage

References

Barnabè, M. et al. (2012). “The SWELLS survey - IV. Precision measurements of the stellar and dark matter distributions in a spiral lens galaxy”. In: MNRAS 423, pp. 1073–1088. ads: 2012MNRAS.423.1073B.

Bruzual, G. and S. Charlot (2003). “Stellar population synthesis at the resolution of 2003”. In: MNRAS 344.4, pp. 1000–1028. ads: 2003MNRAS.344.1000B.

Calzetti, D. et al. (2000). “The Dust Content and Opacity of Actively Star-forming Galaxies”. In: ApJ 533, pp. 682–695. ads: 2000ApJ...533..682C.

Cappellari, M. (2002). “Efficient multi-Gaussian expansion of galaxies”. In: MNRAS 333, pp. 400–410. ads: 2002MNRAS.333..400C.

— (2008). “Measuring the inclination and mass-to-light ratio of axisymmetric galaxies via anisotropic Jeans models of stellar kinematics”. In: MNRAS 390, pp. 71–86. ads: 2008MNRAS.390...71C.

— (2009). “Voronoi binning: Optimal adaptive tessellations of multi-dimensional data”. In: ArXiv e-prints. ads: 2009arXiv0912.1303C.

— (2016). “Structure and Kinematics of Early-Type Galaxies from Integral Field Spectroscopy”. In: ARA&A 54, pp. 597–665. ads: 2016ARA%26A..54..597C.

— (2017). “Improving the full spectrum fitting method: accurate convolution with Gauss-Hermite functions”. In: MNRAS 466, pp. 798–811. ads: 2017MNRAS.466..798C.

Cappellari, M. and Y. Copin (2003). “Adaptive spatial binning of integral-field spectroscopic data using Voronoi tessellations”. In: MNRAS 342, pp. 345–354. ads: 2003MNRAS.342..345C.

Cappellari, M. and E. Emsellem (2004). “Parametric Recovery of Line-of-Sight Velocity Distributions from Absorption-Line Spectra of Galaxies via Penalized Likelihood”. In: PASP 116, pp. 138–147. ads: 2004PASP..116..138C.

Cappellari, M. et al. (2007). “The SAURON project - X. The orbital anisotropy of elliptical and lenticular galaxies: revisiting the (V/\(\sigma \), \(\epsilon \)) diagram with integral-field stellar kinematics”. In: MNRAS 379, pp. 418–444. ads: 2007MNRAS.379..418C.

Cappellari, M. et al. (2009). “Dynamical Masses of Early-Type Galaxies at \(z\sim 2\): Are they Truly Superdense?” In: ApJ 704, pp. L34–L39. ads: 2009ApJ...704L..34C.

Cappellari, M. et al. (2011). “The ATLAS\(^{3D}\) project - I. A volume-limited sample of 260 nearby early-type galaxies: science goals and selection criteria”. In: MNRAS 413, p. 813. ads: 2011MNRAS.413..813C.

Cappellari, M. et al. (2012). “Systematic variation of the stellar initial mass function in early-type galaxies”. In: Nature 484, pp. 485–488. ads: 2012Natur.484..485C.

Cappellari, M. et al. (2013a). “The ATLAS\(^{3D}\) project - XV. Benchmark for early-type galaxies scaling relations from 260 dynamical models: mass-to-light ratio, dark matter, Fundamental Plane and Mass Plane”. In: MNRAS 432, pp. 1709–1741. ads: 2013MNRAS.432.1709C.

Cappellari, M. et al. (2013b). “The ATLAS\(^{3D}\) project - XX. Mass-size and mass-\(\sigma \) distributions of early-type galaxies: bulge fraction drives kinematics, mass-to-light ratio, molecular gas fraction and stellar initial mass function”. In: MNRAS 432, pp. 1862–1893. ads: 2013MNRAS.432.1862C.

Cappellari, M. et al. (2015). “Small Scatter and Nearly Isothermal Mass Profiles to Four Half-light Radii from Two-dimensional Stellar Dynamics of Early-type Galaxies”. In: ApJ 804, L21, p. L21. ads: 2015ApJ...804L..21C.

Cappellari, M. (2012). “Anisotropic Jeans models of stellar kinematics: second moments including proper motions and radial velocities”. In: arXiv e-prints, arXiv:1211.7009, arXiv:1211.7009. ads: 2012arXiv1211.7009C.

— (2015). “General spherical anisotropic Jeans models of stellar kinematics: including proper motions and radial velocities”. In: arXiv e-prints, arXiv:1504.05533, arXiv:1504.05533. ads: 2015arXiv150405533C.

— (2020). “Efficient solution of the anisotropic spherically aligned axisymmetric Jeans equations of stellar hydrodynamics for galactic dynamics”. In: MNRAS 494.4, pp. 4819–4837. ads: 2020MNRAS.494.4819C.

— (2023). “Full spectrum fitting with photometry in PPXF: stellar population versus dynamical masses, non-parametric star formation history and metallicity for 3200 LEGA-C galaxies at redshift \(z\approx 0.8\)”. In: MNRAS 526.3, pp. 3273–3300. ads: 2023MNRAS.526.3273C.

Cappellari, M. et al. (2010). “Testing Mass Determinations of Supermassive Black Holes via Stellar Kinematics”. In: American Institute of Physics Conference Series. Ed. by V. P. Debattista and C. C. Popescu. Vol. 1240. American Institute of Physics Conference Series, pp. 211–214. ads: 2010AIPC.1240..211C.

Cenarro, A. J. et al. (2001). “Empirical calibration of the near-infrared Ca ii triplet - I. The stellar library and index definition”. In: MNRAS 326, pp. 959–980. ads: 2001MNRAS.326..959C.

Conroy, C., J. E. Gunn, and M. White (2009). “The Propagation of Uncertainties in Stellar Population Synthesis Modeling. I. The Relevance of Uncertain Aspects of Stellar Evolution and the Initial Mass Function to the Derived Physical Properties of Galaxies”. In: ApJ 699, pp. 486–506. ads: 2009ApJ...699..486C.

Drehmer, D. A. et al. (2015). “The benchmark black hole in NGC 4258: dynamical models from high-resolution two-dimensional stellar kinematics”. In: MNRAS 450.1, pp. 128–144. ads: 2015MNRAS.450..128D.

Emsellem, E., G. Monnet, and R. Bacon (1994). “The multi-gaussian expansion method: a tool for building realistic photometric and kinematical models of stellar systems I. The formalism”. In: A&A 285, pp. 723–738. ads: 1994A%26A...285..723E.

Emsellem, E. et al. (2004). “The SAURON project - III. Integral-field absorption-line kinematics of 48 elliptical and lenticular galaxies”. In: MNRAS 352, pp. 721–743. ads: 2004MNRAS.352..721E.

Falcón-Barroso, J. et al. (2011). “An updated MILES stellar library and stellar population models”. In: A&A 532, A95, A95. ads: 2011A%26A...532A..95F.

Falcón-Barroso, J. et al. (2017). “Stellar kinematics across the Hubble sequence in the CALIFA survey: general properties and aperture corrections”. In: A&A 597, A48, A48. ads: 2017A&A...597A..48F.

Feldmeier-Krause, A. et al. (2017). “Triaxial orbit-based modelling of the Milky Way Nuclear Star Cluster”. In: MNRAS 466.4, pp. 4040–4052. ads: 2017MNRAS.466.4040F.

Graham, M. T. et al. (2018). “SDSS-IV MaNGA: stellar angular momentum of about 2300 galaxies: unveiling the bimodality of massive galaxy properties”. In: MNRAS 477.4, pp. 4711–4737. ads: 2018MNRAS.477.4711G.

Gustafsson, B. et al. (2008). “A grid of MARCS model atmospheres for late-type stars. I. Methods and general properties”. In: A&A 486.3, pp. 951–970. ads: 2008A&A...486..951G.

Jeans, J. H. (1922). “The motions of stars in a Kapteyn universe”. In: MNRAS 82, pp. 122–132. ads: 1922MNRAS..82..122J.

Jin, Y. et al. (2019). “Evaluating the ability of triaxial Schwarzschild modelling to estimate properties of galaxies from the Illustris simulation”. In: MNRAS 486.4, pp. 4753–4772. ads: 2019MNRAS.486.4753J.

Johnston, E. J. et al. (2013). “Disentangling the stellar populations in the counter-rotating disc galaxy NGC 4550”. In: MNRAS 428, pp. 1296–1302. ads: 2013MNRAS.428.1296J.

Krajnović, D. et al. (2006). “Kinemetry: a generalization of photometry to the higher moments of the line-of-sight velocity distribution”. In: MNRAS 366, pp. 787–802. ads: 2006MNRAS.366..787K.

Krajnović, D. et al. (2011). “The ATLAS\(^{3D}\) project - II. Morphologies, kinemetric features and alignment between photometric and kinematic axes of early-type galaxies”. In: MNRAS 414, pp. 2923–2949. ads: 2011MNRAS.414.2923K.

Krajnović, D. et al. (2018). “A quartet of black holes and a missing duo: probing the low end of the \(M_{BH}-\sigma \) relation with the adaptive optics assisted integral-field spectroscopy”. In: MNRAS 477.3, pp. 3030–3064. ads: 2018MNRAS.477.3030K.

Leung, G. Y. C. et al. (2018). “The EDGE-CALIFA survey: validating stellar dynamical mass models with CO kinematics”. In: MNRAS 477.1, pp. 254–292. ads: 2018MNRAS.477..254L.

Maraston, C. and G. Strömbäck (2011). “Stellar population models at high spectral resolution”. In: MNRAS 418, pp. 2785–2811. ads: 2011MNRAS.418.2785M.

Munari, U. et al. (2005). “An extensive library of 2500 10 500 Å synthetic spectra”. In: A&A 442.3, pp. 1127–1134. ads: 2005A&A...442.1127M.

Nitschai, M. S., M. Cappellari, and N. Neumayer (2020). “First Gaia dynamical model of the Milky Way disc with six phase space coordinates: a test for galaxy dynamics”. In: MNRAS 494.4, pp. 6001–6011. ads: 2020MNRAS.494.6001N.

Nitschai, M. S. et al. (2021). “Dynamical Model of the Milky Way Using APOGEE and Gaia Data”. In: ApJ 916.2, 112, p. 112. ads: 2021ApJ...916..112N.

Prugniel, P. and C. Soubiran (2001). “A database of high and medium-resolution stellar spectra”. In: A&A 369, pp. 1048–1057. ads: 2001A%26A...369.1048P.

Rix, H.-W. et al. (1992). “NGC 4550 - A laboratory for testing galaxy formation”. In: ApJ 400, pp. L5–L8. ads: 1992ApJ...400L...5R.

Sánchez-Blázquez, P. et al. (2006). “Medium-resolution Isaac Newton Telescope library of empirical spectra”. In: MNRAS 371, pp. 703–718. ads: 2006MNRAS.371..703S.

Sanders, J. S. et al. (2004). “Mapping small-scale temperature and abundance structures in the core of the Perseus cluster”. In: MNRAS 349.3, pp. 952–972. ads: 2004MNRAS.349..952S.

Shajib, A. J. et al. (2023). “TDCOSMO. XII. Improved Hubble constant measurement from lensing time delays using spatially resolved stellar kinematics of the lens galaxy”. In: A&A 673, A9, A9. ads: 2023A&A...673A...9S.

Stanway, E. R. and J. J. Eldridge (2018). “Re-evaluating old stellar populations”. In: MNRAS 479.1, pp. 75–93. ads: 2018MNRAS.479...75S.

Tabor, M. et al. (2017). “Untangling galaxy components: full spectral bulge-disc decomposition”. In: MNRAS 466.2, pp. 2024–2033. ads: 2017MNRAS.466.2024T.

Valdes, F. et al. (2004). “The Indo-US Library of Coudé Feed Stellar Spectra”. In: ApJS 152, pp. 251–259. ads: 2004ApJS..152..251V.

Van de Sande, J. et al. (2017). “The SAMI Galaxy Survey: Revisiting Galaxy Classification through High-order Stellar Kinematics”. In: ApJ 835.1, 104, p. 104. ads: 2017ApJ...835..104V.

Van de Ven, G. et al. (2010). “The Einstein Cross: Constraint on Dark Matter from Stellar Dynamics and Gravitational Lensing”. In: ApJ 719, pp. 1481–1496. ads: 2010ApJ...719.1481V.

Vazdekis, A. et al. (2010). “Evolutionary stellar population synthesis with MILES - I. The base models and a new line index system”. In: MNRAS 404, pp. 1639–1671. ads: 2010MNRAS.404.1639V.

Verro, K. et al. (2022a). “Modelling simple stellar populations in the near-ultraviolet to near-infrared with the X-shooter Spectral Library (XSL)”. In: A&A 661, A50, A50. ads: 2022A&A...661A..50V.

Verro, K. et al. (2022b). “The X-shooter Spectral Library (XSL): Data Release 3”. In: A&A 660, A34, A34. ads: 2022A&A...660A..34V.

Watkins, L. L. et al. (2013). “Discrete dynamical models of \(\omega \) Centauri”. In: MNRAS 436, pp. 2598–2615. ads: 2013MNRAS.436.2598W.

Weijmans, A.-M. et al. (2009). “Stellar velocity profiles and line strengths out to four effective radii in the early-type galaxies NGC3379 and 821”. In: MNRAS 398, pp. 561–574. ads: 2009MNRAS.398..561W.

Westfall, K. B. et al. (2019). “The Data Analysis Pipeline for the SDSS-IV MaNGA IFU Galaxy Survey: Overview”. In: AJ 158.6, 231, p. 231. ads: 2019AJ....158..231W.

Winge, C., R. A. Riffel, and T. Storchi-Bergmann (2009). “The Gemini Spectral Library of Near-IR Late-Type Stellar Templates and Its Application for Velocity Dispersion Measurements”. In: ApJS 185.1, pp. 186–197. ads: 2009ApJS..185..186W.

Woo, J. et al. (2024). “Stellar populations with optical spectra: deep learning versus popular spectrum fitting codes”. In: MNRAS 530.4, pp. 4260–4276. ads: 2024MNRAS.530.4260W.

Yan, R. et al. (2019). “SDSS-IV MaStar: A Large and Comprehensive Empirical Stellar Spectral Library—First Release”. In: ApJ 883.2, 175, p. 175. ads: 2019ApJ...883..175Y.

Zhu, K. et al. (2023). “MaNGA DynPop - I. Quality-assessed stellar dynamical modelling from integral-field spectroscopy of 10K nearby galaxies: a catalogue of masses, mass-to-light ratios, density profiles, and dark matter”. In: MNRAS 522.4, pp. 6326–6353. ads: 2023MNRAS.522.6326Z.

Zhu, K. et al. (2024). “MaNGA DynPop - III. Stellar dynamics versus stellar population relations in 6000 early-type and spiral galaxies: Fundamental Plane, mass-to-light ratios, total density slopes, and dark matter fractions”. In: MNRAS 527.1, pp. 706–730. ads: 2024MNRAS.527..706Z.