2026-05-01 22:38:44 +08:00
|
|
|
package saturn
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"time"
|
|
|
|
|
|
|
|
|
|
"b612.me/astro/basic"
|
|
|
|
|
"b612.me/astro/calendar"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// AscendingNode 土星升交点黄经 / ascending node longitude of Saturn.
|
|
|
|
|
func AscendingNode(date time.Time) float64 {
|
|
|
|
|
return AscendingNodeN(date, -1)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// AscendingNodeN 土星升交点黄经(截断版) / truncated ascending node longitude of Saturn.
|
|
|
|
|
func AscendingNodeN(date time.Time, n int) float64 {
|
2026-09-23 18:55:12 +08:00
|
|
|
jd := calendar.Date2JD(date.UTC())
|
|
|
|
|
return basic.SaturnAscendingNodeN(basic.UTC2TT(jd), n)
|
2026-05-01 22:38:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DescendingNode 土星降交点黄经 / descending node longitude of Saturn.
|
|
|
|
|
func DescendingNode(date time.Time) float64 {
|
|
|
|
|
return DescendingNodeN(date, -1)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DescendingNodeN 土星降交点黄经(截断版) / truncated descending node longitude of Saturn.
|
|
|
|
|
func DescendingNodeN(date time.Time, n int) float64 {
|
2026-09-23 18:55:12 +08:00
|
|
|
jd := calendar.Date2JD(date.UTC())
|
|
|
|
|
return basic.SaturnDescendingNodeN(basic.UTC2TT(jd), n)
|
2026-05-01 22:38:44 +08:00
|
|
|
}
|