Blue Pebble
Blue Pebble is a research-oriented simulation framework for underwater acoustic sensing, currently focused on passive sonar signal processing, acoustic propagation modelling, beamforming, detection, and multi-target tracking.
Designed as a plugin for Stone Soup, Blue Pebble supports research in:
- Underwater acoustics
- Passive sonar signal processing
- Towed array modelling
- Acoustic propagation modelling
- Beamforming and detection theory
- Target tracking and data association
Blue Pebble provides modular acoustic propagation backends, ranging from analytical spreading laws to external ray-tracing solvers (e.g., rtrs), enabling trade-offs between physical fidelity and computational efficiency.
Naming conventions: The project is referred to as Blue Pebble throughout documentation. The repository and PyPI package use the hyphenated form blue-pebble (e.g.,
pip install blue-pebble). Within Python code, the package is imported as bluepebble (e.g.,import bluepebble).
Research Applications
Blue Pebble is intended for controlled, simulation-based studies, including:
- Evaluation of tracking and data association algorithms
- End-to-end sonar performance analysis
- Synthetic dataset generation for validation
- Sensitivity analysis of propagation effects on detection and estimation
Although current functionality centres on passive sonar, the architecture supports extension to additional modalities (e.g., active or multistatic configurations).
Architecture
Blue Pebble follows a modular design that separates physical modelling from signal processing and tracking logic. Core components include:
- Platform dynamics - Kinematic modelling of ownship, targets, and arrays
- Acoustic propagation - Pluggable propagation backends (analytical or external solvers)
- Signal generation - Source modelling and noise synthesis
- Beamforming - Array processing algorithms
- Detection - Measurement formation and statistical thresholding
- Tracking - Integration with Stone Soup estimators and data association
This separation enables systematic experimentation across modelling assumptions and algorithmic choices without tightly coupling components.
Features
Implemented capabilities include:
- Multi-body kinematic modelling for flexible towed arrays
- Analytical spreading models and external ray-tracing integration (e.g., rtrs)
- Configurable source signature synthesis
- Ambient, biological, and ownship noise modelling
- Multiple beamforming algorithms
- Detection algorithms with performance metrics
- Passive sonar simulation pipelines
- Integration of real environmental datasets (bathymetry, range-dependent sound speed profiles)
- Incorporation of measured source signatures
- Native integration with Stone Soup tracking workflows
- Plotting utilities for bearings and Cartesian tracks
- Notebook-based tutorials and worked examples
Installation
pip install blue-pebble
Development
Recommended: Dev Container (Easiest Setup)
For a fully configured development environment, use the included Dev Container.
Requirements
- Docker Engine (Docker Desktop on Windows/macOS, or Docker on Linux)
Optional:
- Visual Studio Code
- VS Code Dev Containers extension
Clone the repository:
git clone https://github.com/UoL-SignalProcessingGroup/blue-pebble.git
Using the Dev Container (VS Code Workflow)
If using Visual Studio Code with the Dev Containers extension:
cd blue-pebble
code .
When prompted, select "Reopen in Container."
VS Code will:
- Build the Docker image
- Start the container
- Mount the repository
- Configure the Python interpreter automatically
This provides a fully configured development environment including:
- Python
- All required build dependencies including rtrs
Using the Container Without VS Code (CLI Workflow)
You can build and run the container manually:
docker build -t blue-pebble-dev .
docker run -it --rm -v $(pwd):/workspace blue-pebble-dev
On Windows PowerShell:
docker run -it --rm -v ${PWD}:/workspace blue-pebble-dev
This starts an interactive shell inside the container.
Citation
If you use Blue Pebble in academic work, please cite the associated conference paper and the software release (via DOI when available).
@inproceedings{wakefield2026sonar,
title={A Sonar Signal Processing Plugin for Stone Soup},
author={Wakefield, Joshua J and Boulton, Finley and Colquitt, Daniel J. and Ralph, Jason F. and Williams, Duncan P.},
booktitle={2026 29th International Conference on Information Fusion (FUSION)},
pages={1--8},
year={2026},
organization={IEEE}
}
License
Blue Pebble is licensed under the MIT license.
See LICENSE and NOTICE.md for details.
Third-Party Components
Software: Blue Pebble depends on rtrs, which is licensed under the MIT licence and installed automatically as a dependency.
Data: Blue Pebble does not distribute external data in its PyPI package. Users are responsible for complying with the licences of any external data they utilise.
Future Enhancements
Planned and potential extensions include:
Environmental Modelling
- Coherent ambient noise modelling (wind, rain, wave-induced noise)
- Systematic environmental uncertainty modelling (sound speed and sensor position errors)
Signal and Source Modelling
- Expanded source directivity modelling
Detection and Performance Analysis
- Alternative SNR and beam power outputs (e.g., angle-dependent CFAR variants)
- Bearing × time × frequency output volume to support multi-band downstream processing
- Multi-band detector operating across frequency bands simultaneously
- 2D CFAR with training cells spanning both bearing and time, giving the detector access to a limited time history
Sensing Modalities
- Active sonar modelling
- Multistatic and bistatic configurations
- Additional sensing geometries (hull-mounted arrays, sonobuoys, distributed arrays)
- Explicit hydrophone modelling
Release files for blue-pebble 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blue_pebble-0.3.0.tar.gz | 5.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blue_pebble-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 MB
Release files / blue_pebble-0.3.0.tar.gz
| Download URL | blue_pebble-0.3.0.tar.gz |
|---|---|
| Size | 5.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3473a1522665e50aa85039873739763f71185e3613f17d8390d47999ee2e0ebb
|
|
BLAKE2b-256 checksum How to use checksums |
2baefa6dd131f5e6769deba3d17ca50c2a406a473f5792bf0e65e6a73c1df6a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency logRelease files / blue_pebble-0.3.0-py3-none-any.whl
| Download URL | blue_pebble-0.3.0-py3-none-any.whl |
|---|---|
| Size | 152.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f386f0bf52da4edde1bd6f6ce0ecf0eda9129cbe99ab08fb233d6abb13859f2b
|
|
BLAKE2b-256 checksum How to use checksums |
d3cb1d7c33c7b6b0dd917e38ccc105f5f87ae7218176dc92bb448999edbec819
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency log