This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# first draft of script to compute voxelwise bvec and bval after GNL | |
# work on the output of calc_grad_perc_dev | |
# calc_grad_perc_dev works on the fullwarp output of gradunwrap.py | |
import numpy as np | |
import nibabel as nib | |
import argparse |