ENTCHECK(1)

๐Ÿ’– ENTCHECK(1) โ€” the group chat guide to entcheck ๐Ÿ’–

okay so bestie, welcome to entcheck, section 1 of the General Commands Manual ๐ŸŽ€ she's a little command-line cutie and she does exactly one thing but she does it so well: she estimates the entropy of a stream. that's it. that's the whole vibe. โœจ


๐ŸŒธ NAME ๐ŸŒธ

entcheck โ€” estimates the entropy of a stream ๐Ÿ’ซ


โœจ SYNOPSIS โœจ

entcheck [-N <bits>] [-s <streams>]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so here's the tea, bestie ๐Ÿ“ โ€” entcheck estimates the entropy of its standard input. like, you pipe stuff into her and she's like "hmm, how surprised am i by this?" ๐Ÿ‘‘

the way she does it is so smart actually: she uses the previous bits bits (16 by default) to predict the next bit. then she estimates the entropy based on the level of surprise โ€” which is to say, the base-2 logarithm of the probability of seeing the given string of bits. math girlies stay winning fr fr ๐Ÿงฎ๐Ÿ’…

and now the plot twist ๐Ÿ™ˆ โ€” in some scenarios, like the output of an 8-bit DAC, some bits are special. in that case, entropy needs to be predicted per bit over the width of the input data. that's where the -s option comes in: she sets the width of the input data for exactly this situation. she's got range, no cap ๐Ÿซถ


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -N <bits> โ€” specifies the number of bits to use to predict the next bit. lowkey the whole personality of the tool lives here ๐Ÿ’œ
  • -s <streams> โ€” specifies the number of streams to use. (this is the one that sets the width of the input data in that per-bit, 8-bit-DAC situation we just talked about ๐Ÿ‘†) ๐ŸŒˆ

๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

infnoise(8) โ€” go read her too, she's iconic โญ


ok that's the whole page bestie, she's short and she's sweet and she ATE ๐Ÿ’…โœจ

signing off from the General Commands Manual โ€” this one's dated June 22 2018, mwah ๐Ÿ’–๐Ÿฆ‹๐ŸŒธ