Documentation
¶
Overview ¶
Moonnode: Chapter 51, Passages of the Moon through the Nodes.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ascending ¶
Ascending returns the date of passage of the Moon through an ascending node. 升交点对应的力学时
Argument year is a decimal year specifying a date near the event.
Returned is the jde of the event nearest the given date.
Example ¶
// Example 51.a, p. 365.
j := moonnode.Ascending(1987.37)
fmt.Printf("%.5f\n", j)
y, m, d := julian.JDToCalendar(j)
d, f := math.Modf(d)
fmt.Printf("%d %s %d, at %d TD\n", y, time.Month(m), int(d),
sexa.FmtTime(unit.TimeFromDay(f)))
Output: 2446938.76803 1987 May 23, at 6ʰ25ᵐ58ˢ TD
func Descending ¶
Descending returns the date of passage of the Moon through a descending node. 降交点对应的力学时
Argument year is a decimal year specifying a date near the event.
Returned is the jde of the event nearest the given date.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.