Devices for determining the dimensions of the prosthetic valve to be implanted