Wavelet assessment of cerebrospinal compensatory reserve and cerebrovascular reactivity