TFF_CONCATENA...RACTOGRAMS.PY(1)

πŸ“¦
version 0.3 Β· 3 versions
, in debian trixie, ubuntu questing

✨ TFF_CONCATENA...RACTOGRAMS.PY(1) ✨

ok so bestie, we're in User Commands territory and this is the glow-up guide for tff_concatenate_tractograms.py πŸ’… she's the one who takes a whole friend group of tractograms and makes them one iconic squad. let's get into it 🫢


🌸 NAME 🌸

tff_concatenate_tractograms.py β€” concatenate multiple tractograms into one 🧚✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, here's the whole vibe. the usage is literally this:

tff_concatenate_tractograms.py [-h] [--delete_dpv] [--delete_dps]
                                     [--delete_groups]
                                     [--reference REFERENCE] [-f]
                                     in_tractograms [in_tractograms ...]
                                     out_tractogram

Concatenate multiple tractograms into one.</purl> periodt. πŸ’–

⚠️ real talk though: if the data_per_point or data_per_streamline is not the same for all tractograms, the data must be deleted first. no cap, this is not optional. 😭

πŸŽ€ positional arguments:

  • in_tractograms β€” Tractogram filename. the format has to be one of trk, tck, vtk, fib, dpy, trx. that's the whole roster, bestie, no substitutions πŸ™ˆ
  • out_tractogram β€” Filename of the concatenated tractogram. this is the main character output file πŸ‘‘

πŸ’… options:

  • -h, --help β€” show this help message and exit. she's always there for you when you forget literally everything 🫢
  • --delete_dpv β€” Delete the dpv if it exists. Required if not all input has the same metadata. lowkey essential when your metadata is giving mismatched πŸ’€
  • --delete_dps β€” Delete the dps if it exists. Required if not all input has the same metadata. same energy, different letters ✨
  • --delete_groups β€” Delete the groups if it exists. Required if not all input has the same metadata. yes, the groups too, i'm so serious 😭
  • --reference REFERENCE β€” Reference anatomy for tck/vtk/fib/dpy file support (.nii or .nii.gz). she needs her little anatomy buddy to function, iykyk 🌸
  • -f β€” Force overwriting of the output files. chaotic but necessary sometimes. she will absolutely overwrite your stuff, so know that going in πŸ”₯

πŸ’€ heads up bestie: those --delete_dpv, --delete_dps and --delete_groups flags are only "required if not all input has the same metadata" β€” don't come for me, that's just what the page says. and -f will straight up clobber your output files, so vibe check before you commit πŸ™ˆ

k bye, go concatenate something iconic πŸ’–βœ¨

this page was brought to you by tff_concatenate_tractograms.py 0.3, dated July 2024 β€” written down in the TFF_CONCATENA...RACTOGRAMS.PY(1) manual, and yes the title is long enough to be a whole personality. slay πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from