Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc - fix definition of real_sph_harm functions #1039

Merged
merged 1 commit into from May 14, 2016

Conversation

MrBago
Copy link
Contributor

@MrBago MrBago commented Apr 29, 2016

Can someone double check me, but I think this is right now.

$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^m_n$ if m == 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's correct. I believe that we are following the same convention as the one outlined in @mdesco et al.'s 2007 paper (http://onlinelibrary.wiley.com/doi/10.1002/mrm.21277/full). See equation 3. I believe you can write this central line as:

$Y^0_n$     if m=0 

I don't think that we need to collapse the index here, as they do in that paper.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the middle line, does this look better?

@arokem
Copy link
Contributor

arokem commented May 5, 2016

Any more comments here? I'll merge this in a couple of days, if I don't hear from anyone.

@arokem
Copy link
Contributor

arokem commented May 14, 2016

LGTM. Merging.

@arokem arokem merged commit f983d1f into dipy:master May 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants