trx.workflows#

Attributes#

Functions#

convert_dsi_studio(in_dsi_tractogram, in_dsi_fa, ...)

convert_tractogram(in_tractogram, out_tractogram, ...)

tractogram_simple_compare(in_tractograms, reference)

verify_header_compatibility(in_files)

tractogram_visualize_overlap(in_tractogram, reference)

validate_tractogram(in_tractogram, reference, ...[, ...])

generate_trx_from_scratch(reference, out_tractogram[, ...])

manipulate_trx_datatype(in_filename, out_filename, ...)

Module Contents#

trx.workflows.dipy_available = True[source]#
trx.workflows.convert_dsi_studio(in_dsi_tractogram, in_dsi_fa, out_tractogram, remove_invalid=True, keep_invalid=False)[source]#
trx.workflows.convert_tractogram(in_tractogram, out_tractogram, reference, pos_dtype='float32', offsets_dtype='uint32')[source]#
trx.workflows.tractogram_simple_compare(in_tractograms, reference)[source]#
trx.workflows.verify_header_compatibility(in_files)[source]#
trx.workflows.tractogram_visualize_overlap(in_tractogram, reference, remove_invalid=True)[source]#
trx.workflows.validate_tractogram(in_tractogram, reference, out_tractogram, remove_identical_streamlines=True, precision=1)[source]#
trx.workflows.generate_trx_from_scratch(reference, out_tractogram, positions_csv=False, positions=False, offsets=False, positions_dtype='float32', offsets_dtype='uint64', space_str='rasmm', origin_str='nifti', verify_invalid=True, dpv=[], dps=[], groups=[], dpg=[])[source]#
trx.workflows.manipulate_trx_datatype(in_filename, out_filename, dict_dtype)[source]#