GRADIENT_UNWARP.PY(1)

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

πŸ’– NAME πŸ’–

gradient_unwarp.py β€” bestie, this is the manual page for gradient_unwarp.py version 1.2.1 ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the vibe: this is gradient_unwarp.py, and the way you call it is literally this:

usage: gradient_unwarp infile outfile manufacturer -g <coefficient file>
[optional arguments]

That's it, that's the whole entrance πŸ’… read on for the deets.

πŸŽ€ positional arguments πŸŽ€

  • infile β€” the input warped file, no cap. It's a nifti or mgh and that's just how it is 🫢
  • outfile β€” the output unwarped file. Heads up, the extension should be .nii/.nii.gz/.mgh/.mgz β€” the file itself is giving "I have standards" 😭
  • {siemens,ge} β€” the vendor. For now it's either "ge" or "siemens", and that's the whole menu, periodt ✨

🌸 options 🌸

  • -h, --help β€” show this help message and exit, iconic behaviour honestly πŸ‘‘
  • --version, -v β€” show the program's version number and exit πŸŽ€
  • -g GRADFILE, --gradfile GRADFILE β€” the .grad coefficient file ⭐
  • -c COEFFILE, --coeffile COEFFILE β€” the .coef coefficient file πŸ¦‹
  • -w, --warp β€” warp a volume, as opposed to unwarping. yes bestie, it does the opposite thing, she contains multitudes πŸ’«
  • -n, --nojacobian β€” do not perform Jacobian intensity correction πŸ™ˆ
  • --fovmin FOVMIN β€” the minimum extent of the harmonics evaluation grid, measured in meters πŸ“
  • --fovmax FOVMAX β€” the maximum extent of the harmonics evaluation grid, also in meters πŸ“
  • --numpoints NUMPOINTS β€” number of grid points in each direction ✨
  • --interp_order ORDER β€” the order of interpolation, 1..4, where 1 is linear β€” and yes, 1 is the default, she's the main character 🌈
  • --verbose β€” no description given, it just vibes πŸ’œ

lowkey reminder bestie: -g <coefficient file> is not optional in the usage line, so bring your coefficient file to the party πŸŽ€

and that's a wrap, bestie πŸ’– this has been gradient_unwarp.py 1.2.1, from the User Commands corner of the manual, dated January 2023 β€” slay, ate, no crumbs, go unwarp something gorgeous πŸ¦‹βœ¨πŸ’…

πŸ“¦ where this page comes from