UNU-SHUFFLE(1)

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

πŸ’– unu-shuffle(1) β€” bestie's guide to permuting slices πŸ’–

okay so this is the unu-shuffle page, part of the User Commands crew, and honestly? it's giving glow-up for your data. ✨


🌸 NAME 🌸

unu-shuffle β€” permute slices along one axis πŸ¦‹


✨ SYNOPSIS ✨

unu shuffle [@file ...]  -p,--permute <slc0 slc1 ...> [-inv,--inverse]
-a,--axis <axis> [-i,--input <nin>] [-o,--output <nout>]

πŸ’… DESCRIPTION πŸ’…

Permute slices along one axis. Slices along one axis get re-arranged as units, according to the permutation you hand over (or its inverse, if you're feeling spicy). The permutation tells which old slice to put at each new position.

fr fr, here's the vibe: the shuffle 0->1, 1->2, 2->0 would be written as β€œ2 0 1”. no cap. πŸŽ€

And lowkey β€” if you have to rearrange the many slices of a large dataset, you should probably store the permutation in a plain text file and use it as a β€œresponse file”. iykyk. πŸ’€

  • Uses nrrdShuffle

πŸ‘‘ OPTIONS πŸ‘‘

  • @file ... β€” response file(s) containing command-line arguments 🫢
  • -p <slc0 slc1 ...>, --permute <slc0 slc1 ...> β€” new slice ordering (1 or more unsigned ints) ✨
  • -inv, --inverse β€” use inverse of given permutation πŸ”„
  • -a <axis>, --axis <axis> β€” axis to shuffle along (unsigned int) 🌈
  • -i <nin>, --input <nin> β€” input nrrd πŸ“
  • -o <nout>, --output <nout> β€” output nrrd (string); default: β€œ-” πŸ’œ

πŸ¦‹ SEE ALSO πŸ¦‹

unu(1), unu-flip(1)


okay bestie that's the whole page, we ate and left no crumbs πŸ’… β€” this was unu-shuffle(1) from the User Commands manual, dated August 2021. periodt. 🌟

πŸ“¦ where this page comes from