Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Reintroduce POLYGON for proper motions, requires new operator POLYGON_PROPER_MOTIONS

クローズ
#145 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
databases

調査の方向性

リンクされた Transform and Select の章を読み、以前の convex-hull アプローチと現在の BETWEEN アプローチを比較してください。完了条件は、サポート対象の POLYGON_PROPER_MOTIONS オペレーターが存在し、convex-hull による proper-motion の選択を再導入できることです。この issue には、実行するリポジトリファイルもテストもありません。

索引モデルが issue の本文から書いたものです。

説明

status:wait

The original Transform and Select chapter contained a beautiful application of the convex hull algorithm from Scipy.
This was used to derive a polygon which could be included in an ADQL query to select stars based on their proper motions.
However, POLYGON from ADQL is not meant to select based on proper motions, it should only be applied to positions on the sky.

Therefore it has recently been replaced by two BETWEEN operators

POLYGON for proper motions will still work in our case, with this trick

AND 1 = CONTAINS(POINT(-pmra, -pmdec),
                   POLYGON({negative_pm_point_list})) 

But that will not work in all cases, as @abostroem pointed out, so is not recommended.
At this point the two BETWEEN operators are the best we can do, it seems.

But I would like to reintroduce the convex hull and more elegant selection of stars based on proper motions as soon as something like a POLYGON_PROPER_MOTIONS operator has been built.

Hopefully VO people will build such an operator in the near future.

@eteq, @abostroem mentioned your name in the Slack channel, could you please keep us updated on any developments with respect to this matter?

主要言語
Python
スター
36
フォーク
39
平均マージ
3分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。