UNU-HISTO(1)

πŸ“¦ version 1.11.0, in fedora 43, fedora 44

πŸ’– unu-histo(1) β€” bestie edition πŸ’–

okay so you found the unu-histo page in section 1 of the manual, and honestly? it's giving histogram queen πŸ‘‘ this is a user command, and it's about to make your nrrd data make sense.


✨ NAME ✨

unu-histo β€” create a 1-D histogram of values in a nrrd. no cap, that's the whole job πŸŽ€


🌸 SYNOPSIS 🌸

unu histo -b,--bins <num> [-w,--weight <nweight>] [-min,--minimum
<value>] [-max,--maximum <value>] [-blind8 <bool>] [-t,--type <type>]
[-i,--input <nin>] [-o,--output <nout>]

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this makes a 1-D histogram of the values chillin' in a nrrd πŸ’… You can either spell out the bounds of the histogram domain yourself, or you can just let it learn them from the data like the independent little icon it is ✨

  • Uses nrrdHisto πŸ’–

πŸŽ€ OPTIONS πŸŽ€

  • -b <num>, --bins <num> β€” how many bins are in the histogram (unsigned int). this one's required btw, it's the whole vibe πŸ”₯
  • -w <nweight>, --weight <nweight> β€” how to weigh contributions to the histogram. by default (aka if you don't use this option), the increment is one bin count per sample πŸ“ but if you hand it a nrrd, then the value in that nrrd at the corresponding location becomes the bin count increment. fancy, right? ✨
  • -min <value>, --minimum <value> β€” the value at the low end of the histogram. you can give it as a regular number, or β€” plot twist β€” if you tack a % suffix on that number, this minimum is specified in terms of the percentage of samples in the input that are lower πŸ™ˆ by default (not using this option), it's the lowest value found in the input nrrd. (string); default: "nan"
  • -max <value>, --maximum <value> β€” the value at the high end of the histogram. same deal as min: regular number, or with a % suffix it means the percentage of samples in the input that are higher πŸ’œ defaults to the highest value found in the input nrrd. (string); default: "nan"
  • -blind8 <bool> β€” whether to know the range of 8-bit data blindly, like it's just born knowing (uchar is always [0,255], signed char is [-128,127]). (bool); default: "true" πŸ‘‘
  • -t <type>, --type <type> β€” the type to use for the bins in the output histogram; default: "uint" ⭐
  • -i <nin>, --input <nin> β€” the input nrrd 🌸
  • -o <nout>, --output <nout> β€” the output nrrd (string); default: "-" πŸ’«

πŸ’€ SEE ALSO πŸ’€


ngl bestie, that's literally the entire page. go make some histograms, you main character 🫢

signing off from August 2021 β€” this was UNU-HISTO(1), section 1, and yes it ate πŸ’…βœ¨

πŸ“¦ where this page comes from