AFQ.utils.streamlines#

Module Contents#

Classes#

Functions#

split_streamline(streamlines, sl_to_split, split_idx)

Given a Streamlines object, split one of the underlying streamlines

Attributes#

AFQ.utils.streamlines.has_trx = True[source]#
class AFQ.utils.streamlines.SegmentedSFT(bundles, space, sidecar_info={})[source]#
get_sft_and_sidecar()[source]#
get_bundle(b_name)[source]#
get_bundle_param_info(b_name)[source]#
classmethod fromfile(trk_or_trx_file, reference='same', sidecar_file=None)[source]#
AFQ.utils.streamlines.split_streamline(streamlines, sl_to_split, split_idx)[source]#

Given a Streamlines object, split one of the underlying streamlines

Parameters
streamlinesa Streamlines class instance

The group of streamlines, one of which is being split.

sl_to_splitint

The index of the streamline that is being split

split_idxint

Where is the streamline being split