sidescanpy.analysis.geometry#

Ping geometry measurements for one section of a survey.

measure_ping_geometry() measures median along-track ping spacing, across-track swath width and range-axis sample interval — the native resolutions to choose an export pixel size from.

Contents

PingGeometry

Native sampling of a section, in metres; None where not measurable.

measure_ping_geometry

Median ping spacing, swath width and sample interval of ds.

class sidescanpy.analysis.geometry.PingGeometry(ping_spacing_m_median=None, swath_width_m=None, sample_interval_m=None)#

Bases:

Native sampling of a section, in metres; None where not measurable.

sidescanpy.analysis.geometry.measure_ping_geometry(ds, *, low_pct=1.0, high_pct=99.0)#

Median ping spacing, swath width and sample interval of ds.

  • ping_spacing_m_median: median nonzero along-track step between consecutive pings (needs at least 2 pings).

  • swath_width_m: high_pct minus low_pct percentile of across_track_m (robust to a few far-flung samples).

  • sample_interval_m: median per-ping step of slant_range_m on channel 0.