xoa.core.tide.predict_ssh

Contents

xoa.core.tide.predict_ssh#

xoa.core.tide.predict_ssh(t, omega, h0, amp, phase, fr=None, du=None)[source]#

Harmonic reconstruction of SSH at all grid points.

Equivalent to the analysis transpose: h = A @ x, where x holds the (sin, cos) coefficients recovered from (amp, phase). One BLAS DGEMM.

Parameters:
  • t (ndarray (nt,))

  • omega (ndarray (nf,))

  • h0 (ndarray (ns,))

  • amp (ndarray (nf, ns))

  • phase (ndarray (nf, ns))

  • fr (ndarray (nf, nt), None) – Relative nodal corrections, see design_matrix().

  • du (ndarray (nf, nt), None) – Relative nodal corrections, see design_matrix().

Returns:

h (ndarray (nt, ns))