parsedata

package
v0.0.0-...-d300692 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CAT_nothing           int = 0
	CAT_RobertsonZodiacal int = 1
	CAT_Tycho             int = 2
	CAT_Hipparcos         int = 3
	CAT_Gaia              int = 4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AstrodataDEC

type AstrodataDEC struct {
	// contains filtered or unexported fields
}

type AstrodataData

type AstrodataData struct {
	Index int
	Ra    float64
	Dec   float64
	M     float64
	Epoch float64
	Err   error
}

type AstrodataRA

type AstrodataRA struct {
	// contains filtered or unexported fields
}

type Data_Gaia

type Data_Gaia struct {
	Index int
	Mag   float64
	RA    float64
	DEC   float64
	Epoch float64
}

type Data_Hipparcos

type Data_Hipparcos struct {
	Index int
	Mag   float64
	RA    AstrodataRA
	DEC   AstrodataDEC
}

type Data_RobertsonZodiacal

type Data_RobertsonZodiacal struct {
	Index int
	Mag   float64
	RA    AstrodataRA
	DEC   AstrodataDEC
}

ZC# m R.A. Centvar 2nd 3rd Decl Centvar 2nd 3rd

hhmmss.sss    s      s     s    ddmmss.ss     s      s    s

type Data_Tycho

type Data_Tycho struct {
	Index int
	Mag   float64
	RA    AstrodataRA
	DEC   AstrodataDEC
}

one dataline of Tycho T| 1 13 1| |00 04 30.12|+02 16 02.6| 8.50| | |001.12551719|+02.26739188| | 9.6 | 28.7 | -10.5 | 10.3 | 7.5 | 11.9 | 14.4 | 11.6 |+0.21|+0.18|-0.07|-0.21|+0.00|+0.00|+0.01|-0.12|+0.04|+0.28|116|-0.72| |10.555|0.041| 8.682|0.016|N| 1.560|0.039| |3|10.6| | 90|0.108| 8.57| 8.79| | |Y|B| |143110|225210|B+01 4824 |

type Parsedata

type Parsedata struct {
	Type int
}

func (*Parsedata) Parse

func (p *Parsedata) Parse(catType int, line string) AstrodataData

Jump to

Keyboard shortcuts

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