makefile (sidescan/beammap)

Overview

The makefile in code/sidescan/beammap/ builds the 2D depth-vs-grazing-angle empirical beam pattern mapping and removal suite developed by Guy Carpenter (April 1990) for JCU GLORIA sidescan sonar processing.

Build Targets & Dependencies

All targets depend on gl_beam.h and link against -llocal -ljhc -lm (with executables installed to $(HOME)/bin/):

  • mapbeam (from mapbeam.c): Scans slant-range corrected GLORIA (.slr) files and accumulates a 512×992 2D depth-by-across-track intensity map.
  • debeam (from debeam.c): Removes across-track empirical beam shading from .slr files using the 2D beam map produced by mapbeam or joinbeam.
  • joinbeam (from joinbeam.c): Combines and smooths multiple pass beam maps into a master regional beam pattern lookup table.
  • jdebeam / debeam_cosmetic: Variant targets built from jdebeam.c and debeam_cosmetic.c for specialized cosmetic beam balancing.

Usage

cd code/sidescan/beammap
make all