moonnode

package
v3.0.0-...-8217f41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2018 License: MIT Imports: 2 Imported by: 0

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

func Ascending(year float64) float64

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

func Descending(year float64) float64

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL