lamost

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: 6 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 lamost finds LAMOST's spectra near a place on the sky: those of DR10 v2.0, public to all since September 2024, at low resolution and at medium. The medium-resolution spectra's red arm, 6300 to 6800 A at a resolution of 7500, holds lithium's line at 6708 A.

Both are asked of the release's TAP service, each spectrum fetched by its obsid as a gzipped FITS file. The service, its tables and the files' places were read on 2026-11-06 from LAMOST's pages and its answers.

The survey asks that work using the data acknowledge it, in the words of its data policy, lamost.org/lmusers/cms/article/view?id=1.

LAMOST's sky stops near declination -10: south of that, a search finds nothing. 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 LAMOST's DR10 v2.0 spectra.

func New

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

New is LAMOST's spectra, asked through get for at most most spectra of each resolution a search. It refuses no web and a most below one.

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 spectra whose place falls in the circle: the low-resolution ones, clearest in the r band first, then the medium-resolution ones, clearest in the red arm first, at most as many of each as the archive was made to ask for.

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