Sunteți pe pagina 1din 3

E.2.

Standardization of data, trend removal and filtering


Prior to calculating the frequency spectrum of the surface elevation ζ, various
preliminary operations are usually applied to the data, i.e. data standardisation, trend
removal and filtering (Massel, 1996). Filtering of wave data prior to a detailed analysis is
desirable for various seasons. If we are particularly interested in wind-induced waves, the
swell component should be filtered out. In the other hand, if we concentrate on the most
energetic part of the wave spectrum only, the high frequency components with negligible
energy should be removed by filtering. Digital filtering can be performed in either the
time domain or the frequency domain
To standardise the ζ values we present them in a non-dimensional form:
ςn −ς
ξn = , (E.1)
σς
where
N
1
ς=
N
∑ς n −1
n . (E.2)

For a stationary ergodic process, the quantity ς is an unbiased estimate of the true
mean value. The unbiased estimate of the standard deviation of data ς n is given by:

( )
1/ 2
⎡ 1 N 2⎤
σς = ⎢ ∑
⎣ N − 1 n −1
ςn −ς ⎥

(E.3)

Especially in the case of wave orbital velocity measurements in a coastal zone, in


regions with a large tidal motion, removal of the spurious trend or low frequency
components, with a wavelength longer than the record length, is usually required. The
most common technique for trend removal is to fit a low-order polynomial to the data
using the least square method. Thus, we assume that the original wave data {ς n } can be
approximated by a polynomial of order K:
K
ς n = ∑ bk (n∆t )k n=1, 2,..., N.
~
(E.4)
k =0

A “least squares” fit provides a system of equations for unknown coefficients bk


as (Bendat and Piersol, 1986):

1
K N N

∑ bk ∑ (n∆t ) = ∑ ς n (n∆t ) , m=0,1,2,...,K


k +m m
(E.5)
k =0 n =1 n =1

Assuming that K=1, we obtain:

2(2 N + 1)∑n =1 ς n − 6 ∑n =1 nς n
N N

b0 = (E.6)
N ( N − 1)

12∑n =1 nς n − 6 ( N + 1)∑n =1 ς n
N N

b1 = (E.7)
∆tN (N − 1)(N + 1)
^
The corrected time series ς n now becomes:
K
ς n (n∆t ) = ς n (n∆t ) − ∑ bk (n∆t )k
^
(E.8)
k =0

E.3. Calculation of frequency spectra by Blackman-Tukey method


The frequency spectra are usually estimated by the Blackman-Tukey method,
which is based on the Wiener-Khinchine theorem. The Blackman- Tukey procedure
requires calculations in the following steps (Massel, 1996):
⎧^ ⎫
1. Subtracting a mean value from digital data ⎨ς n ⎬ , trend removing and filtering
⎩ ⎭
(if necessary).
2. Calculating the autocorrelation function:
N −r ^
K (r∆t ) =
1 ^

N −r
∑ ς n ς n+ r , r=0,1,2,...,m,
n =1
(E.9)

where r is called the lag number and m is the maximum lag number (m<N). Selection of
the m value provides the optimum estimate for the autocorrelation function. A finite value
of m implies that surface elevation ς ( t ) , at times t f m∆t are uncorrelated.
3. Suppression of the spectrum leakage using a window for the autocorrelation
function. Such window tapers the autocorrelation function to eliminate the discontinuity
at the end of function K. There are numerous such windows in use. A typical window is
the Hanning window:
1⎛ πr ⎞
u hr = ⎜ 1 + cos ⎟ . (E.10)
2⎝ m⎠
The modified autocorrelation function becomes:

2
K (r∆t ) = K (r∆t )u hr .
~
(E.11)
4. Calculating the frequency spectral density by numerical integration of the

autocorrelation function K (r∆t ) :


~

∆t ⎧ ~ m −1 ~
⎛ πrk ⎞ ~ ⎫
S (ω k ) = ⎨ K (0 ) + 2∑ K ( r∆t ) cos⎜ ⎟ + K (m∆t ) cos( πk )⎬ , (E.12)
π ⎩ r =1 ⎝ m ⎠ ⎭

for frequencies ω k = k∆ω = , k=0,1,2,...,m.
m∆t
2
⎡^ ⎤
The estimate S (ω ) describes the time average of in terms of ⎢ς ( t )⎥ in terms of its
⎣ ⎦

⎛B ⎞ ⎛B ⎞
frequency components laying inside the frequency band: ω − ⎜ e ⎟, ω + ⎜ e ⎟ , divided
⎝ 2 ⎠ ⎝ 2 ⎠
1
by the resolution bandwidth Be (rad/s). Equation (E.12) gives m independent estimates
2
2 fc
of the spectrum. The estimates separated by frequency increments smaller than are
m
correlated
For a given bandwidth Be, the required maximum lag number m is:

m= . (E.13)
B e ∆t
The standard error ε of the spectrum estimation is usually presented as a function of the
number of degrees of freedom n:

2 m
ε= = , (E.14)
n N
2N
where n = (E.15)
m
It should be noted that, for given N, when the maximum lag number m is small, then
the error is also small. The minimum total record length t, required to achieve a desired
error ε in terms of parameters, is given by:
2N m ∆t
t= = 2 . (E.16)
Be ε 2
ε

S-ar putea să vă placă și