To_spherical phi probleme
See original GitHub issueHi, (first of all skyfiled is awesome, thank you very much). It seems that there is a problem with the calculation of phi in the to_spherical function (function.py line 85). when calculating I have a :
...skyfield/functions.py:85: RuntimeWarning: invalid value encountered in remainder
phi = arctan2(y, x) % tau
I tried to add _AVOID_DIVIDE_BY_ZERO to tau or x but not improvement so far…
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Triple integrals in spherical coordinates (article) | Khan Academy
Converting to spherical coordinates can make triple integrals much easier to work out when the region you are integrating over has some spherical...
Read more >Solved Problem 3 The change to spherical coordinates can be
Question: Problem 3 The change to spherical coordinates can be thought of as a function from (r,theta, phi) to (x, y, z) defined...
Read more >Converting from Cartesian (x,y,z) to Spherical (ρ,θ,φ) - YouTube
Video showing how to convert from the Cartesian coordinate system to the Spherical coordinate system, with a derivation of the formulas to ...
Read more >Evaluate By Changing to Spherical Coordinates - YouTube
This triple integral example shows specifically the usefulness of circular cones just being specific phi values. Since rho goes radially out ...
Read more >Spherical Coordinates -- from Wolfram MathWorld
Define theta to be the azimuthal angle in the xy-plane from the x-axis with 0<=theta<2pi (denoted lambda when referred to as the longitude),...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
1.22 on ubuntu and 1.21 on the pi. Might be the root cause. I’m going to update and see if it’s ok.
Thanks for the update, after thinking about the issue some more, my guess is that indeed there is nothing that Skyfield can do here that would be terribly useful. I’ll go ahead and close the issue.