UNU-DHISTO(1)

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

πŸ’– UNU-DHISTO πŸ’–

okay bestie so unu-dhisto is a User Commands manual page (manual name is UNU-DHISTO(1), iykyk) and it does exactly one iconic thing: it makes a picture of a 1-D value histogram. that's it. that's the girlboss. ✨


🌸 SYNOPSIS 🌸

unu dhisto -h,--height <height> [-nolog] [-notick] [-max,--maximum
<max # hits>] [-i,--input <nin>] [-o,--output <nout>]

copy that exactly pls, no typos, she's sensitive πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So like. It creates an image of a 1-D value histogram. That's the whole plot. πŸŽ€

BUT β€” and this is the juicy part β€” if you throw -nolog on there, it becomes a "quick & dirty" way of plotting a function. lowkey unhinged, highkey useful. no cap.

  • Uses nrrdHistoDraw πŸ’–

✨ OPTIONS ✨

here's the whole roster, every single one, no skipping (I would never gatekeep):

  • -h <height>, --height <height> β€” this is the height of the output image, bestie. the horizontal size? not your problem, it's decided by how many bins are in the input histogram. she contains multitudes. (unsigned int) 🌈
  • -nolog β€” do NOT show the log-scaled histogram with the decade tick-marks. turn the log vibes off. πŸ™ˆ
  • -notick β€” do NOT draw the log decade tick marks. the ticks are simply not invited to the function. πŸ’€
  • -max <max # hits>, --maximum <max # hits> β€” constrains the top of the drawn histogram to be at this number of hits. and it does one of two things depending on the drama: if the max you gave is higher than the actual maximum bin count, it scales the drawn histogram downward; if it's lower, it clips its top. either way it's giving main character energy. and if you just... don't use this option (which is the default, btw), then the actual maximum bin count gets used. "double" 🫢
  • -i <nin>, --input <nin> β€” input nrrd πŸ“
  • -o <nout>, --output <nout> β€” output nrrd (string); default: "-" ✨

πŸ‘‘ SEE ALSO πŸ‘‘

like, go read that one too, it's the mothership fr fr.


just a lil reminder to keep every flag exactly as written, bestie β€” no renaming, no merging, no inventing. the flags ate and they stay. πŸ’…

okay that's the whole page!! this one is from August 2021, it lives in User Commands, and its source is UNU-DHISTO(1) β€” mwah, iconic, periodt. πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from