TFF_CONVERT_TRACTOGRAM.PY(1)

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

✨ NAME ✨

tff_convert_tractogram.py β€” bestie, it converts tractogram files to the updated file format πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so first thing, here's the vibe:

usage: tff_convert_tractogram.py [-h] [--reference REFERENCE]
       [--positions_dtype {float16,float32,float64}]
       [--offsets_dtype {uint32,uint64}] [-f] IN_TRACTOGRAM
       OUT_TRACTOGRAM

This little icon converts .tck, .trk, .fib, .vtk, .trx and dpy files using the updated file format standard 🌈. Real talk: a TCK file always needs a reference file, a NIFTI, for conversion β€” no reference, no conversion, periodt. And the plot twist? The FIB file format is in fact a VTK, and MITK Diffusion supports it πŸ‘‘

πŸŽ€ positional arguments πŸŽ€

  • IN_TRACTOGRAM β€” the tractogram filename you're feeding in. Format must be one of trk, tck, vtk, fib, dpy, trx.
  • OUT_TRACTOGRAM β€” the output filename. Format must be one of trk, tck, vtk, fib, dpy, trx.

πŸ’– options πŸ’–

  • -h, --help β€” shows this help message and dips. classic.
  • --reference REFERENCE β€” the reference anatomy for tck/vtk/fib/dpy file support (.nii or .nii.gz). it's giving "you need me" energy 🫢
  • -f β€” force overwriting of the output files. no cap, it will just bulldoze right over whatever's there πŸ’€

🧚 Data type options 🧚

  • --positions_dtype {float16,float32,float64} β€” specify the datatype for positions for trx. default is [float32] ✨
  • --offsets_dtype {uint32,uint64} β€” specify the datatype for offsets for trx. default is [uint64] 🌸

heads up bestie: .tck in, you need that --reference NIFTI. not optional. iykyk πŸ’…

and that's the whole page, mwah πŸ’‹ β€” this was tff_convert_tractogram.py version 0.3, dated July 2024. slay, go convert something πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from