Skip to content

Commit 31457ab

Browse files
authored
Merge pull request #55 from bareboat-necessities/codex/tune-3d-detrending-parameters
Tune 3D detrending simulation config to reduce over-filtering
2 parents 70325bf + 567cdfb commit 31457ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/detrend/detrend-wave3d-test.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@ int main(int argc, char* argv[]) {
218218
const double gate_rms_m = kRmsGateFractionOfHeight * scenario.height_m;
219219
const double duration_s = wave_rows.back().time_s;
220220

221-
AdaptiveWaveDetrender3D detrender;
221+
AdaptiveWaveDetrender3D::Config cfg;
222+
cfg.baseline_cutoff_fraction = 0.18f;
223+
cfg.enable_wave_cleanup = false;
224+
AdaptiveWaveDetrender3D detrender(cfg);
222225
RMSAccumulator3D drift_rms;
223226
RMSAccumulator3D detrended_rms;
224227

0 commit comments

Comments
 (0)