wavelet_tools⚓︎
Sparse representation of seismic data using wavelet compression.
Copyright © 2019-2022 NORCE, All Rights Reserved. 4DSEIS
SparseRepresentation
⚓︎
Wavelet compression of one seismic vintage. Thresholding the observed vintage fixes the leading coefficients; later calls reduce any vintage to those.
compress(data, th_mult=None)
⚓︎
Compress data (the masked grid, flattened). With th_mult the coefficients are thresholded and the leading indices (re)defined; without it the stored indices select them. Returns (compressed, wdec_rec).
reconstruct(wdec_rec)
⚓︎
The masked, flattened vintage rebuilt from the retained wavelet coefficients.