Sphere target strength calculator
The sphereTS package calculates the acoustic target strength (TS) of elastic spheres immersed in a fluid. It is intended for calculating the TS of the spheres used for calibrating echosounders used for quantitative estimates of marine organism backscatter.
Install from pypi:
pip install spherets
and run the GUI from a terminal (type spherets) to get the main window:
TS values are shown in a separate window:
The underlying target strength functions are also available, for example:
import matplotlib.pyplot as plt
from sphereTS import sphere_ts as sts
wc = sts.material_properties()['Tungsten carbide']
c = 1470 # [m/s] sound speed in water
rho = 1027 # [kg/m^3] density of water
a = 0.0381/2 # [m] radius of sphere
ts = sts.sphere_ts(38e3, a, c, wc['c1'], wc['c2'], rho, wc['rho1'])
print(ts)
f, tsf = sts.freq_response(12e3, 200e3, a, c,
wc['c1'], wc['c2'], rho, wc['rho1'])
plt.plot(f/1e3, tsf)
Metadata
Release files for sphereTS 1.0.8
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 |
|---|---|---|---|---|
| spherets-1.0.8.tar.gz | 132.1 kB | With provenance | Details for spherets-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spherets-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for spherets-1.0.8-py3-none-any.whl |
Total release size: 262.8 kB
Release files / spherets-1.0.8.tar.gz
| Download URL | spherets-1.0.8.tar.gz |
|---|---|
| Size | 132.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fb9959e0ce54580eef5faa89c44ec88de82bc9b1dafc24df67d66076aaa3284
|
|
BLAKE2b-256 checksum How to use checksums |
6ed602c51fb8f3d11e6117f2adde881db3ee11374ed6433c4874ea0b74f7b9d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 2, 2025.
Transparency logRelease files / spherets-1.0.8-py3-none-any.whl
| Download URL | spherets-1.0.8-py3-none-any.whl |
|---|---|
| Size | 130.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54e944d5feec1296694b1ce6c2244e39cf2dc0daad7444119f110a412bbea1ea
|
|
BLAKE2b-256 checksum How to use checksums |
3091a76caee0aced48dee91c346807b2c518dc74555cdc314d6378d5ea5ecaa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 2, 2025.
Transparency logSecurity for sphereTS 1.0.8
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for spherets-1.0.8.tar.gz
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 Dec 2, 2025.
Transparency logA 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.