-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problems with aligning channles for double ended calibration #59
Comments
Thanks for raising these issues. A best practice is to only raise one issue per, well, issue. Ok, I am going to parse this into a couple issues and raise those separately, so we can track each individually. Let me know if I dissected this correctly. Issue 1: The non-existent documentation on the Issue 2: The new Issue 3: I am not quite sure I follow the discussion regarding the dropping of channels. The pyfocs logic attempts to always pair the "forward" channel with a "backwards" channel. That means that sometimes the pyfocs logic drops an observation in some edge cases. This logic was designed to never double use an observation and to handle occasions when observations may span between archived time intervals when processing long blocks of data. Does this logic not work? If so, I need you to raise a separate issue demonstrating the issue. Issue 4: The example notebook makes this point, no? The automation script is not meant to run without providing the |
Thanks for the hint, I'll seperate issues next time. Issue 3: Within the section 1.2 Further Data preparation: Prune to similar time period the notebook
As far is I understand, this snippet referrs to a specific data set and breaks the process for data sets where both channels already come with the same amount of observations (or channel 2 is longer).
Issue 4: I am referring to the notebook section 2. Align the Forwards and Backwards channels.. Here the variable Hope I could make my points a little more clear. |
Since the automated shift to align foreward and backward channel suggested largely varying shifts, I used the notebook 'prep_doubleended'.
I ran into some pitfalls executing the script:
It was unclear to me, that I could (and had to) just drop the
ref_data
keyword inassign_ref_data()
, when I used no external temperature data. Might be solved by a short note.The addition to drop one observation in one channel might come with a check, wether a (and which) channel has more observations than the other, apllying the correction only if needed and hence avoiding a tripping wire when time dimesnions are already of equal length.
ds_ch1 = ds_ch1.isel(time=slice(None, -1))
Highlighting the argument
shift_lims
insuggest_cable_shift_double_ended()
as something that has to be expanded when no good match is achieved might point out, that only a local maximum of correlation was reached with the default limits and hence save some troubleshooting when the lag is large (>60 bins or 15 meters in my case).Might too narrow shift limits also be the reason, why the automated function when executing PyFOX gave wrong values?
The text was updated successfully, but these errors were encountered: