Example bin-centred difference: Difference between revisions
Created page with "Consider the example of an ADCP with a beam angle of <math>20^{\circ}</math>, configured with a vertical bin size of 10 cm, recording profiles at 1 second intervals with a dat..." |
No edit summary |
||
Line 5: | Line 5: | ||
[[File:Velocity data.png|frameless|center|400px]] | [[File:Velocity data.png|frameless|center|400px]] | ||
The along-beam bin separation distance, <math>r_0 = 0.1 / \cos{20^\circ} = 0.1064</math> | The along-beam bin separation distance, <math>r_0 = 0.1 / \cos{20^\circ} = 0.1064\,\text{m}</math>, so evaluating <math>\varepsilon</math> estimates on the basis of <math>r_{\text{max}}</math> of <math>\sim 1.5\,\text{m}</math> implies <math>n_{\text{rmax}} = 1.5 / 0.1064 \approx 14</math> bins. The lowest number bin over which this separation distance can be centred is bin 8 <math>(n_{\text{rmax}}/2 + 1)</math> and is evaluated using data from bins 1 and 15. The highest number bin for which the separation distance can be evaluated is 23, using data from bins 16 and 30. So the bin range for which <math>1\leqslant{\delta}\leqslant{14}</math> can all be evaluated is <math>8\leqslant{n}\leqslant{23}</math>. | ||
Note that the structure function can be calculated for bins outside this range, but not all of the desired separation distances can be evaluated, limiting the range available for the regression. Care should therefore be exercised in comparing the resulting <math>\varepsilon</math> | Note that the structure function can be calculated for bins outside this range, but not all of the desired separation distances can be evaluated, limiting the range available for the regression. Care should therefore be exercised in comparing the resulting <math>\varepsilon</math> estimates. | ||
For each profile <math>t</math>, the squared velocity difference <math>\Delta^2(n,\delta,t)</math> is evaluated for each of the bins in the range <math>8\leqslant{n}\leqslant{23}</math> and each of the separation distances <math>1\leqslant{\delta}\leqslant{14}</math>. | For each profile <math>t</math>, the squared velocity difference <math>\Delta^2(n,\delta,t)</math> is evaluated for each of the bins in the range <math>8\leqslant{n}\leqslant{23}</math> and each of the separation distances <math>1\leqslant{\delta}\leqslant{14}</math>. | ||
# If <math>\delta</math> is '''even''' then the | # If <math>\delta</math> is '''even''' then the squared velocity difference is based on the bin velocities for the bins symmetrically spaced either side of the evaluation bin. So for the first profile in the segment <math>(t=1)</math>, bin <math>n = 8</math> and separation distance <math>\delta = 2</math>: <br /><br /> <math>\Delta^2(8,2,1) = \left[v^\prime(7,1) - v^\prime(9,1)\right]^2</math> <br /><br /> similarly for <math>\delta = 10</math>: <br /><br /> <math>\Delta^2(8,10,1) = \left[v^\prime(3,1) - v^\prime(13,1)\right]^2</math> <br /><br /> | ||
# If <math>\delta</math> is '''odd''' the calculation is complicated by the fact that the separation distance cannot be exactly centred on the bin, so the mean of the squared velocity difference options centred on the bin edges | # If <math>\delta</math> is '''odd''' the calculation is complicated by the fact that the separation distance cannot be exactly centred on the bin, so the mean of the squared velocity difference options centred on the bin edges is used. Again using the example of the first profile in the segment <math>(t=1)</math> and bin <math>n = 8</math>, but with separation distance <math>\delta = 3</math>: <br /><br /> <math>\Delta^2_{\text{lo}}(8,3,1) = \left[v^\prime(6,1) - v^\prime(9,1)\right]^2</math> <br /><br /> <math>\Delta^2_{\text{hi}}(8,3,1) = \left[v^\prime(7,1) - v^\prime(10,1)\right]^2</math> <br /><br /> and <br /><br /> <math>\Delta^2(8,3,1) = \frac{\Delta^2_{\text{lo}}(8,3,1) + \Delta^2_{\text{hi}}(8,3,1)}{2}</math> <br /><br /> similarly for <math>\delta = 13</math>: <br /><br /> <math>\Delta^2_{\text{lo}}(8,13,1) = \left[v^\prime(1,1) - v^\prime(14,1)\right]^2</math> <br /><br /> <math>\Delta^2_{\text{hi}}(8,13,1) = \left[v^\prime(2,1) - v^\prime(15,1)\right]^2</math> <br /><br /> and <br /><br /> <math>\Delta^2(8,13,1) = \frac{\Delta^2_{\text{lo}}(8,13,1) + \Delta^2_{\text{hi}}(8,13,1)}{2}</math> | ||
Having evaluated the squared velocity difference for the range of bins and separation distances for each of the profiles, the structure function is evaluated by taking the mean across the 300 profiles in the data segment i.e. | Having evaluated the squared velocity difference for the range of bins and separation distances for each of the profiles, the structure function is evaluated by taking the mean across the 300 profiles in the data segment i.e. |
Revision as of 11:46, 15 November 2021
Consider the example of an ADCP with a beam angle of [math]\displaystyle{ 20^{\circ} }[/math], configured with a vertical bin size of 10 cm, recording profiles at 1 second intervals with a data segment length of 300 seconds. The Level 1 QC of the data identified that good data was typically returned from bins 1 to 30.
The velocity data from a single beam for a single data segment can therefore be visualised as:
The along-beam bin separation distance, [math]\displaystyle{ r_0 = 0.1 / \cos{20^\circ} = 0.1064\,\text{m} }[/math], so evaluating [math]\displaystyle{ \varepsilon }[/math] estimates on the basis of [math]\displaystyle{ r_{\text{max}} }[/math] of [math]\displaystyle{ \sim 1.5\,\text{m} }[/math] implies [math]\displaystyle{ n_{\text{rmax}} = 1.5 / 0.1064 \approx 14 }[/math] bins. The lowest number bin over which this separation distance can be centred is bin 8 [math]\displaystyle{ (n_{\text{rmax}}/2 + 1) }[/math] and is evaluated using data from bins 1 and 15. The highest number bin for which the separation distance can be evaluated is 23, using data from bins 16 and 30. So the bin range for which [math]\displaystyle{ 1\leqslant{\delta}\leqslant{14} }[/math] can all be evaluated is [math]\displaystyle{ 8\leqslant{n}\leqslant{23} }[/math].
Note that the structure function can be calculated for bins outside this range, but not all of the desired separation distances can be evaluated, limiting the range available for the regression. Care should therefore be exercised in comparing the resulting [math]\displaystyle{ \varepsilon }[/math] estimates.
For each profile [math]\displaystyle{ t }[/math], the squared velocity difference [math]\displaystyle{ \Delta^2(n,\delta,t) }[/math] is evaluated for each of the bins in the range [math]\displaystyle{ 8\leqslant{n}\leqslant{23} }[/math] and each of the separation distances [math]\displaystyle{ 1\leqslant{\delta}\leqslant{14} }[/math].
- If [math]\displaystyle{ \delta }[/math] is even then the squared velocity difference is based on the bin velocities for the bins symmetrically spaced either side of the evaluation bin. So for the first profile in the segment [math]\displaystyle{ (t=1) }[/math], bin [math]\displaystyle{ n = 8 }[/math] and separation distance [math]\displaystyle{ \delta = 2 }[/math]:
[math]\displaystyle{ \Delta^2(8,2,1) = \left[v^\prime(7,1) - v^\prime(9,1)\right]^2 }[/math]
similarly for [math]\displaystyle{ \delta = 10 }[/math]:
[math]\displaystyle{ \Delta^2(8,10,1) = \left[v^\prime(3,1) - v^\prime(13,1)\right]^2 }[/math] - If [math]\displaystyle{ \delta }[/math] is odd the calculation is complicated by the fact that the separation distance cannot be exactly centred on the bin, so the mean of the squared velocity difference options centred on the bin edges is used. Again using the example of the first profile in the segment [math]\displaystyle{ (t=1) }[/math] and bin [math]\displaystyle{ n = 8 }[/math], but with separation distance [math]\displaystyle{ \delta = 3 }[/math]:
[math]\displaystyle{ \Delta^2_{\text{lo}}(8,3,1) = \left[v^\prime(6,1) - v^\prime(9,1)\right]^2 }[/math]
[math]\displaystyle{ \Delta^2_{\text{hi}}(8,3,1) = \left[v^\prime(7,1) - v^\prime(10,1)\right]^2 }[/math]
and
[math]\displaystyle{ \Delta^2(8,3,1) = \frac{\Delta^2_{\text{lo}}(8,3,1) + \Delta^2_{\text{hi}}(8,3,1)}{2} }[/math]
similarly for [math]\displaystyle{ \delta = 13 }[/math]:
[math]\displaystyle{ \Delta^2_{\text{lo}}(8,13,1) = \left[v^\prime(1,1) - v^\prime(14,1)\right]^2 }[/math]
[math]\displaystyle{ \Delta^2_{\text{hi}}(8,13,1) = \left[v^\prime(2,1) - v^\prime(15,1)\right]^2 }[/math]
and
[math]\displaystyle{ \Delta^2(8,13,1) = \frac{\Delta^2_{\text{lo}}(8,13,1) + \Delta^2_{\text{hi}}(8,13,1)}{2} }[/math]
Having evaluated the squared velocity difference for the range of bins and separation distances for each of the profiles, the structure function is evaluated by taking the mean across the 300 profiles in the data segment i.e.
- [math]\displaystyle{ D(n,\delta) = \sum_{t=1}^{300}\Delta^2(n,\delta,t) }[/math]
if all options are evaluated.
Return to Bin-centred difference