Mg2+-based method for the Pertuso spring discharge evaluation