3D-Barolo#

A 3D fitting tool for the kinematics of galaxies

3D-Barolo (3D-Based Analysis of Rotating Objects via Line Observations), or BBarolo, fits 3D tilted-ring models to emission-line datacubes. It derives the rotation curve, velocity dispersion and geometry of any disk-like object (galaxy disks, circumnuclear disks, accretion and protoplanetary disks) from any emission line: HI, CO and other molecular lines, recombination lines. Fitting the datacube itself, rather than a velocity field, makes the results robust against beam smearing, and reliable also for poorly resolved galaxies.

BBarolo 2.0.1 is written in pure Python: nothing to compile, the same parameter files and outputs as the C++ BBarolo, and a Python interface to every task.

Get started

The tasks

pip install bbarolo       # then: BBarolo -p param.par

Help with the code

If you experience any issue when using BBarolo with your data, or if you are not satisfied with the quality of the fit, PLEASE do not hesitate to contact either Enrico or Filippo for assistance.

What it does#

3D tilted-ring fits

3DFIT fits rotation, dispersion and geometry ring by ring to the whole datacube, with the beam and the spectral resolution in the model.

3DFIT
Global and Bayesian fits

3DFIT with METHOD GLOBAL or BAYESIAN fits all the parameters at once: the maximum of the likelihood, or the posterior by nested sampling, with errors, correlations, priors and the outer edge of the disk. SLITFIT fits long-slit spectra the same way.

3DFIT
Models of datacubes

GALMOD builds model cubes of rotating disks; GalMod3D from any 3D density and velocity field: bars, spirals, warps, simulations.

GALMOD
Source finding and masks

SEARCH finds the emission in a cube; MAKEMASK and SMOOTH build masks and change the resolution.

SEARCH
Maps and PV diagrams

Moment maps, global profiles, PVSLICE position-velocity diagrams, ELLPROF radial profiles.

Moment maps and profiles
Python and command line

Every task runs from a parameter file (BBarolo -p) or from Python (FitMod3D(...).run()), with the results as astropy objects.

Getting started

News#

  • BBarolo 2.0 (November 2026): the pure-Python BBarolo, with the global and Bayesian fits (3DFIT METHOD GLOBAL and BAYESIAN, SLITFIT), models from 3D fields (GalMod3D), new initial estimates and many fixes. See Changes from BBarolo 1.8.

  • BBarolo 1.8 (June 2026): the last version of the C++ code. Its documentation is archived.

Citing BBarolo#

If you use BBarolo in your research, please cite Di Teodoro & Fraternali (2015), MNRAS 451, 3021. See Citing BBarolo.