TIA: A forward model and analyzer for Talbot interferometry experiments of dense plasmas