Flip the sign of the bvec vector in the specified vector(s).
docker build -t vistalab/dwi-flip-bvec .
Assumes data are in a local directory in the following layout (note the input
and output
parent directories):
├── input
│ ├── bvec
│ │ └── 101915_dwi.bvec
├── output
Then run the container:
docker run -it --rm \
-v `pwd`/input:/flywheel/v0/input/ \
-v `pwd`/output/:/flywheel/v0/output/ \
vistalab/dwi-flip-bvec
The results will be:
├── input
│ ├── bvec
│ │ └── 101915_dwi.bvec
├── output
│ ├── 101915_dwi_1000.bvec