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 Distribution

ultraspy-1.2.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

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

ultraspy-1.2-py3-none-any.whl (167.7 kB view details)

Uploaded Python 3

File details

Details for the file ultraspy-1.2.tar.gz.

File metadata

  • Download URL: ultraspy-1.2.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for ultraspy-1.2.tar.gz
Algorithm Hash digest
SHA256 d5da677543e331251beb055fdc998db85b5c9ed461a081c941b55447a71412b4
MD5 837d53d5db7b007ab40b1e519bfc3a90
BLAKE2b-256 9d9b9f7765256697dcd6267713afc94ed72b2b875ccfe93b40f23ae78779da35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ultraspy-1.2-py3-none-any.whl
  • Upload date:
  • Size: 167.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for ultraspy-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 68e97617efee33342fb26ee6b4e115f7166937720fd3d281c0b01b030050220d
MD5 7a30614a74e8101f9fa2a67d77837327
BLAKE2b-256 633d8de3efb124d0ceee31f0bcb7c5296636b2584cb8ab24215339eeb0c0a16e

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