Development of inverse methods for reconstruction of flight environments on ablators