Line shape modeling in warm and dense hydrogen plasmas