xoa.core.tide.predict_currents_complex

xoa.core.tide.predict_currents_complex#

xoa.core.tide.predict_currents_complex(t, omega, u0, v0, semi_major, semi_minor, inclination, phase)[source]#

Harmonic reconstruction of tidal currents as the complex velocity u + 1j * v.

Reconstructs the complex phasor coefficients (R, S) from the ellipse parameters and evaluates w = M @ x — one complex BLAS DGEMM.

Parameters:
  • t (ndarray (nt,))

  • omega (ndarray (nf,))

  • u0 (ndarray (ns,))

  • v0 (ndarray (ns,))

  • semi_major (ndarray (nf, ns))

  • semi_minor (ndarray (nf, ns))

  • inclination (ndarray (nf, ns))

  • phase (ndarray (nf, ns))

Returns:

w (ndarray (nt, ns) complex)