Acoustic Ray Tracing & Sound Velocity Profiles (ray)
The ray directory contains acoustic ray-tracing engines, sound velocity profile (SVP) comparison utilities, harmonic mean sound speed calculators, and plotlib-based oceanographic cast plotters.
Ray Tracing & Refraction Solvers
Ray&traceRayβ Core Snellβs Law constant-gradient layered acoustic ray tracers computing two-way travel time, horizontal range, depth, and ray bending across water-column sound velocity profiles.buildrayβ Pre-computes 2D depth/range ray-tracing lookup tables (JHC_headerfloat grids) from an SVP cast for fast swath refraction correction.calcRayDiffβ Quantifies across-track depth and radial positioning errors induced by mismatches between two sound velocity profiles (compareTwoSVPs).Switchβ Models depth and across-track discontinuities caused by switching active sound velocity profiles during multibeam acquisition.
Sound Velocity Profile Analysis & Plotting
plotSVPβ Comprehensiveplotlibvector plotter for temperature, salinity, density, and sound speed casts (plot.meta).compareTwoSVPsβ Compares two sound velocity casts and computes depth-dependent refraction residuals.svpSonarβ Evaluates surface sound speed (td_sound_speed) vs. profile-integrated harmonic sound speed at transducer draft.new_speedtosalinityβ Inverting empirical seawater sound speed equations (Chen & Millero / Del Grosso / Mackenzie) to estimate salinity from measured sound speed, temperature, and pressure.plotOS500&plotSOLNβ Specialized plotters for Ocean Seven OS500 CTD/SVP probes and ray-tracing solution curves.