Calculates the acoustic target strength of an elastic sphere immersed in a fluid
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spherets-1.0.8.tar.gz.
File metadata
- Download URL: spherets-1.0.8.tar.gz
- Upload date:
- Size: 132.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fb9959e0ce54580eef5faa89c44ec88de82bc9b1dafc24df67d66076aaa3284
|
|
| MD5 |
2524371d1d8fb3ee11c2d14dd65d1e5b
|
|
| BLAKE2b-256 |
6ed602c51fb8f3d11e6117f2adde881db3ee11374ed6433c4874ea0b74f7b9d0
|
Provenance
The following attestation bundles were made for spherets-1.0.8.tar.gz:
Publisher:
publish-to-pypi.yml on gavinmacaulay/SphereTS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spherets-1.0.8.tar.gz -
Subject digest:
1fb9959e0ce54580eef5faa89c44ec88de82bc9b1dafc24df67d66076aaa3284 - Sigstore transparency entry: 737335697
- Sigstore integration time:
-
Permalink:
gavinmacaulay/SphereTS@372a3e40f2af953ead35a35e902949c7c689d9ee -
Branch / Tag:
refs/tags/v1.0.8 - Owner: https://github.com/gavinmacaulay
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@372a3e40f2af953ead35a35e902949c7c689d9ee -
Trigger Event:
push
-
Statement type:
File details
Details for the file spherets-1.0.8-py3-none-any.whl.
File metadata
- Download URL: spherets-1.0.8-py3-none-any.whl
- Upload date:
- Size: 130.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54e944d5feec1296694b1ce6c2244e39cf2dc0daad7444119f110a412bbea1ea
|
|
| MD5 |
3ed795b493571f08ad10f016b35c5558
|
|
| BLAKE2b-256 |
3091a76caee0aced48dee91c346807b2c518dc74555cdc314d6378d5ea5ecaa2
|
Provenance
The following attestation bundles were made for spherets-1.0.8-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on gavinmacaulay/SphereTS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spherets-1.0.8-py3-none-any.whl -
Subject digest:
54e944d5feec1296694b1ce6c2244e39cf2dc0daad7444119f110a412bbea1ea - Sigstore transparency entry: 737335713
- Sigstore integration time:
-
Permalink:
gavinmacaulay/SphereTS@372a3e40f2af953ead35a35e902949c7c689d9ee -
Branch / Tag:
refs/tags/v1.0.8 - Owner: https://github.com/gavinmacaulay
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@372a3e40f2af953ead35a35e902949c7c689d9ee -
Trigger Event:
push
-
Statement type: