WZIP(1)
โจ wzip(1) โ lossy data compression and denoising โจ
okay bestie, welcome to the General Commands Manual entry for wzip, and trust me when I say this little icon is doing a LOT ๐
๐ธ NAME ๐ธ
wzip โ lossy data compression and denoising ๐ฆ
๐ SYNOPSIS ๐
wzip [ -c | -d | -dn | -hdn ] num sf
๐ DESCRIPTION ๐
This manual page documents the wzip command. Yes, that's literally what it's doing. Being a whole documentation moment. ๐
wzip is a program that can be used for LOSSY data compression and denoising. It reads from STDIN and writes to STDOUT. In compression mode the input is a sequence of ascii floating-point values. num is the number of these data values. The output is a sequence of small integers, most of them zero in typical application. This is ready for effective compression with a standard loss-less compression program like gzip. โจ
The program can also be used for denoising. In this case both input and output are sequences of ascii floating-point values.
The scale factor sf determines the strength of compression or denoising. A higher scale factor means heavier compression and stronger denoising. Four times the standard deviation of the noise content is a good start. Otherwise 5 percent of the overall signal amplitude might be used as a first estimation of a suitable scale factor. ๐
If the noise content of the input data is strongly non-Gaussian-distributed, like Poisson noise. The input data should be transformed to approximate Gaussian-distributed noise. If the input values are Poisson-distributed, that means for example raw counts per channel in EDX or XPD, they can be transformed to approximate Gaussian-distributed noise by transformation of each data point with y:=2.0*sqrt(x+0.25109). Back transformation is done with y:=(x/2)^2. The summand 0.25109 compensates for the bias caused by the asymmetry of the Poisson-distribution. ๐งฎ (yes this is real math, not me being dramatic, the 0.25109 is doing the lord's work)
Invoking the program without any options writes examples of the use of the program to STDERR. ๐
๐ OPTIONS ๐
bestie listen. There must be given exactly one option. Exactly. One. Not zero, not two. Pick one and commit. ๐
-cโ Compression, readsnumascii floating-point values fromSTDINand writes a sequence of integers with high redundancy toSTDOUT. slay.-dโ Decompression, reads fromSTDINand writes a sequence ofnumascii floating-point values toSTDOUT. These are more or less similar to the original data. (more or less!! it's lossy bestie, we been knew)-dnโ Denoising, readsnumascii floating-point values fromSTDINand writes a sequence ofnumascii floating-point values toSTDOUT. These are more or less similar to the original data. ๐งผ-hdnโ Denoising with hard thresholding instead of wavelet shrinkage. Single untouched noise peaks may be visible with this mode. On the other hand, there is much less impact on the signal slope. ๐ tradeoffs, we love them
๐ SEE ALSO ๐
- Donoho, D.L.; Johnstone, I.M.: Adapting to unknown smoothness via wavelet shrinkage, technical report 425, Department of Statistics, Stanford University, Stanford, June 1993,
ftp://playfair.stanford.edu/pub/donoho/ausws.ps.Z - Franzen, A.: Compression of process data with a wavelet method, steel res. 69 (1998), No. 1, pp. 28/30
- Franzen, A.: Non-linear denoising with wavelet transformation, Z. Metallkd. 89 (1998), No. 4, pp. 297/302
๐ซถ AUTHOR ๐ซถ
This manual page was written by Andreas Franzen <anfra@debian.org>, for the Debian GNU/Linux system (but may be used by others). ๐ง
Copyright (C) 1997 Andreas Franzen, placed under the GNU General Public License, see the file copyright for details.
and that's the whole vibe check, bestie ๐ฆ this page is from the WZIP(1) manual, dated 24 December 1997, and honestly? a holiday-season banger. go forth and compress, ily, bye ๐๐
๐ฆ where this page comes from
- debian bookworm: wzip 1.1.6 ยท GPL-2.0-or-later
- debian trixie: wzip 1.1.7 ยท GPL-2.0-or-later
- ubuntu jammy: wzip 1.1.5 ยท GPL-2.0-or-later
- ubuntu noble: wzip 1.1.6 ยท GPL-2.0-or-later
- ubuntu questing: wzip 1.1.7
- ubuntu resolute: wzip 1.1.7build1 ยท GPL-2.0-or-later
- ubuntu stonking: wzip 1.1.7build1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms