getsv

package
v0.0.0-...-b6b8cb0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2017 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Name2id = map[string]string{
	"sun":     "10",
	"earth":   "399",
	"moon":    "301",
	"mars":    "499",
	"mercury": "199",
	"venus":   "299",
	"jupiter": "599",
	"saturn":  "699",
	"uranus":  "799",
	"neptune": "899",
	"pluto":   "999"}

map names to JPL Horizons object ids

Functions

func GetCMSystem

func GetCMSystem(object_names []string, now time.Time) (system cmech.CMSystem)

get a system of celestial objects from the JPL Horizons server

func GetSV

func GetSV(oname string, horizons_time time.Time) cmech.Body

get state vector for a named celestial body return a cmech.Body convert to units of km, sec, kg takes horizons_time time.Time allowing multiple objects to use the same starting time TODO, pass a slice object names to query using the same connection

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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