[ascl:2602.020]
Spartan: Modeling advection-dominated accretion flows and their spectra
Spartan calculates the structure and spectrum of optically thin advection-dominated accretion flows (ADAFs) by solving the disk equations numerically under a geometrically thin-disk assumption, using height-integrated equation sets. It reads physical and numerical parameters, including black hole mass, accretion rate, viscosity, pressure ratio, adiabatic index, spin, electron heating fraction, frequency and radial grids, radial step-size controls, specific angular momentum limits, and inclination angle. Spartan returns intrinsic and observed spectra, global disk solutions, and spectra at each radius, and supplies tools to visualize the disk structure and spectral output.
[ascl:2601.013]
BRAINS: BLR Reverberation-mapping Analysis In AGNs with Nested Sampling
Li, Yan-Rong;
Wang, Jian-Min;
Songsheng, Yu-Yang;
Zhang, Zhi-Xiang;
Du, Pu;
Hu, Chen;
Xiao, Ming;
Qiu, Jie;
Lu, Kai-Xing;
Huang, Ying-Ke;
Bai, Jin-Ming;
Bian, Wei-Hao;
Yuan, Ye-Fei;
Ho, Luis C.
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.