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

Add Alternative Spherical angle conventions #73

Open
jonalm opened this issue May 12, 2021 · 2 comments
Open

Add Alternative Spherical angle conventions #73

jonalm opened this issue May 12, 2021 · 2 comments

Comments

@jonalm
Copy link

jonalm commented May 12, 2021

Would you consider having an alternative Spherical coordinate conventions, in particular the one which (at least according to wikipedia https://en.wikipedia.org/wiki/Spherical_coordinate_system#Conventions) is common practice in physics (i.e. x = [r sin(theta) cos(phi), r sin(\theta)sin(\phi), r cos(theta)]). This could live along the current convention like SphericalPhysics or PhysicsSpherical, or by adding a type parameter which indicates the convention Spherical{T,A, Convension}?

@waldyrious
Copy link
Contributor

See also #25 and #68.

@marius311
Copy link

+1 this would be really useful.

For future reference, if you're used to this:

image

Then you would construct:

Spherical(1, ϕ, π/2-θ)

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

No branches or pull requests

3 participants