UNU-AXSPLIT(1)
π UNU-AXSPLIT(1) β bestie's guide to splitting one axis into two β¨
okay so welcome to unu-axsplit, a User Commands classic, and no bc we are NOT gatekeeping this one π«Ά
πΈ NAME πΈ
unu-axsplit β split one axis into two axes. literally that's the whole job. one axis goes in, two axes come out, and you're thriving π
β¨ SYNOPSIS β¨
unu axsplit -a,--axis <axis> -s,--size <fast, slow sizes> [-i,--input
<nin>] [-o,--output <nout>]
like yes bestie, -a and -s are the required ones, -i and -o are optional and just vibing π
π¦ DESCRIPTION π¦
Split one axis into two axes. that's it, that's the whole thing, and it ate π
she's the more general version of unu-axinsert(1) β not me hyping up her more flexible older sister, but fr fr: a given axis can be split into fast and slow axes of arbitrary size, as long as the product of the fast and slow sizes is the same as the original size. that last part is the vibe check π β the math has to math.
- Uses
nrrdAxesSplit
periodt. that's the engine under the hood β¨
π OPTIONS π
-a<axis>,--axis<axis>β the dimension (aka axis index) to split at. it's an unsigned int, so be normal about it π-s<fast, slow sizes>,--size<fast, slow sizes>β the fast and slow axis sizes you want to produce as the result of splitting that given axis. it's2 size_ts, so it takes two numbers, and yeah they gotta multiply out to the original size or she's not doing it π-i<nin>,--input<nin>β the input nrrd π-o<nout>,--output<nout>β the output nrrd. it's a string, and the default is"-"which lowkey means stdout energy β¨
π SEE ALSO π
go read unu(1) for the full group-chat, and unu-axinsert(1) if you're feeling like the reverse-ish situation π§
okay that's the whole page, mwah π this was the August 2021 edition of UNU-AXSPLIT(1) from User Commands β go split an axis bestie, you're gonna slay π«Άπβ¨
π¦ 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