RotCurves: A PYTHON package for efficient modelling and fitting of galactic rotation curves at high-z
A. Nestor Shachar, A. Sternberg, S. H. Price, N. M. Förster Schreiber, R. Genzel, L. J. Tacconi, H. Übler, C. Barfety, A. Burkert, J. Chen, R. Davies, F. Eisenhauer, J. M. Espejo Salcedo, R. Herrera-Camus, J. B. Jolly, L. L. Lee, T. Naab, S. Pastras, C. Pulsoni, T. T. Shimizu, G. Tozzi
TL;DR
RotCurves presents a fast Python forward-modeling tool for high-redshift galactic rotation curves that corrects beam smearing by projecting the PSF into the disk plane and convolving in the galaxy frame. It builds an axisymmetric mass model with bulge, disk, and a dark-matter halo (NFW, Burkert, Einasto, etc.), includes pressure-support corrections, and fits to data using an MCMC sampler. Benchmarks against dysmalpy show RotCurves achieves typical runtimes of about $\sim 10\,\mathrm{ms}$ per realization, ~200–300× faster, while recovering intrinsic parameters with small biases for well-resolved systems; biases increase at lower S/N or with larger PSFs. The tool is intended for exploratory analyses, rapid parameter studies, and processing large IFU survey samples, with code publicly available on GitHub, enabling efficient testing of mass-model assumptions across cosmic time.
Abstract
Rotation curves are a fundamental tool in the study of galaxies across cosmic time, and with the advent of large integral field unit (IFU) kinematic surveys there is an increasing need for efficient and flexible modelling tools. We present RotCurves, a parametric forward-modeling tool designed for rotation curve analysis at high-z, correcting for ``beam smearing" by projecting and convolving the beam PSF in the plane of the galaxy. We benchmark RotCurves against the established parametric code dysmalpy using synthetic observations. The typical runtime with RotCurves is a few ~10ms, a factor 250 faster than dysmalpy for a single realization. For well-resolved systems (PSF FWHM < Reff), the mock observed rotation and dispersion curves agree to within 5% up to 3Reff, where most of the discrepancies are in the inner disk. whereas in marginally resolved systems (PSF FWHM > 1.5 Reff) discrepancies increase to up to 15%. Using a built-in MCMC fitting procedure, RotCurves recovers well the intrinsic model parameters across a wide range of galaxy properties and accounting for realistic noise patterns. Systematic biases emerge for the effective radius and for low disk masses (Mdisk < 3x10^9 Msun). We show excellent parameter recovery at high signal-to-noise ratios (S/N > 25), with increasing deviations in parameter recovery at lower S/N. RotCurves is best suited for inclinations of 10 < i < 80. RotCurves is built as an exploratory tool for rapid testing of mass model assumptions, parameter studies and for efficiently processing large samples of observational data from large IFU surveys. The code is publicly available on github.
