TFF_CONVERT_TRACTOGRAM.PY(1)
β¨ 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 (.niior.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:.tckin, you need that--referenceNIFTI. 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
- debian trixie: python3-trx-python 0.3-1 Β· BSD-2-Clause
- ubuntu questing: python3-trx-python 0.3-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms