astro

package module
v0.0.0-...-1e3ce3c Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: GPL-3.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

astronomy

This package contains functions for calculating astronomical times and positions.

Documentation

Overview

Package astro is used for carrying out astronomical calculations

Package astro contains functions for calculating astronomical times and positions

Index

Constants

View Source
const (

	// J2000Epoch is January 1, 2000, 12:00 TT
	J2000Epoch julianTime = 2451545.0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Altitude

type Altitude float64

Altitude is the height in meters of an object above sea level

type Location

type Location struct {
	Latitude  float64  `json:"latitude" validate:"min=-90,max=90"`
	Longitude float64  `json:"longitude" validate:"min=-180,max=180"`
	Altitude  Altitude `json:"altitude" validate:"min=0"`
}

Location is the three-dimensional position of an object above the globe. Latitude and Longitude values are in degrees.

Jump to

Keyboard shortcuts

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