legacy imaging stamps of galaxies
@forero がすでに取り組んでいます。
2023年6月20日 から。
評価
この issue はまだ評価されていません。
説明
Write a notebook with examples on how to plot stamps of galaxies given a TARGETID.
Here is a recipe from @araichoor that should make it into a tutorial
I guess you can easily get the (ra, dec) from the lss catalog, provided the id.
then it s a simple bash command, e.g.:
wget -O tmp.jpeg "http://legacysurvey.org/viewer/jpeg-cutout/?layer=ls-dr9&ra=0.23790&dec=0.05840&pixscale=0.1&size=300"
and you can of course wrap that in python — and adjust the stamp properties, e.g.:
ra, dec = 0.2379, 0.0584
width_arcsec = 30
pixscale = 0.1
tmpfn = "tmp.jpeg"
size = int(width_arcsec / pixscale)
layer = "ls-dr9"
tmpstr = 'wget -O {} "http://legacysurvey.org/viewer/jpeg-cutout/?layer={}&ra={:.5f}&dec={:.5f}&pixscale={}&size={:.0f}"'.format(
tmpfn, layer, ra, dec, pixscale, size
)
subprocess.check_call(tmpstr, stderr=subprocess.DEVNULL, shell=True)
- 主要言語
- Jupyter Notebook
- スター
- 62
- フォーク
- 25
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
desihub/tutorials のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 38/100
-
conda environmentオープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100