# fbcotter/pytorch_wavelets

Pytorch implementation of 2D Discrete Wavelet (DWT) and Dual Tree Complex Wavelet Transforms (DTCWT) and a DTCWT based ScatterNet

Repository: https://github.com/fbcotter/pytorch_wavelets
Canonical: https://ross.abutalabs.com/products/pytorch_wavelets
Language: Python
License: NOASSERTION
License Family: other
Topics: pytorch, wavelet, wavelet-transform, filterbank, dtcwt
Last push: 2023-08-02T14:45:18+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2925, "days_push": 1127, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1175, forks 160 (observed 2026-08-28T04:03:52.534946+00:00)

## What it is
A PyTorch library implementing 2D discrete wavelet transforms (DWT), dual-tree complex wavelet transforms (DTCWT), their inverses, and a DTCWT-based ScatterNet, all with gradient support. It is designed for batches of multichannel images in NCHW format and also supports 1D DWT.

## Use cases
- compute differentiable 2D wavelet transforms in pytorch
- run dual-tree complex wavelet transform on image batches on GPU
- build a fast DTCWT scatternet feature extractor for deep learning
- do 1D discrete wavelet decomposition of signals in pytorch
- invert wavelet transforms with gradient flow for training

## When to choose
- you need wavelet transforms as differentiable layers inside a PyTorch model
- you want a faster alternative to KymatIO's Morlet scatternet
- you work with batches of multichannel images in NCHW format

## When to avoid
- you need wavelets outside PyTorch (e.g. NumPy-only workflows)
- you need 3D or higher-dimensional wavelet transforms
- you need actively developed features beyond the 2023 release

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, machine-learning, deep-learning
- domain: deep-learning, computer-vision, image-processing, machine-learning
- platform: python, cross-platform
- tags: pytorch, wavelet-transform, dwt, dtcwt, scatternet, filterbank, differentiable, gpu

## Member repositories
- fbcotter/pytorch_wavelets (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:52.534946+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:27:05.261555+00:00, confidence not recorded.
  - readme: https://github.com/fbcotter/pytorch_wavelets (fetched 2026-08-28T04:03:52.534946+00:00, sha 8edb67238a5e)
  - registry_pypi: https://pypi.org/pypi/pytorch_wavelets/json (fetched 2026-08-29T12:33:25.468461+00:00, sha cfddbd60c081)
- Data as of 2026-08-30T08:39:29.467469+00:00.
