MRS_TOOLS-RESHAPE(1)

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

πŸ’– mrs_tools-reshape β€” the manual, but make it cute πŸ’–

okay bestie, welcome to mrs_tools-reshape(1) πŸ’… it lives in the User Commands section of the manual, and it's here to reorder higher dimensions of NIfTI-MRS. that's the whole vibe. the 5th, 6th and 7th dims are the main characters here and we're rearranging them. periodt. ✨


🌸 SYNOPSIS 🌸

mrs_tools reshape [-h] --file FILE --shape SHAPE [SHAPE ...]  [--d5 D5]
[--d6 D6] [--d7 D7] [--output OUTPUT] [--filename FILENAME]

like, that's the shape of the call (pun absolutely intended, i'm obsessed with me). let's break it down 🫢


✨ OPTIONS ✨

πŸŽ€ OPTIONAL ARGUMENTS

these ones are the nice to have squad. they don't have to show up, but they slay when they do.

  • -h, --help β€” pops up a help message and then dips. iconic behaviour honestly πŸ’–
  • --d5 D5 β€” the tag for the 5th dimension (think something like DIM_DYN). label your dims, bestie 🏷️
  • --d6 D6 β€” same energy, but for the 6th dimension (e.g. DIM_DYN).
  • --d7 D7 β€” you guessed it: the tag for the 7th dimension (e.g. DIM_DYN). that's the last one we go up to, no cap.
  • --output OUTPUT β€” where the output folder goes. lowkey defaults to the current directory if you don't say anything πŸ“
  • --output-adjacent energy, but actually: --filename FILENAME β€” overrides the output file names. you get to name the babies yourself 🍼

πŸ‘‘ REQUIRED ARGUMENTS

no skipping these. they're mandatory. main character requirements only.

  • --file FILE β€” the file you wanna reshape. that's it, that's the file πŸ“„
  • --shape SHAPE [SHAPE ...] β€” a numpy-like target shape. enter them as integers, and -1 means "whatever, any value works" for that slot. only enter shape values for the higher dimensions, so the 5th through 7th. don't get cute with the lower ones πŸ’€
fr fr though: -1 is your "idk, you pick" placeholder, and shape input is strictly for the 5th–7th dims. don't come for me if you put the wrong dims in there πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, go say hi:

and the rest of the crew:


mwah πŸ’‹ that's the page! this little gem is dated November 2023 and it's filed under MRS_TOOLS-RESHAPE(1) β€” go reshape something gorgeous, bestie πŸŒˆπŸ’œ

πŸ“¦ where this page comes from