Feature Request: Fourier Frequency Interpolation Option for UVBeam
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
ファイル、テスト、エントリーポイントは指定されていません。まず UVBeam の既存の周波数補間実装を見つけ、現在のオプションを提供されている fftinterp と gausstaper の例と比較してください。完了条件は、Fourier 補間オプションが定義され、taper のデフォルトまたは設定が決定され、補間動作がカバーされていることです。
索引モデルが issue の本文から書いたものです。
説明
Steven and myself have been testing interpolation methods for the frequency to create smoother delay spectra in UVBeam. We have found that using a Fourier interpolation with a Gaussian taper gives us the best results at the center of the spectra, though we expect due to non-periodicity the method will perform poorly at the ends. That being said, because it performs so much better than spline interpolation in creating a smooth spectra, (about 4 orders of magnitude more than cubic interpolation), we would like Fourier interpolation as an option to interpolate the frequency. I have attached an image of the Fourier with Gaussian taper and with no taper compared to various spline interpolations below. To create this, we ran Fourier interpolation on the beam itself and then used "cubic" interpolation to run the simulation.
The method we used for the Fourier interpolation and Gaussian taper is shown here:
def fftinterp(y, m, taper=np.ones):
n = y.shape[-1]
tapered = y * taper(n)
X = np.fft.fft(tapered)
N = n * m
z = np.arange(N)/m
pad = np.zeros(y.shape[:-1]+(N,), dtype=complex)
pad[..., :n//2 + 1] = X[..., :n//2 + 1]
pad[..., -n//2:] = X[...,-n//2:]
X = np.fft.ifft(pad)
return z, X * m / taper(N)
def gausstaper(n):
x = np.linspace(-1, 1, n+1)[:-1]
return np.exp(-x**2 / (2 * 0.2**2))`
We used n = 10 for this simulation to pad the interpolation. The default taper is none, or np.ones, but we substituted gauss=gausstaper(n) for better results. When adding this to the software, we may want to make Gauss taper the default, since no taper leads to very poor results, but other tapers may be affective as well.
- 主要言語
- Python
- スター
- 103
- フォーク
- 40
- 平均マージ
- 4日 11時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RadioAstronomySoftwareGroup/pyuvdata のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
RadioAstronomySoftwareGroup/pyuvdata#1751 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RadioAstronomySoftwareGroup/pyuvdata#1750 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 48/100
RadioAstronomySoftwareGroup/pyuvdata#1749 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RadioAstronomySoftwareGroup/pyuvdata#1748 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
RadioAstronomySoftwareGroup/pyuvdata#1743 ·
メンテナーはふだん 3 日以内に返信
RadioAstronomySoftwareGroup/pyuvdata の issue をすべて見る
似ている issue
-
Internal Errorオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
frappe/frappe_docker#2071 ·
メンテナーはふだん 1 日以内に返信
-
bug python
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
traceloop/openllmetry#4717 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
The-Pocket/PocketFlow#161 ·
-
comp/desktop P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#157702 ·
メンテナーはふだん 1 日以内に返信
-
scibench_physics / scibench_chemistry: a correct answer scores 0 when the unit has a power of ten対応中かも @BahaaMattar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
EvolvingLMMs-Lab/lmms-eval#1699 ·
メンテナーはふだん 1 日以内に返信