Skip to main content

Ultrasound toolbox for GPU

Project description

What is ultraspy?

Ultraspy is a package designed to efficiently manipulate ultrasound data using GPU. The most common beamforming or Doppler methods are implemented (such as DAS, RF to I/Qs, Color/Power Doppler, ...), along with some state-of-the-art methods (Capon beamforming, Vector Doppler, alias-free Doppler velocity, ...). A set of metrics (PSL, FWHM, SNR) is also provided so anyone can validate the quality of their ultrasound data and beamforming operations.

The package is designed to work with both RF and I/Q signals, in 2D or 3D, and with any type of probe (linear, convex, or matrix). The core code can run both on CPU and GPU, making it ideal for any real-time application. All beamforming parameters (f-number, compounding, apodization…) can be freely customized at any time for research purposes.

The package has been thought to be as flexible as possible, so that anyone could eventually clone it and add its own research methods and test it in real time. A set of tutorials is provided to facilitate user learning and adoption, along with some instruction on how to contribute to the lib if you feel like your research method should be added to help the community.

Features

  • General beamforming methods, flexible to Radio-Frequency or In-phase Quadrature data, working on CPU and GPU. Mainly DAS and FDMAS for the plane-wave imaging, but also TFM for Beam Focusing imaging

  • Advanced beamforming methods (p-DAS or Capon), with a dedicated tutorial to understand how these are implemented and how to implement your own methods

  • Basic Doppler methods (Color and Power maps), and their dedicated utilities functions (matched filtering, RF to I/Qs conversion)

  • Advanced Doppler methods, such as a proposition for alias-free alias-free Doppler velocities (using dual-wavelength method). This still lacks of methods, and should include Vector Doppler or so in future releases

  • Basic metrics for evaluation of the data quality (SNR), or of our beamforming algorithms (FWHM, PSL, CNR)

Documentation

Full documentation can be found in the 'docs' folder, and is also available at https://ultraspy.readthedocs.io/en/latest. You will find there all the detailed information about how to install ultraspy and how to use it.

Installation

Installation can be easily done using pypi:

.. code-block:: console

$ pip install ultraspy

Also, if you want to run it on GPU, you need to install the proper version of cupy based on your CUDA version:

.. code-block:: console

$ pip install cupy-cudaXXx

Contribute

License

The project is under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ultraspy-1.2.4-py3-none-any.whl (166.3 kB view details)

Uploaded Python 3

File details

Details for the file ultraspy-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: ultraspy-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 166.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for ultraspy-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 70bd2109a9c8c69725c7c5487fd6c5c6ca1f2c6cd0bb8d4d6471956e7f8d0f72
MD5 2c7acea9aa5c8c45a0586b244e11ef2d
BLAKE2b-256 1b12a054b28a4342d39b682eaf725f10ae53c5888d3613dddb3ec70d172de4ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page