Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dfki-ric/uxo-dataset2024/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Thearis_definitions module provides essential constants, enumerations, and helper functions for working with ARIS sonar data files. It defines the binary structure of ARIS file and frame headers, beam angle configurations, and utility functions for interpreting sonar parameters.
Module Path: scripts/common/aris_definitions.py
Header Format Definitions
File Header
The file header structure is defined using Python’sstruct format string:
<) packed binary structure containing version information, frame counts, sample rates, and recording parameters. The structure includes 568 bytes of padding at the end.
Frame Header
The frame header structure contains metadata for each individual sonar frame:Enumerations
FileHeaderFields
Enum defining all fields available in the ARIS file header.All FileHeaderFields Values
All FileHeaderFields Values
File format version number
Total number of frames in the file
Recording frame rate in frames per second
High resolution mode flag
Number of acoustic beams
Sample rate in Hz
Number of samples per channel
Receiver gain setting
Start of acquisition window
Length of acquisition window
Reverse orientation flag
Serial number
Recording date string
Header identifier string
Water temperature in Celsius
Water salinity
Acoustic pulse length
Total file size in bytes
FrameHeaderFields
Enum defining all fields available in each ARIS frame header.Key FrameHeaderFields Values
Key FrameHeaderFields Values
Sequential frame number
Frame timestamp in microseconds since epoch (PC time)
Frame timestamp in microseconds since epoch (sonar time)
Ping mode identifier (determines beam count)
Sample rate for this frame
Number of samples per acoustic beam
Speed of sound in water (m/s)
GPS latitude
GPS longitude
Water depth
Sonar altitude above bottom
Sonar pitch angle
Sonar roll angle
Sonar heading angle
Water temperature in Celsius
Water salinity
Battery voltage level
Functions
get_beamcount_from_pingmode
Determines the number of acoustic beams based on the ping mode setting.The ping mode identifier from the frame header
Number of beams for the given ping mode:
- Modes 1-2: 48 beams
- Modes 3-5: 96 beams
- Modes 6-8: 64 beams
- Modes 9-12: 128 beams
- Unknown modes: 0
Example
Beam Angle Definitions
BeamWidthsAris3000_64
Defines the angular coverage for 64-beam ARIS 3000 configuration. Each entry is a tuple of(center_angle, left_angle, right_angle) in degrees.
BeamWidthsAris3000_128
Defines the angular coverage for 128-beam ARIS 3000 configuration. Each entry is a tuple of(center_angle, left_angle, right_angle) in degrees.
Usage Example
Related Modules
- Matching Context - Uses ARIS metadata for synchronization
- Optical Flow - Processes ARIS frames for motion detection