T, _ix = ts.wave_periods(vh=0.0, pdef=pdef, wdef=wdef)