Skip to content

Commit

Permalink
Merge pull request #1039 from MrBago/doc_fix_shm_basis
Browse files Browse the repository at this point in the history
Doc - fix definition of real_sph_harm functions
  • Loading branch information
arokem committed May 14, 2016
2 parents aeaf595 + 43e55ab commit f983d1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dipy/reconst/shm.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ def real_sph_harm(m, n, theta, phi):
Where the real harmonic $Y^m_n$ is defined to be:
Real($Y^m_n$) * sqrt(2) if m > 0
$Y^m_n$ if m == 0
Imag($Y^m_n$) * sqrt(2) if m < 0
Imag($Y^m_n$) * sqrt(2) if m > 0
$Y^0_n$ if m = 0
Real($Y^|m|_n$) * sqrt(2) if m < 0
This may take scalar or array arguments. The inputs will be broadcasted
against each other.
Expand Down Expand Up @@ -245,7 +245,7 @@ def real_sym_sh_mrtrix(sh_order, theta, phi):
$Y^m_n$ is defined to be::
Real($Y^m_n$) if m > 0
$Y^m_n$ if m == 0
$Y^0_n$ if m = 0
Imag($Y^|m|_n$) if m < 0
This may take scalar or array arguments. The inputs will be broadcasted
Expand Down Expand Up @@ -291,7 +291,7 @@ def real_sym_sh_basis(sh_order, theta, phi):
be:
Imag($Y^m_n$) * sqrt(2) if m > 0
$Y^m_n$ if m == 0
$Y^0_n$ if m = 0
Real($Y^|m|_n$) * sqrt(2) if m < 0
This may take scalar or array arguments. The inputs will be broadcasted
Expand Down

0 comments on commit f983d1f

Please sign in to comment.