Skip to content

Commit

Permalink
Removes spherical mean print and fixes dhollander tissue response doc…
Browse files Browse the repository at this point in the history
…string. (#80)
  • Loading branch information
rutgerfick committed Oct 1, 2019
1 parent 980f439 commit 04fb836
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
20 changes: 7 additions & 13 deletions dmipy/tissue_response/three_tissue_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,14 @@ def three_tissue_response_dhollander16(
Returns
-------
S0_wm : float,
white matter S0 response value.
TR2_wm_model : Dmipy TR2AnisotropicTissueResponseModel,
ModelFree representation of white matter response.
S0_gm : float,
grey matter S0 response value.
TR1_gm_model : Dmipy TR1IsotropicTissueResponseModel,
ModelFree representation of grey matter response.
S0_csf : float,
csf S0 response value.
TR1_csf_model : Dmipy TR1IsotropicTissueResponseModel,
ModelFree representation of csf response.
[S0_wm, S0_gm, S0_csf] : list of floats,
white matter, grey matter and csf responses.
[TR2_wm_model, TR1_gm_model, TR1_csf_model]: list of
TR2AnisotropicTissueResponseModel and
2 TR1IsotropicTissueResponseModels,
Modelfree signal representations of white/grey matter and csf.
three_tissue_selection: array of size (x, y, z, 3),
RGB mask of selected voxels used for white/grey matter and CSD.
RGB mask of selected voxels used for white/grey matter and csf.
References
----------
Expand Down
1 change: 0 additions & 1 deletion dmipy/utils/spherical_mean.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,4 @@ def estimate_spherical_mean_shell(
# Integral of Y00 spherical harmonic is 2 * np.sqrt(np.pi)
# Multiplication results in normalization of 1 / (2 * np.sqrt(np.pi))
E_mean = E_sh_coef[0] / (2 * np.sqrt(np.pi))
print('emean', E_mean)
return E_mean

0 comments on commit 04fb836

Please sign in to comment.