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

provide functions for coordinate systems and transformations #19

Closed
DavidWalz opened this issue Jan 30, 2015 · 1 comment
Closed

provide functions for coordinate systems and transformations #19

DavidWalz opened this issue Jan 30, 2015 · 1 comment

Comments

@DavidWalz
Copy link
Member

It would be beneficial if a common naming would logically group the functions together, as it is currently done with SourceXXX and ObserverXXX.

e.g.

from crpropa import *
v1 = coordinates_galactic(124, -32, degree=True)  # 3-vector in galactic coordinates, |v1| = 1
v2 = coordinates_gal2sgal(v1)  # the same vector in supergalactic coordinates
v2 = coordinates_gal2eq(v1)  # the same vector in equatorial coordinates
...
@DavidWalz DavidWalz removed their assignment Feb 4, 2016
@DavidWalz
Copy link
Member Author

We discussed about this last year based on Daniel's suggestion.
However this feature is provided by many external libraries and I don't see it a necessary part of CRPropa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant