Skip to content

Commit

Permalink
fix handling of arguments in get_mmr_fromfile
Browse files Browse the repository at this point in the history
It ignored values for petNoise etc

Fixes #3
  • Loading branch information
KrisThielemans authored and casperdcl committed Sep 16, 2020
1 parent 657ff50 commit 399b3e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brainweb/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ def get_mmr_fromfile(brainweb_file,
'.bin.gz', '.npz' if PetClass == FDG else
'.{}.npz'.format(PetClass.__name__)),
dat,
petNoise=1.0, t1Noise=0.75, t2Noise=0.75,
petSigma=1.0, t1Sigma=1.0, t2Sigma=1.0,
petNoise=petNoise, t1Noise=t1Noise, t2Noise=t2Noise,
petSigma=petSigma, t1Sigma=t1Sigma, t2Sigma=t2Sigma,
PetClass=PetClass)


Expand Down

0 comments on commit 399b3e4

Please sign in to comment.