Skip to content
Back to skills

Wavelet Packets

ASecurity

"Routes PyWavelets users through 1D, 2D, and ND wavelet packet tree

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolsgonodeapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill wavelet-packets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wavelet Packets?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wavelet Packets
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-wavelet-packets/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-wavelet-packets)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wavelet-packets
description: "Routes PyWavelets users through 1D, 2D, and ND wavelet packet tree
  construction, traversal, and reconstruction."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Wavelet Packets

Use this sub-skill when the task is about packet trees rather than ordinary DWT/SWT coefficient lists.

## Route here when the task asks for

- `WaveletPacket`, `WaveletPacket2D`, or `WaveletPacketND`
- `BaseNode`, `Node`, `Node2D`, `NodeND`
- path-based lookup, tuple path access, or `path_tuple`
- `get_level`, `get_leaf_nodes`, `walk`, `walk_depth`, `decompose`, `reconstruct`, `__getitem__`, `__setitem__`, or `__delitem__`
- node naming conventions such as `a/d`, `a/h/v/d`, or ND packet path tuples

## Route elsewhere when the task is about

- ordinary decimated transforms, SWT, MRA, or coefficient packing: go to `../discrete-transforms/SKILL.md`
- wavelet catalogs, custom wavelets, or CWT: go to `../wavelets-and-cwt/SKILL.md`

## Start here

- Read `references/api-reference.md` for the verified constructor signatures and packet-tree methods.
- Read `references/workflows.md` for tree traversal, reconstruction, and path-selection examples.
- Read `references/troubleshooting.md` when a path, axis, or reconstruction step fails.
- Run `../../scripts/check_pywavelets_install.py` when you want a quick no-network smoke check that includes packet reconstruction.

## Common workflow anchors

- `WaveletPacket` defaults to `mode='symmetric'` and one transformed axis.
- `WaveletPacket2D` and `WaveletPacketND` default to `mode='smooth'`.
- `WaveletPacket2D` uses `a/h/v/d` naming for the four children of each node.
- `WaveletPacketND` uses path tuples or repeated child tokens for deeper trees.
- `get_level(..., order='freq')` is available on the 1D and 2D packet classes for frequency-style ordering.
- `get_leaf_nodes(decompose=False)` returns the currently existing leaves without forcing deeper decomposition.

## Useful bundled data

- `pywt.data.aero()` and `pywt.data.camera()` are good for 2D packet smoke checks.
- `pywt.data.ecg()` is useful for 1D packet smoke checks.

## What to expect from the references

- `references/api-reference.md` lists the verified packet constructors and node methods.
- `references/workflows.md` shows how to navigate, replace, delete, and reconstruct packet nodes.
- `references/troubleshooting.md` covers invalid paths, axes, and shape-trimming surprises.

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md2 KB
  • references/troubleshooting.md1.9 KB
  • references/workflows.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.