I hereby claim:
- I am haehn on github.
- I am haehn (https://keybase.io/haehn) on keybase.
- I have a public key whose fingerprint is 848A E455 F72E 75BE 2776 C457 BFE5 EA96 3DA6 5BA3
To claim this, I am signing this object:
% | |
% | |
% Creative Commons Attribution 4.0 International Public License | |
% from: https://creativecommons.org/licenses/by/4.0/legalcode | |
% | |
\RequirePackage{enumitem} % we need this | |
\setlistdepth{9} % and this | |
\section{Creative Commons Attribution 4.0 International Public License} |
I hereby claim:
To claim this, I am signing this object:
import numpy as np | |
from nibabel import load | |
import nibabel.trackvis as nibtrk | |
# filename = "DeterministicTractography/QBALLRecon/hardiO10.trk" | |
trkfilename = "/software/data/STUT/DTI_TV/PWS04/dtk_35/dti_35.trk" #%hardiO10.trk_cross_streamline_id_20.trk" | |
trkfilename_out = "newtracks.trk" | |
bfilename = "/software/data/STUT/DTI_TV/PWS04/dt_recon/lowb.nii" | |
mrfilename = "/software/data/MIBR/data/PWS04/head.nii" |
def readITKtransform( transform_file ): | |
''' | |
''' | |
# read the transform | |
transform = None | |
with open( transform_file, 'r' ) as f: | |
for line in f: | |
# check for Parameters: |
import xml.dom.minidom | |
import urllib2 | |
import sys | |
from urlparse import urlparse | |
from datetime import datetime | |
import time | |
def sort(adict): | |
''' sort a map by keys ''' | |
items = adict.items() |