UNU-DICE(1)

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

✨ UNU-DICE(1) ✨

okay so bestie, this is a page from the User Commands manual, and it's about unu-dice πŸ’–


🌸 NAME 🌸

unu-dice β€” save all slices along one axis into separate files


πŸŽ€ SYNOPSIS πŸŽ€

unu dice -a,--axis <axis> [-i,--input <nin>] [-s,--start <start>]
[-ff,--format <form>] [-l,--limit <max#>] [-o,--output <above below>]

πŸ’« DESCRIPTION πŸ’«

So what this does is: it saves all the slices along one axis into separate files. That's the whole vibe. πŸ¦‹

It calls unu-slice(1) for each position along the axis you picked, and it saves out a different file for each sample along that axis. One slice, one file, no cap. πŸ’…

  • Uses repeated calls to nrrdSlice and nrrdSave

πŸ‘‘ OPTIONS πŸ‘‘

  • -a <axis> , --axis <axis> β€” the axis you wanna slice along (unsigned int). Pick wisely, queen, this is the main character of the whole command. ✨
  • -i <nin> , --input <nin> β€” the input nrrd 🫢
  • -s <start> , --start <start> β€” the integer value you start numbering with (unsigned int); default: "0" πŸ“
  • -ff <form> , --format <form> β€” a printf(3)-style format used to generate all the filenames. Use this when you wanna override how many characters get used to represent the slice position, or the file format of the output β€” for example -ff %03d.ppm gets you 000.ppm, 001.ppm, etc. πŸ”₯ By default (i.e. if you don't use this option), slices get saved in NRRD format (or PNM or PNG where possible) with the shortest possible filenames. (string)
  • -l <max#> , --limit <max#> β€” a sanity check on how many slice files should get saved out, so you don't accidentally dice the wrong axis or the wrong array 😭 (we've all been there). You can raise this value if you need to. (unsigned int); default: "9999"
  • -o <prefix> , --output <prefix> β€” the output filename prefix (this excludes the info you set via -ff), basically so you can set the path of the output files β€” so be sure to end it with /. (string) 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

unu(1), unu-slice(1)

printf(3)


and that's the whole page, bestie β€” written up under User Commands and dated August 2021, mwah πŸ’œ no notes, iconic behavior fr fr πŸŽ€

πŸ“¦ where this page comes from