UNU-SHUFFLE(1)
π 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 π¦
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
- fedora 43: teem 1.11.0-83.fc43 Β· LGPL-2.1-or-later WITH LicenseRef-Fedora-Temporary-Simple-Library-exception
- fedora 43: teem 1.11.0-86.fc43 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- fedora 44: teem 1.11.0-87.fc44 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms