リファレンス · ディープスカイ天体の写真と、それぞれの空での位置
PictureSource型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
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 type { PictureSource } from "@johnmorrisdotca/hoshi-stars/deep-sky/pictures";
定義
interface PictureSource {
name: string;
colour: string;
credit: string;
licence: string;
page: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
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. |
例
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 SkyView出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。