Forward-difference: Difference between revisions

From Atomix
Created page with "For the '''forward-difference''' scheme # start with n being the lowest number bin of the range over which the structure function is to be evaluated (number of bins in range m..."
 
Yuengdjern (talk | contribs)
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
For the '''forward-difference''' scheme
For the '''forward-difference''' scheme
# start with n being the lowest number bin of the range over which the structure function is to be evaluated (number of bins in range must exceed n<sub>max</sub>
# start with <math>n</math> being the lowest number bin of the range over which the structure function is to be evaluated (number of bins in range should equal or exceed <math>n_{\text{rmax}}</math>) + 1
## start with <math>\delta</math> = 1
## start with <math>\delta = 1</math>
## compute the second order structure function D(n,<math>\delta</math>) as the segment mean of the square of the velocity difference between the bin n and bin n + <math>\delta</math>: <br/><br /> D(n, <math>\delta</math>) = <math>\langle</math> [v’(n, t) - v’(n+<math>\delta</math>, t)]<sup>2</sup> <math>\rangle</math> <br/><br /> where the angled brackets indicate the mean across all t for the data segment yielding a velocity difference after the application of the Level 1 QC criteria
## compute the second order forward-difference structure function <math>D(n,\delta)</math> as the segment mean of the square of the velocity difference between the bin <math>n</math> and bin <math>n + \delta</math>: <br/><br /> <math>D(n, \delta) = \Big\langle \big[b^\prime(n, t) - b^\prime(n+\delta,\ t)\big]^2 \Big\rangle</math> <br/><br /> where the angled brackets indicate the mean across all <math>t</math> for the data segment yielding a velocity difference after the application of the Level 1 QC criteria
## increment <math>\delta</math> and repeat steps until <math>\delta</math> = n<sub>max</sub> or n + <math>\delta</math> exceeds the last bin of the range over which the structure function is to be evaluated
## increment <math>\delta</math> and repeat steps until <math>\delta = n_{\text{rmax}}</math> or <math>n + \delta</math> exceeds the last bin of the range over which the structure function is to be evaluated
# increment n and repeat steps until n + 1 is the last bin of the range over which the structure function is to be evaluated
# increment <math>n</math> and repeat steps until <math>n + 1</math> is the last bin of the range over which the structure function is to be evaluated
 
See [[Example forward-difference | example forward-difference calculation]] for more detail regarding the calculation
 
----
Return to [[Processing your ADCP data using structure function techniques | Compute structure functions and dissipation estimates]]
 
[[Category:Velocity profilers]]

Latest revision as of 13:00, 23 May 2022

For the forward-difference scheme

  1. start with [math]\displaystyle{ n }[/math] being the lowest number bin of the range over which the structure function is to be evaluated (number of bins in range should equal or exceed [math]\displaystyle{ n_{\text{rmax}} }[/math]) + 1
    1. start with [math]\displaystyle{ \delta = 1 }[/math]
    2. compute the second order forward-difference structure function [math]\displaystyle{ D(n,\delta) }[/math] as the segment mean of the square of the velocity difference between the bin [math]\displaystyle{ n }[/math] and bin [math]\displaystyle{ n + \delta }[/math]:

      [math]\displaystyle{ D(n, \delta) = \Big\langle \big[b^\prime(n, t) - b^\prime(n+\delta,\ t)\big]^2 \Big\rangle }[/math]

      where the angled brackets indicate the mean across all [math]\displaystyle{ t }[/math] for the data segment yielding a velocity difference after the application of the Level 1 QC criteria
    3. increment [math]\displaystyle{ \delta }[/math] and repeat steps until [math]\displaystyle{ \delta = n_{\text{rmax}} }[/math] or [math]\displaystyle{ n + \delta }[/math] exceeds the last bin of the range over which the structure function is to be evaluated
  2. increment [math]\displaystyle{ n }[/math] and repeat steps until [math]\displaystyle{ n + 1 }[/math] is the last bin of the range over which the structure function is to be evaluated

See example forward-difference calculation for more detail regarding the calculation


Return to Compute structure functions and dissipation estimates