UNU-SPLICE(1)

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

πŸ’– 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 (and M==#samples-1, iykyk)
  • -i <nin>, --input <nin> β€” the input nrrd. 🫢 this is the slice to insert into nin
  • -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