SonarVision Physics
Real-time underwater sonar physics engine. Deterministic FLUX 9-opcode model.
Install
pip install sonar-vision-physics
Usage
from sonar_vision_physics import compute_physics
# Physics at 15m depth
result = compute_physics(depth=15.0, chlorophyll=4.0)
print(f"Water: {result['water_type_name']}")
print(f"Temperature: {result['temperature']}C")
print(f"Visibility: {result['visibility']}m")
print(f"Sound speed: {result['sound_speed']} m/s")
CLI
sonar-ping --depth 30 --format json
sonar-ping --dive --start 0 --end 100 --step 5
sonar-ping --serve --port 8081
WebSocket Streaming
sonar-ping --serve --port 8081
# Connect: ws://localhost:8081
# Commands: reset, pause, resume, goto:50
Physics Model
| Op | Function | Model |
|---|---|---|
| B0 | Absorption | Francois-Garrison |
| B1 | Scattering | Rayleigh-like |
| B2 | Jerlov Type | Chlorophyll classification |
| B3 | Thermocline | Gaussian gradient |
| B4 | Seabed | Sediment reflectivity |
| B5 | Attenuation | Absorption + Scattering |
| B6 | Visibility | Secchi depth |
| B7 | Sound Speed | Mackenzie equation |
| B8 | Refraction | Snell's law |
Deterministic: same inputs → bit-identical outputs across all instances.
Metadata
Release files for sonar-vision-physics 1.2.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 | Provenance | Actions |
|---|---|---|---|---|
| sonar_vision_physics-1.2.0.tar.gz | 9.9 kB | Without provenance | Details for sonar_vision_physics-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonar_vision_physics-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for sonar_vision_physics-1.2.0-py3-none-any.whl |
Total release size: 21.2 kB
Release files / sonar_vision_physics-1.2.0.tar.gz
| Download URL | sonar_vision_physics-1.2.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6efdcc38e8ab1df401ad065caa78a75132814852c5704e3e3d5f6dcde87ec2ff
|
|
BLAKE2b-256 checksum How to use checksums |
e9c62877c94ca95389ebabdca89077d7440c6b0a921f38c0069084b978b71826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / sonar_vision_physics-1.2.0-py3-none-any.whl
| Download URL | sonar_vision_physics-1.2.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
425e83608ace755184ef776f6f7320f0b24cd273ae2c2f9396a14712575e16eb
|
|
BLAKE2b-256 checksum How to use checksums |
a977ffb7c2b16fa18754f052c21df4e1e768d09b8ff1c59c793b056008561bfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for sonar-vision-physics 1.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.