Open kkappler opened 3 years ago
Regarding 1 EDF weights are implemented to pre-weight the data right before input to regression. There is a draft explanation for these weights in the appendix of the Phase1 FTR. Huber weights: we will reference Gary's papers,but a paragraph explaining that this is warranted. Here is a reference http://users.stat.umn.edu/~sandy/courses/8053/handouts/robust.pdf Segment weights: This is a 1-dimensional array of the same length as the time series' of Fourier coefficients. It can be used to downweight bad segments across all channels. It is not 100% clear how this works w.r.t. RR processing, i.e. is it by station, or arraywide? @egbert-g let's discuss Channel Weights: Like segment weights but multidimensional. Allows individual segments from each channel to be weighted independently
Before closing this, the following should be addressed
[ ] Add a test that compares python edfwts vs an octave call to the same method in Gary's matlab code. Test use cases:
[ ] The edfweights parameters should be added to the config
[ ] A flow diagram showing the weights should be added to the documentation.
There are several data weighting schemes floating around: Edfwts, huber weights, segment weights and channel weights.
In the matlab codes these are variously, and inconsitently referred to as W, wt, and wtt and it is seldom clear which weights are being applied.
We need