リファレンス · ディープスカイ天体の写真と、それぞれの空での位置
DeepSkyPicture型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A picture of one deep-sky object. It is a tangent-plane image about its centre with north at the top and east on the left (the way sky photographs are), turned by rotation, so its place on
the sky is exact and pictureCorners gives its corners.
インポート
import type { DeepSkyPicture } from "@johnmorrisdotca/hoshi-stars/deep-sky/pictures";
定義
interface DeepSkyPicture {
id: string;
object: string;
file: string;
width: number;
height: number;
centre: SkyPoint;
arcsecPerPixel: number;
rotation: number;
source: PictureSource;
credit: string;
address: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
id | string | The picture's own id: the object's id ( |
object | string | The id of the deep-sky object the picture shows ( |
file | string | The file's path under the folder the pictures are served from, |
width | number | Width in pixels. |
height | number | Height in pixels. |
centre | SkyPoint | The sky point at the middle of the picture (J2000, degrees). |
arcsecPerPixel | number | The angular size of a pixel in arc-seconds. |
rotation | number | Degrees the picture's top is turned from north toward east; 0 for north up. |
source | PictureSource | Where the picture comes from. |
credit | string | The credit line for this picture: the survey's, or the release's own for a picture from a space agency. |
address | string | Where the picture was read from: the SkyView address the first band was cut from (the one that says exactly what was asked), or the page of the release. |
例
import { deepSkyPicture, type DeepSkyPicture } from "@johnmorrisdotca/hoshi-stars/deep-sky/pictures";
const picture: DeepSkyPicture = deepSkyPicture("M31")!;
console.log(picture.file, picture.width, picture.arcsecPerPixel);pictures/M31.webp 1800 7.25出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。