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, reads num ascii floating-point values from STDIN and writes a sequence of integers with high redundancy to STDOUT. slay.
  • -d โ€” Decompression, reads from STDIN and writes a sequence of num ascii floating-point values to STDOUT. These are more or less similar to the original data. (more or less!! it's lossy bestie, we been knew)
  • -dn โ€” Denoising, reads num ascii floating-point values from STDIN and writes a sequence of num ascii floating-point values to STDOUT. 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