Commit 17880bb3 authored by card0206@ox.ac.uk's avatar card0206@ox.ac.uk
Browse files

Added wrapper methods for water and meabolite

parent b4f3df96
...@@ -513,3 +513,23 @@ def reconAlpha171(fname_in,fname_out='',**kwargs): ...@@ -513,3 +513,23 @@ def reconAlpha171(fname_in,fname_out='',**kwargs):
my_recon.saveIma2Nii(fname_out) my_recon.saveIma2Nii(fname_out)
return my_recon return my_recon
def recon_water(fname_in,fname_out='',sens_maps='',**kwargs):
my_recon = Recon(fname_in,**kwargs)
my_recon.getKdata()
my_recon.arrangeData()
my_recon.calcImg()
my_recon.combineCoils()
my_recon.saveSensMaps(sens_maps)
my_recon.saveIma2Nii(fname_out)
return my_recon
def recon_metab(fname_in,sens_maps,fname_out='',**kwargs):
my_recon = Recon(fname_in,**kwargs)
my_recon.getKdata()
my_recon.arrangeData()
my_recon.calcImg()
my_recon.loadSensMaps(sens_maps)
my_recon.combineCoils()
my_recon.saveIma2Nii(fname_out)
return my_recon
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment