ISTATS(1)
β¨ ISTATS(1) β¨
okay so real talk β this is istats, one of the BRL-CAD girlies, and she's here to do math on your little numbers. welcome bestie π
πΈ NAME πΈ
istats β compute basic statistics of a stream of short integers
like, it literally reads a whole stream of short ints and tells you the vibe. no cap.
π¦ SYNOPSIS π¦
istats [-h] [file]
π DESCRIPTION π
okay so picture this: istats reads a stream of 16-bit signed short integers and computes basic statistics over the data, then writes a human-readable summary to standard output. that's it, that's the whole gig. β¨
input comes from the named file if you give one β otherwise it just reads from standard input. easy.
here's what she reports, and yes she's thorough:
- the number of values (Num)
- the minimum value (Min)
- the maximum value (Max)
- the sum (Sum)
- the arithmetic mean (Mean)
- and the sample standard deviation (SStdev)
she's the short-integer analogue of dstats(1) and ustats(1), which do the same thing for streams of doubles and unsigned chars respectively. so basically the whole friend group is out here computing stats, just for different types. iconic honestly π
π OPTIONS π
-hβ print a usage message and exit. the-?form is also accepted, so if you're a-?kind of person, she's got you π«Ά
β EXAMPLES β
Example 1. Summarize a file of signed-short sample data
istats samples.shorts
this reports the count, range, sum, mean, and sample standard deviation of the 16-bit signed integers stored in samples.shorts. ngl this is a super quick way to sanity check the dynamic range of intermediate signal-processing data β like a little vibe check for your numbers π§
the same data may instead be supplied on standard input, for example as the output of another short-integer filter:
imod -s 2 < samples.shorts | istats
piping it straight through, main character energy fr fr π₯
π SEE ALSO π
brlcad(1), dstats(1), ustats(1), ihist(1), imod(1)
go say hi to the rest of the squad π
π AUTHOR π
BRL-CAD Team
π COPYRIGHT π
This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
bestie if something's acting up, don't just suffer in silence β email the devs, they genuinely want to know π
okay that's the whole page, mwah π β this one's from the BRL-CAD manual set, dated all the way from 1989 to 2026, so she's got history and she's still thriving πΈπ¦β¨
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms