Ultrasonic monitoring of patient’s heart during cardiac surgery