k2

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 4 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 k2 finds what Kepler's second mission, K2, holds of a place on the sky, as MAST keeps it: the light curves and target pixel files of the stars it watched there, and the full-frame images of each campaign whose field holds the place, each fetched as a FITS file.

A full-frame image is the whole focal plane in one file, some 400 MB, whichever star is asked about; K2 took one or two a campaign. MAST keeps each in four forms, calibrated, raw, raw with WCS and its uncertainty, and each is found. fetch --match picks one.

The products are asked of MAST's API through internal/caom: its cone search and then each observation's products. The archive is asked only by name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

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

Archive is MAST's K2 products.

func New

func New(get web.Web) (*Archive, error)

New is K2's products at MAST, asked through get. It refuses no web.

func (*Archive) ByNameOnly

func (*Archive) ByNameOnly() bool

ByNameOnly says the archive is asked only when it is named.

func (*Archive) Find

func (archive *Archive) Find(near *celestialdata.Near) (
	[]*celestialdata.Product, error)

Find is the science files of each of K2's observations whose footprint meets the circle, in the order MAST gives them.

func (*Archive) Name

func (archive *Archive) 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