sacdb

package
v0.0.0-...-5b84a0d Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeepSky []SACDB = []SACDB{}/* 10342 elements not displayed */

Functions

This section is empty.

Types

type DeepSkyObject

type DeepSkyObject struct {
	Desc      string
	RA        float64
	Dec       float64
	Magnitude float64
	// contains filtered or unexported fields
}

func ObjectsCloseTo

func ObjectsCloseTo(RA, Dec float64, limitingMagnitude float64, maxResults int) []DeepSkyObject
func Search(RA, Dec float64, searchText string, maxResults int) []DeepSkyObject

type SACDB

type SACDB struct {
	ObjectID          string  `json:"object_id"`
	OtherID           string  `json:"other_id"`
	Type              string  `json:"type"`
	Constellation     string  `json:"constellation"`
	RA                string  `json:"ra"`
	Dec               string  `json:"dec"`
	Magnitude         float64 `json:"magnitude"`
	SurfaceBrightness float64 `json:"surface_brightness"`
	U2K               string  `json:"u2k"`
	Ti                string  `json:"ti"`
	SizeMax           string  `json:"size_max"`
	SizeMin           string  `json:"size_min"`
	PositionAngle     int     `json:"position_angle"`
	Classification    string  `json:"classification"`
	NStars            int     `json:"n_stars"`
	BrightestStar     float64 `json:"brightest_star"`
	Catalogs          string  `json:"catalogs"`
	NGCDesc           string  `json:"ngc_desc"`
	Notes             string  `json:"notes"`
}

Jump to

Keyboard shortcuts

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