Package: rLifting 1.0.0

rLifting: High-Performance Wavelet Lifting Transforms

Performs Wavelet Lifting Transforms focusing on signal denoising and functional data analysis (FDA). Implements a hybrid architecture with a zero-allocation 'C++' core for high-performance processing. Features include unified offline (batch) denoising, causal (real-time) filtering using a ring buffer engine, and adaptive recursive thresholding.

Authors:Moises da Silva [aut, cre]

rLifting_1.0.0.tar.gz
rLifting_1.0.0.zip(r-4.7)rLifting_1.0.0.zip(r-4.6)rLifting_1.0.0.zip(r-4.5)
rLifting_1.0.0.tgz(r-4.6-x86_64)rLifting_1.0.0.tgz(r-4.6-arm64)rLifting_1.0.0.tgz(r-4.5-x86_64)rLifting_1.0.0.tgz(r-4.5-arm64)
rLifting_1.0.0.tar.gz(r-4.7-arm64)rLifting_1.0.0.tar.gz(r-4.7-x86_64)rLifting_1.0.0.tar.gz(r-4.6-arm64)rLifting_1.0.0.tar.gz(r-4.6-x86_64)
rLifting_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rLifting/json (API)

# Install 'rLifting' in R:
install.packages('rLifting', repos = c('https://mkyou.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mkyou/rlifting/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

5.81 score 2 stars 110 downloads 22 exports 1 dependencies

Last updated from:97c389d70f. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK163
linux-devel-x86_64OK166
source / vignettesOK238
linux-release-arm64OK153
linux-release-x86_64OK161
macos-release-arm64OK145
macos-release-x86_64OK266
macos-oldrel-arm64OK110
macos-oldrel-x86_64OK457
windows-develOK151
windows-releaseOK190
windows-oldrelOK773
wasm-releaseOK128

Exports:compute_adaptive_thresholdcustom_waveletdenoise_signal_causaldenoise_signal_offlinediagnose_waveletilwtlift_steplifting_schemelwtnew_wavelet_streamthresholdthreshold_hardthreshold_scadthreshold_semisoftthreshold_softtune_alpha_betavalidate_compact_supportvalidate_orthogonalityvalidate_perfect_reconstructionvalidate_shift_sensitivityvalidate_vanishing_momentsvisualize_wavelet_basis

Dependencies:Rcpp

Real-world signal denoising: infant cardiac monitoring
1. The signal | 2. Offline denoising — regular grid | Residual diagnostics | 3. Irregular grid — handling sensor dropouts | rLifting irregular-grid denoising | Baseline: interpolate then denoise | Comparison | 4. Streaming mode — sample-by-sample monitoring | 5. Summary | Further reading

Last update: 2026-06-11
Started: 2026-06-11

Introduction to rLifting
1. The three modes at a glance | 2. Setup | 3. Choosing a wavelet | 4. Offline denoising | 5. Causal denoising | 6. Stream processing | 7. Irregular grids | 8. Comparing the three modes | Where to go next | References

Last update: 2026-06-11
Started: 2026-06-11

Adaptive Thresholding & Parameter Tuning
1. Why parameter choice matters | 2. The MAD noise estimate | 3. Universal vs SURE | 4. The α/β recursion | 5. tune_alpha_beta() walkthrough | 6. Shrinkage choice (hard, soft, semisoft, SCAD) | 7. Decision guide | 7.1 Recommendations grounded in the regular-grid benchmark | 7.2 Recommendations from the wavelet-denoising literature | 7.3 Scope: irregular-grid companion | References

Last update: 2026-06-11
Started: 2026-06-11

Causal and Stream Processing
1. Why causal mode exists | 2. The cost of causality | 3. Choosing window_size | 4. Choosing update_freq | 5. Per-sample latency | 6. Causal-specific wavelet recommendations | 7. Leakage check by construction | 8. Decision guide | 8.1 When the benchmark gives a direct answer | 8.2 Recommendations from the wavelet-denoising literature | References

Last update: 2026-06-11
Started: 2026-06-11

Boundary Modes
1. Why boundary handling matters | 2. The five modes — semantics | 3. The ll_k parameter for local_linear | 4. Empirical impact in offline mode | 5. Empirical impact in causal and stream mode | 5.1 With haar (the causal-mode default) | 5.2 With longer filters (CDF 5/3 and beyond) | 6. one_sided constraints | 7. Decision guide | 7.1 Bench-grounded recommendations | 7.2 Heuristics from the literature | References

Last update: 2026-06-11
Started: 2026-06-11

Irregular Grids
1. What makes a grid irregular | 2. Mechanism — Lagrange in the predict step | 3. Wavelet eligibility | 4. The API in each mode | 5. Two robust defaults | 6. Why these choices | Offline: cdf53 + local_linear + SURE + SCAD | Causal / stream: haar + zero + tuned universal + SCAD | 7. How close to optimal these defaults are | 8. Does position-aware processing actually help? | 9. When to deviate from the robust default | 9.1 Pitfalls | 10. Worked example — Doppler on a log-normal grid | 11. Where to look next | References

Last update: 2026-06-11
Started: 2026-06-11

Extensions and advanced usage
1. Built-in wavelet families | 2. Defining custom wavelets | Example: recreating CDF 5/3 manually | Using the custom wavelet | 3. Diagnosing a wavelet | 4. Low-level transform pipeline | 5. Boundary extension modes | local_linear: k-point extrapolation | one_sided: filter renormalisation | Causal stream: symmetric vs one_sided | 6. Irregular grids and custom wavelets | Irregular grid: cumulative spacing with high variance | Smooth underlying signal | Denoise using the custom wavelet on the irregular grid | Summary | References

Last update: 2026-06-11
Started: 2026-06-11

Benchmarks
1. Methodology and scope | 1.1 Which package appears where, and why | 1.2 What is not measured | 2. Regular grid — MSE | Best achievable configuration | Out-of-the-box configuration | Tuning cost | 3. Regular grid — speed | 4. rLifting modes — regular grid | rLifting ranking per mode | 5. Irregular grid — MSE | Tuning cost on irregular grids | 6. Irregular grid — speed | 7. rLifting modes — irregular grid | 8. The speed–quality picture | 9. Honest limitations | 10. Decision guide | 11. Where to look next | References

Last update: 2026-06-11
Started: 2026-06-11

Readme and manuals

Help Manual

Help pageTopics
adlift Benchmark Resultsbenchmark_adlift
adlift Irregular-Grid Benchmark Resultsbenchmark_adlift_irregular
nlt Benchmark Resultsbenchmark_nlt
nlt Irregular-Grid Benchmark Resultsbenchmark_nlt_irregular
rLifting Offline/Causal Benchmark Resultsbenchmark_rlifting
rLifting Irregular-Grid Benchmark Resultsbenchmark_rlifting_irregular
wavethresh Benchmark Resultsbenchmark_wavethresh
Calculate Adaptive Threshold (Universal / Recursive)compute_adaptive_threshold
Create a custom waveletcustom_wavelet
Causal Batch Denoising (Turbo Simulation)denoise_signal_causal
Offline Denoising (Global Batch)denoise_signal_offline
Complete Wavelet Diagnosisdiagnose_wavelet
Noisy Doppler Signal Exampledoppler_example
Inverse Lifting Wavelet Transform ('C++' Accelerated)ilwt
Create an individual Lifting Steplift_step
Lifting Scheme Constructorlifting_scheme
Lifting Wavelet Transform (Forward)lwt
Create an Adaptive Wavelet Stream Processor ('C++' Core)new_wavelet_stream
Plot method for Adaptive Thresholdsplot.adaptive_thresholds
Plot method for Lifting Schemeplot.lifting_scheme
Plot method for LWT Decompositionplot.lwt
Print method for Adaptive Thresholdsprint.adaptive_thresholds
Print methodprint.lifting_scheme
Print method for LWTprint.lwt
Print method for Wavelet Diagnosisprint.wavelet_diagnosis
Print method for Wavelet Stream Processorprint.wavelet_stream
rLifting: High-Performance Wavelet Lifting TransformsrLifting-package rLifting
General Thresholding Wrapperthreshold
Hard Thresholdingthreshold_hard
SCAD Shrinkage (Antoniadis & Fan, 2001)threshold_scad
Semisoft Shrinkage (Hyperbolic)threshold_semisoft
Soft Thresholdingthreshold_soft
Tune Adaptive Threshold Parameters via SUREtune_alpha_beta
Validate Compact Support (FIR Compliance)validate_compact_support
Validate Orthogonality (Energy Conservation)validate_orthogonality
Validate Perfect Reconstruction (Stress Test)validate_perfect_reconstruction
Validate Shift Sensitivity (Shift Variance)validate_shift_sensitivity
Validate Vanishing Momentsvalidate_vanishing_moments
Visualize Basis Functions (Scaling and Wavelet)visualize_wavelet_basis