HINSPHERES: Spherically Symmetric Radiative Transfer Modeling of HINSA and the Radial HI-to-H
2 Transition in Molecular Clouds
Molecular clouds transition from HI to H$_2$ as they evolve, and HINSA traces this cold atomic gas, but standard analyses fit a single Gaussian with uniform spin temperature, which cannot recover the radial HI distribution. We present hinspheres, an open-source framework that models the core as spherically symmetric concentric shells, solves radiative transfer along the line of sight, and jointly fits HI abundance, temperature, and kinematics. It recovers synthetic parameters with mean relative error of 4.6-6.8%, remaining below 16% for cores within 1 kpc at FAST resolution with noise under 0.2 K. Applied to L1574 and L1544, it reveals radial HI abundance profiles spanning about three orders of magnitude and yields chemical ages of $6.5\times10^6$ and $8.7\times10^6$ yr.