UNU-AXSPLIT(1)

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

πŸ’… 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's 2 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 πŸ’œ

unu(1), unu-axinsert(1)

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