sic (Sparse Inpainting Code) generates Gaussian, isotropic CMB realizations, masks them, and recovers the large-scale masked data using sparse inpainting; it is written in Fortran90.
https://ui.adsabs.harvard.edu/abs/2014JCAP...01..050F