-
Notifications
You must be signed in to change notification settings - Fork 127
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
Discontinuity of first derivative in solar.get_altitude()
#115
Comments
solar.get_altitude()
Your original function looks continuous, so the problem is probably in your derivative calculation. I'm closing this; feel free to re-open if it's a persistent problem. |
The problem still persists, the function I am using to get the gradient is
|
Ah, it does appear that there is a bump in the altitude-- about a 0.03 degree change in around 1 minute, which looks like about twice the rate of change before and after the bump. To figure out why, I would look at each of the components used to calculate the altitude, and see which one of them is changing quickly. My guess is that something is getting weird because it's in denominator and near zero. I'm not sure what to tell you about |
Thanks, yes the slope indeed does roughly double, the spike in the |
Closing this for now. Please reopen if I’m in error here. See also #155. |
I live in Singapore, and am studying the altitude of the sun across the day, for different times of the year. I realised that the output generated by 'solar.get_azimuth()' is discontinuous in the first derivative.
This is the code that I have used:
This is the output I got by using
solar.get_altitude()
, the 'o' markers represent altitude, '-' lines represent the first derivative.this is the output I got by using
solar.get_altitude_fast()
The text was updated successfully, but these errors were encountered: