Synthetic Sidescan & Backscatter Modeling Tools (sidescan/mock)
The mock directory (code/sidescan/mock/) contains C and Fortran 77 tools developed by John Hughes Clarke for forward-modeling synthetic sidescan sonar imagery over 3D gridded bathymetry (DTMs), simulating acoustic transducer beam patterns and Time-Varying Gain (TVG) curves, and extracting empirical angular backscatter response curves ($\text{dB}$ vs. true grazing angle) by co-registering sidescan passes with multibeam bathymetry.
Tool Categories
1. Synthetic Sidescan Forward Modeling
syntheticâ Generates synthetic GLORIA sidescan records over a bathymetric grid using 3D seafloor facet normals and ray-traced or flat-earth grazing angles.fullmock.fâ Fortran 77 forward model (mockss) that combines a ray-traced grazing-angle lookup table (grazearray(175,750)), a 512Ã512 bathymetric DTM, and actual GLORIA/SeaMARC I ship track geometry to compute true local grazing angles (vectangle) and synthetic sidescan imagery.ssmock.f&ssmock.forâ Unix and VAX/VMS Fortran 77 synthetic sidescan generators (mockss) using straight-line ray geometry over a 512Ã512 bathymetric grid for SeaMARC I (5/2/1 km) or GLORIA MkIII (30/20 s) tracks.rrmos.fâ Fortran 77 3D translocation mosaicker (mosaic) that projects GLORIA scanlines onto a 3D bathymetric surface using a ray-traced travel-time table (timearray(175,750)).to8bitâ C-shell helper script converting floating-point synthetic backscatter arrays into 8-bit XFB raster images.
2. Angular Backscatter Extraction & Characterization
build_back&build_back_mosâ Co-registers sidescan scanlines with a bathymetric DTM to calculate true 3D seafloor incidence/grazing angles and compile backscatter vs. grazing-angle tables and mosaics.back_char&back_stackâ Characterizes and stacks empirical backscatter intensity vs. grazing-angle curves across geological provinces.selective_backâ Extracts angular backscatter curves from user-selected geographic polygons or acoustic facies.view_sel&view_sel.c_10â Interactive X11 viewer for inspecting angular backscatter response curves selected viaselective_back.
3. Transducer Array, Beam Directivity & TVG Simulation
beams&oldbeamsâ Simulates GLORIA transducer array vertical directivity patterns and grazing-angle sensitivity.modarray&modbeamâ Models multi-row acoustic transducer phased-array beam patterns and steering angles.showgains&doshowâ Computes and plots Time-Varying Gain (TVG), spreading/attenuation loss, and beam directivity curves at a specified water depth.test_tvg_effect&test_tvg_dirindexâ Evaluates residual radiometric errors caused by TVG depth mismatches and transducer directivity index variations.testbell,offtrack&binplotâ Utilities for testing bell-shaped angular response curves, off-track beam geometry, and binned scatter plots.makefileâ Build configuration for all C and X11 targets incode/sidescan/mock/.