BF,ENH: Fix `fsl_streamlines` bug for inputs with neurological storage order. Support saving in TRX format

The fsl_streamlines tool was not taking into account the fact that vectors in FSL vector images are always oriented radiologically, even with a neurological voxel storage order. It now defaults to inverting vectors about the X axis for inputs with neurological storage order, but this can be controlled with the new --xflip option.

This MR also adds support for the TRX streamline file format. trx is still the default output format, but this may be changed in the future.

Merge request reports

Loading
Loading