Replies: 3 comments 5 replies
-
The array |
Beta Was this translation helpful? Give feedback.
-
Hi @brandon-rhodes , thanks for your time. Since last time I posted the above code I moved on trying to study other features and I always got stuck somehow which ring a bell I might have misinterpretate some of skyfiled code. Below there is the simplest code I can think of to do some tests:
this is the output on spider console:
I definetively use something incorrectly and I can't get my head around. How would any of you calculate by instance the max and/or min distance of the moon from the Earth? Would you use find_maxima() and find_minima()? thank you all |
Beta Was this translation helpful? Give feedback.
-
Sorry everybody but I'm back to the same post...
This function as it is works but I actualy need to use the commented code:
If I uncomment it I receive this error:
showing that everything stops somehow with the if statement. I know this post is a little confused and I can split/re-post it possibly to reduce the confusion Thank you all |
Beta Was this translation helpful? Give feedback.
-
Dear all,
following the latest discussion I had here regarding zodiac entry and find_minima(), I'm now studing the daily aspects between 2 planets during a period of time. This is my function I though should work:
At the moment I receive this error:
I was expecting _, t1lon, _ = e.observe(t1).apparent().ecliptic_latlon would return one number but it is returning an array whose size depend on time span.
Being for some reason an array rather a single value I receive the above problem.
Can someone suggest why I receive an array insted of a single number and how to resolve the error?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions