Skip to content

DOC: show how to reconstruct stacked SWT coefficient pairs - #908

Open
yqia03 wants to merge 1 commit into
PyWavelets:mainfrom
yqia03:docs/iswt-stacked-coefficient-pairs
Open

yqia03 wants to merge 1 commit into
PyWavelets:mainfrom
yqia03:docs/iswt-stacked-coefficient-pairs

Conversation

@yqia03

@yqia03 yqia03 commented Nov 29, 2026

Copy link
Copy Markdown

Summary

Explain how to restore the default SWT coefficient pairs after stacking them into a NumPy array. This documents use of the existing API and does not change coefficient detection.

Refs #533.

Evidence

  • Passing the stacked array directly in the 1D example returns shape (2, 8).
  • Restoring the pairs returns shape (8,) and reconstructs all eight samples within floating-point precision.
  • The new example's six doctest statements and all 27 SWT unit tests passed locally.

OpenAI Codex prepared the documentation example and ran the local checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant