What is the purpose of transcranial Doppler ultrasonography?

Doppler ultrasonography uses what is called the Doppler effect to measure the rate and direction of blood flow in the vessels.