Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GAIAResponse ¶ added in v0.1.0
type GAIAResponse struct {
// Assuming GAIA TAP returns a "data" field containing an array of records.
Data [][]interface{} `json:"data"`
}
GAIAResponse represents the JSON structure returned by GAIA TAP service.
type GAIAServiceClient ¶
func NewGAIAServiceClient ¶
func NewGAIAServiceClient() *GAIAServiceClient
Gaia DR3 service handler. The five-parameter astrometric solution, positions on the sky (α, δ), parallaxes, and proper motions, are given for around 1.46 billion sources, with a limiting magnitude of G = 21.
func (*GAIAServiceClient) Build ¶
func (g *GAIAServiceClient) Build() (string, error)
func (*GAIAServiceClient) PerformRadialSearch ¶
func (g *GAIAServiceClient) PerformRadialSearch(eq astrometry.ICRSEquatorialCoordinate, radius float64, limit float64) ([]Source, error)
type Source ¶
type Source struct { UID string `json:"uid" gaia:"source_id"` // Source ID (unique) Designation string `json:"designation" gaia:"designation"` // Source Designation RA float64 `json:"ra" gaia:"ra"` // Right Ascension (in degrees) Dec float64 `json:"dec" gaia:"dec"` // Declination (in degrees) ProperMotionRA float64 `json:"pmra" gaia:"pmra"` // Proper Motion in RA (in mas/yr) ProperMotionDec float64 `json:"pmdec" gaia:"pmdec"` // Proper Motion in Dec (in mas/yr) Parallax float64 `json:"parallax" gaia:"parallax"` // Parallax (in mas) PhotometricGMeanFlux float64 `json:"flux" gaia:"phot_g_mean_mag"` // Mean Flux (in e-/s) PhotometricGMeanMagnitude float64 `json:"magnitude" gaia:"phot_g_mean_flux"` // Mean Magnitude (in mag) }
type SourceAsterism ¶
type SourceAsterism struct { A Source B Source C Source Features geometry.InvariantFeatures }
Click to show internal directories.
Click to hide internal directories.