BRAINS (BLR Reverberation-mapping Analysis In AGNs with Nested Sampling) dynamically models the broad-line regions of active galactic nuclei using reverberation-mapping and spectro-astrometric observations. It couples flexible geometric and kinematic BLR models with radiative transfer and line-response prescriptions to reproduce observed emission-line light curves, spectra, and spatial signatures. The code employs nested sampling to infer BLR structure and black hole mass, providing posterior distributions for physical and nuisance parameters and enabling rigorous model comparison. Implemented in C and Python, BRAINS supports configurable data sets, model components, and priors, and includes utilities for data preparation, parameter estimation, and visualization of inferred BLR and black hole properties.
Please see citation information here: https://github.com/LiyrAstroph/BRAINS#brains