cds

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cds names cutouts from the hips2fits service at the Centre de Données astronomiques de Strasbourg. The service draws any HiPS survey onto a FITS image of the square round a circle. Its host can be set, since a mirror may be needed when Strasbourg cannot be reached.

Index

Constants

View Source
const Strasbourg = "alasky.cds.unistra.fr"

Strasbourg is the service's own host.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cutouts

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

Cutouts is one HiPS survey, drawn by one host's hips2fits.

func New

func New(host, hips string, pixels int) (*Cutouts, error)

New is the survey with a HiPS id such as CDS/P/DSS2/red. It is drawn by the service on a host at pixels a side. It refuses no host and a host that is more than a name. It refuses no survey and no pixels.

func (*Cutouts) Find

func (cutouts *Cutouts) Find(near *celestialdata.Near) (
	[]*celestialdata.Product, error)

Find is one file: the survey drawn on the square round the circle. It is in the tangent projection with north up. Nothing is asked of the service until it is fetched.

func (*Cutouts) Name

func (cutouts *Cutouts) Name() string

Name is the adapter's name as the command line takes it.

Jump to

Keyboard shortcuts

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