ffdas
This package contains the Python bindings for ffdas, a CUDA-accelerated delay-and-sum and related primitives for image reconstruction in high frame rate ultrasound, photoacoustics, and similar domains. The bindings integrate directly with GPU array libraries (CuPy, PyTorch) via zero-copy interop.
Installation
pip install ffdas[cuda12] # or ffdas[cuda13]
Requires Python 3.12+ and a CUDA-capable GPU (compute capability 5.3+). CuPy or another DLPack-compatible GPU array library is needed to create input arrays.
Example
import cupy as cp
import ffdas
# reconstruct a volume from acquired channel data
output = ffdas.das(
channel_data, # (batch, channels, sequence, samples)
channel_pos, # (channels, 3)
voxel_pos, # (..., 3), e.g., (nz, ny, nx, 3)
delays, # (sequence, ...)
weights, # (sequence, ...)
)
# remove tissue clutter for flow imaging
filtered = ffdas.truncate_rank(output, start=64)
# interpolate to arbitrary positions
interpolated = ffdas.interpolate(
voxel_pos, # (nz, ny, nx, 3)
filtered, # (batch, nz, ny, nx)
interp_pos, # (..., 3)
)
Operations
The library provides GPU-accelerated implementations of delay-and-sum
beamforming (das, das_sparse), Green's function summation (greens),
rank truncation (truncate_rank), tensor contraction (einsum), structured
grid interpolation (interpolate), and gather/scatter primitives.
Links
Metadata
Release files for ffdas 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ffdas-0.1.1-cp312-abi3-win_amd64.whl | CPython 3.12 | abi3 | Windows x86-64 | Details for ffdas-0.1.1-cp312-abi3-win_amd64.whl |
| ffdas-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.12 | abi3 | Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 | Details for ffdas-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
Total release size: 442.7 kB
Release files / ffdas-0.1.1-cp312-abi3-win_amd64.whl
| Download URL | ffdas-0.1.1-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 320.9 kB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7674f9067f150a08dbc11fa255741fb927af205e957d52ae23f4a39bf515c84d
|
|
BLAKE2b-256 checksum How to use checksums |
753002298bebe7ac48e7b6ce4313cfc172eeba35e1c55107348c628621dc8b93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / ffdas-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | ffdas-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 121.8 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6b58d19ca510d249ceaed2d2755bcb082d8d7c53364e2b5c3e1f071025fec466
|
|
BLAKE2b-256 checksum How to use checksums |
10b79964bcb7a75a3f70c36f7cdf14ef551e8c16bb31c74ad38bd8a4da5a106d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for ffdas 0.1.1
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.