Documentation ¶
Overview ¶
Interface for the Yale Bright Star Catalog. See http://tdc-www.harvard.edu/catalogs/bsc5.readme.
Schema information for the Yale Bright Star Catalog. See http://tdc-www.harvard.edu/catalogs/bsc5.readme.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadBrightStars ¶
func LoadBrightStars() (*solarsystempb.BrightStars, error)
LoadBrightStars downloads, processes, and returns the bright stars of the Yale Bright Stars Catalog.
Types ¶
type BrightStar ¶
type BrightStar struct {
// contains filtered or unexported fields
}
BrightStar represents a row of the bright stars catalog.
func NewBrightStar ¶
func NewBrightStar(row string) (*BrightStar, error)
NewBrightStar creates a bright star entry from a catalog row.
func (*BrightStar) Declination ¶
func (s *BrightStar) Declination() float64
Declination of the star in radians.
func (*BrightStar) Intensity ¶
func (s *BrightStar) Intensity() float64
Intensity is the visual intensity of the star relative to the dimmest star in the catalog. See https://en.wikipedia.org/wiki/Apparent_magnitude#Calculations for details.
func (*BrightStar) RightAscension ¶
func (s *BrightStar) RightAscension() float64
RightAscension of the star in radians.