Note that there are some explanatory texts on larger screens.

plurals
  1. POSignal Relationships and Conversion: Transforming one Signal into another?
    primarykey
    data
    text
    <p>I'm trying to relate a near shore tidal signal (<strong>point A</strong>) to 3 points along a long model boundary (<strong>points B C D</strong>). I want to possibly have a relationship between <strong>B C D</strong> with which we can convert <strong>A</strong> predictions into <strong>B C</strong> and <strong>D</strong>. At the moment I'm doing a single phase shift, an amplitude ration for levels above zeros, an amplitude ration for levels below zero and a mean level shift.</p> <p>This creates a kink in the Tidal signal at Peak ebb and Peak flood and results in the model over predicting ebb currents. I was wondering if anyone is aware of a more complex relationship for this sort of transformation?</p> <p>One thing I would like to capture is the difference in phase shift between high and low water (for example the ration of period of the positives to the period of the negatives might be different for the different points). </p> <p>An example algorithm for current process.</p> <pre><code>A = vector (size n x 1 ) units meters time_A = vector (size n x 1 ) ph_B = phase shift for AvsB. pos_amp_B = positive amplitude ration. neg_amp_B = negative amplitude ration. B_mean = long term mean of B. A_mean = long term mean of A. for i = 1:n a = A(i) - A_mean if a &gt; 0 B(i) = a*pos_amp_B else B(i) = a*neg_amp_B end time_B(i) = time_A(i) = ph_B B(i) = B(i) + B_mean end </code></pre> <p>BTW: The relationship is based on about 6 months of data.</p> <p>EDIT 1: Well, firstly just think of two sinusoidal signals (ie. amplitude, phase shift), but not regular, so for example the period is 12.5 hrs but the slopes and periods of the positive half and negative half aren't all the same. You don't need any contextual knowledge. Im just looking for a transformation algorithm.</p> <p>EDIT 2:</p> <p>Here's a pic of the timeseries and the fft comparisons (fft focused on frequencies of high energy (12.5 hrs (semidiurnal)), just to give idea not all frequencys are so scaled nicely). Black is A. green in zeros line. </p> <p><img src="https://i.stack.imgur.com/N10aa.png" alt="Water Level [m] timeseries (top) and fft analysis (bottom)"></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload