UNU-SPLICE(1)
π UNU-SPLICE(1) π
okay bestie, welcome to unu-splice, a lil member of the User Commands crew (section 1, she's official). she's here to do one thing and do it gorgeously: swap a slice out and drop a whole different nrrd in its place. π
β¨ NAME β¨
unu-splice β replace a slice with a different nrrd π«Ά
πΈ SYNOPSIS πΈ
unu splice -a,--axis <axis> -p,--position <pos> -s,--slice <nslice>
[-i,--input <nin>] [-o,--output <nout>]
π¦ DESCRIPTION π¦
Replace a slice with a different nrrd. no cap, that's literally it. this is functionally the opposite of slice β like, they're nemeses, they're giving rivals-to-lovers energy but make it ndimensional. π
- Uses
nrrdSplice
π OPTIONS π
-a <axis>,--axis <axis>β the axis you're splicing along, and yes she is an unsigned int π-p <pos>,--position <pos>β where you're splicing at, choose your own adventure:<int>gives you the 0-based index (count from zero, bestie, zero is a real number)M-<int>gives you an index relative to the last sample on the axis (andM==#samples-1, iykyk)
-i <nin>,--input <nin>β the input nrrd. π«Ά this is the slice to insert intonin-o <nout>,--output <nout>β the output nrrd (a string); default:-(rq
π not me noticing -s,--slice <nslice> shows up in the SYNOPSIS but not in the OPTIONS list... she's mysterious, she's elusive, she's main character energy. anyway, it's in the synopsis up there, so it's real.
π SEE ALSO π
unu(1), unu-slice(1) β go say hi to her sister, she's iconic too π
and that's the whole page, babe β¨ this one's filed under User Commands, dated August 2021, and she ate fr fr. go splice something pretty ππ
π¦ 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