You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When the sun sets, the sky is not immediately dark. Consequently, most of the objects are not visible until it is. The same happens when the sun is rising.
Describe the solution you'd like
A function that gives, for a date and a position, the end times of the three dawns and twilights of the day:
civil dawn/twilight (geometric center of the Sun passes 6° under the horizon): Venus and the Moon are the only visible objects
nautical dawn/twilight (geometric center of the Sun passes 12° under the horizon): the light of the Sun is still visible, but is not enough to hide the brightest stars.
astronomical dawn/twilight (geometric center of the Sun passes 18° under the horizon), or full night: all the objects are visible (depending on the ambient light pollution).
The TwilightsInformation type would be a class that handles the datetimes of the three dawns and twilights.
The DawnsInformation type may be an alias of TwilightsInformation.
Additional context
Not sure for the name of the Dawns/TwilightInformation class. We might want a better name.
Is your feature request related to a problem? Please describe.
When the sun sets, the sky is not immediately dark. Consequently, most of the objects are not visible until it is. The same happens when the sun is rising.
Describe the solution you'd like
A function that gives, for a date and a position, the end times of the three dawns and twilights of the day:
The function would look like this:
The
TwilightsInformation
type would be a class that handles thedatetime
s of the three dawns and twilights.The
DawnsInformation
type may be an alias ofTwilightsInformation
.Additional context
Dawns
/TwilightInformation
class. We might want a better name.skyfield.almanac.dark_twilight_day()
function for better performances.The text was updated successfully, but these errors were encountered: