ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2601.013] BRAINS: BLR Reverberation-mapping Analysis In AGNs with Nested Sampling

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.

Code site:
https://github.com/LiyrAstroph/BRAINS
Used in:
https://scixplorer.org/abs/2025ApJ...991..218S
Described in:
https://scixplorer.org/abs/2018ApJ...869..137L
Bibcode:
2026ascl.soft01013L
Preferred citation method:

Please see citation information here: https://github.com/LiyrAstroph/BRAINS#brains


Views: 74

ascl:2601.013
Add this shield to your page
Copy the above HTML to add this shield to your code's website.