Legacy GLORIA Beam Pattern Tools (sidescan/beam/oldstuff)
The sidescan/beam/oldstuff directory (code/sidescan/beam/oldstuff/) preserves the 1989â1990 generation of empirical beam pattern estimation and correction programs written by John Hughes Clarke for GLORIA MkII/MkIII long-range sidescan sonar data.
Overview of the Workflow
Because theoretical transducer directivity and Time-Varying Gain (TVG) functions rarely eliminate all across-track shading artifacts, these utilities derive empirical corrections directly from slant-range corrected (.slr) sidescan passes:
- Accumulation:
glbeam_bypass(glbeam2) orglbeambinscans a pass (.slr), calculates the flat-bottom grazing angle $\theta = \arccos(z / R)$ for every across-track sample, and accumulates mean Digital Numbers (DNs) into 1° grazing-angle bins (0°â90°), optionally stratified into twenty 500 m depth intervals (0â10,000 m). - Multi-Pass Summation:
sumbeam.forsumbeambin.fcombines.beam_patternor.beam_binfiles across multiple passes to suppress local geologic backscatter variations and isolate the repeatable transducer beam pattern. - Visualization:
viewbeam.fplots the port and starboard empirical intensity curves or normalized correction factors against grazing angle (-90°to+90°). - Application:
glbeam_bydepth,glbeam_spline,hack_glbeam, orspecial_hack_glbeamnormalizes the.slrscanlines using the derived lookup tables.
Tools & Files in This Directory
glbeam_bydepthâ Depth-dependent empirical beam pattern correction.glbeam_bypassâ Single-pass empirical beam pattern extraction and removal (glbeam2).glbeam_splineâ Spline-smoothed grazing-angle beam pattern correction.glbeambinâ 2D grazing-angle (91bins) by water-depth (20bins) histogram accumulator.hack_glbeamâ Customized empirical beam pattern remover for non-standard passes.special_hack_glbeamâ Specialized beam pattern correction for passes with asymmetric port/starboard gain jumps.sumbeam.fâ Fortran 77 multi-pass.beam_patternaverager.sumbeambin.fâ Fortran 77 multi-pass.beam_bindepth-binned summer and normalizer.viewbeam.fâ Fortran 77 GPR/metafile plotter for.beam_patternfiles.testbeam&testbeam2â Example invocation scripts on SOPAC 1989 passes (ps89_353.slr,ps89_365.slr).makefileâ Makefile building both C and Fortran 77 targets.