# How to calculate the kinetic energy spectra from ocean current timeseries?

How does one practically compute the kinetic energy spectra from a timeseries of u- and v- Cartesian components of ocean current velocity ($m s^{-1}$) obtained from an Acoustic Doppler Current Profiler (ADCP) moored on the seabed?

Do you:

1) compute the spectra of each u- and v- components and then calculate the resulting kinetic energy from the spectra in the frequency domain? i.e. $KE(f) = 0.5\times(u_{(f)}^2 + v_{(f)}^2)$; where $KE_{(f)}$ is the kinetic energy spectrum per unit frequency and similarly $u_{(f)}$ and $v_{(f)}$ are the u- and v- power spectra?

or;

2) compute the kinetic energy $KE = 0.5\times(u_{(t)}^2 + v_{(t)}^2)$, where $u_{(t)}$ & $v_{(t)}$ are the current velocity timeseries and then calculate the power spectral density (i.e. using Matlab's pwelch) of the resulting KE?

Any guidance with the theory or practical calculation would be very much appreciated.

Thank you.