UNU-PERMUTE(1)

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

πŸ’… UNU-PERMUTE(1) β€” bestie edition

okay so you found the unu-permute page in the User Commands section, and honestly? it's giving "tiny page, huge power." let's get into it 🫢


✨ NAME ✨

unu-permute β€” permute ordering of axes

like, you're shuffling which axis goes where. a glow-up for your dimensions. πŸ”₯


🌸 SYNOPSIS 🌸

unu permute -p,--permute <ax0 ax1 ...> [-i,--input <nin>] [-o,--output <nout>]

πŸ¦‹ DESCRIPTION πŸ¦‹

So. Permute ordering of axes. πŸ’« The permutation gives the new ordering of the old axes (in 0-based numbering β€” yes bestie, we start counting at 0, we're not animals).

For example, the permutation 0->1, 1->2, 2->0 would be 2 0 1.

no cap, read that twice if you need to. 0 goes to 1, 1 goes to 2, 2 goes to 0, and the way you say that is 2 0 1. iconic behavior.
  • Uses nrrdAxesPermute

πŸ‘‘ OPTIONS πŸ‘‘

  • -p <ax0 ax1 ...> , --permute <ax0 ax1 ...> β€” new axis ordering (1 or more unsigned ints). yes literally just one is allowed, the page says "1 or more", and we respect the page πŸ’–
  • -i <nin> , --input <nin> β€” input nrrd. your lil data bestie going in πŸŽ€
  • -o <nout> , --output <nout> β€” output nrrd (string); default: β€œ-”. that default - means it goes to stdout, so it can just spill out into your terminal like a main character ✨

🌈 SEE ALSO 🌈


and that's the whole page, bestie, we ate and left no crumbs πŸ’… this was the August 2021 era of the docs, so if you're citing it or shipping it somewhere, that's the vibe and the date. mwah πŸŽ€πŸ’œ

πŸ“¦ where this page comes from