Reference · Pictures of deep-sky objects and where each lies on the sky
PictureSourcetype
Where a picture comes from: the survey, how its colours are made, who is credited and the licence it is used under. The same words are in NOTICE.md.
Import it
import type { PictureSource } from "@johnmorrisdotca/hoshi-stars/deep-sky/pictures";
Definition
interface PictureSource {
name: string;
colour: string;
credit: string;
licence: string;
page: string;
}
Members
| Name | Type | Description |
|---|---|---|
name | string | The survey and its bands ( |
colour | string | How the colours are made ( |
credit | string | Who is credited. |
licence | string | The licence the survey's data is used under. |
page | string | The survey's own page. |
Examples
import { deepSkyPicture, type PictureSource } from "@johnmorrisdotca/hoshi-stars/deep-sky/pictures";
const source: PictureSource = deepSkyPicture("M51")!.source;
console.log(source.name, source.credit);SDSS g, r, i Sloan Digital Sky Survey, images from NASA's SkyViewWhat it prints (run when this page was built)