Skip to main content

Souden MVDR beamformer on GPU with CuPy

Project description

Souden MVDR beamformer in CuPy

This package is modified from the core parts of pb_bss and modifies it to use CuPy for accelerated GPU-based inference.

At the moment, it is meant to be used with the GSS toolkit, but it can also be used as a general beamformer.

Installation

> pip install cupy-cuda102  # modify according to your CUDA version (https://docs.cupy.dev/en/stable/install.html#installing-cupy)
> pip install beamformer-gpu

Usage

from beamformer import beamform_mvdr

import cupy as cp

X = cp.random.rand(4, 1000, 513) # D, T, F
X_mask = cp.random.rand(1000, 513)  # T, F
N_mask = cp.random.rand(1000, 513)  # T, F

X_hat = beamform_mvdr(X, X_mask, N_mask, ban=True)

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

beamformer-gpu-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

beamformer_gpu-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file beamformer-gpu-0.1.0.tar.gz.

File metadata

  • Download URL: beamformer-gpu-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.11

File hashes

Hashes for beamformer-gpu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 60a676cfe6baecf4415f3baf96c0d34d22cc31780899b9727ee17898c2c44e2d
MD5 98582f5a02ccd45844c2e54f8232a1d0
BLAKE2b-256 b18e4e85db55604e3a0653a219cd116bf95073752935053f2dd908d4d2a8792b

See more details on using hashes here.

File details

Details for the file beamformer_gpu-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for beamformer_gpu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb1015306d8339d315b2379c086537a51e0118a1956622cbf88783170e8a4081
MD5 0f158154bf3c3088f8af7564e3f8486c
BLAKE2b-256 2e147a0751f9beb490016c2a0f8869bed4d8a0c4811129bf9c3c761e1a400bd5

See more details on using hashes here.

Supported by

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