TFF_VISUALIZE_OVERLAP.PY(1)

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

πŸ’– NAME πŸ’–

tff_visualize_overlap.py β€” the little script that shows off a tractogram and its density map, side by side, like a glow-up reveal 🫢

(also hi, this lives in the User Commands section of the manual, in case you were wondering where you wandered into ✨)


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, here's the vibe. This script displays a tractogram and its density map (computed from Dipy) in rasmm, voxmm and vox space, with its bounding box. Three spaces, one bounding box, zero chill πŸ’…

The usage, verbatim, no notes:

tff_visualize_overlap.py [-h] [--remove_invalid]

       IN_TRACTOGRAM reference

Display a tractogram and its density map (computed from Dipy) in rasmm, voxmm and vox space with its bounding box.


✨ positional arguments ✨

these are the ones you actually gotta hand over, no skipping πŸ‘‘

  • IN_TRACTOGRAM β€” the tractogram filename, your main character file πŸŽ€. The format must be one of trk, tck, vtk, fib, dpy, trx β€” that's the whole guest list, nobody else gets in.
  • reference β€” the reference anatomy, here to support tck/vtk/fib/dpy files (give it a nii or nii.gz) 🧚

πŸŽ€ options πŸŽ€

the lil switches, the seasoning, the finishing touch 🌸

  • -h, --help β€” shows this help message and exits. your "wait what does this do again" button, iconic, we love her πŸ’–
  • --remove_invalid β€” removes invalid streamlines so the density_mapfunction doesn't crash 😭 fr fr, it's the little safety net. Use it when your data's giving chaos and you'd rather not watch everything fall apart.

heads up: the help text literally calls it density_mapfunction, one word, no space. Not a typo I made, that's just how it is. Not me being sloppy, I'm being faithful πŸ’€

and that's the whole page, bestie πŸ¦‹

this was tff_visualize_overlap.py version 0.3, dated July 2024 β€” tysm for reading, go visualize some overlap, you ate πŸ‘‘βœ¨

πŸ“¦ where this page comes from