Interpolation along particular axis
還沒有人認領這個 Issue。
評估
研究方向
先閱讀 af.approx2 進入點以及 issue 中以 reorder 為基礎的範例,以了解目前對軸的假設。檢查插值引數在 Python bindings 中如何公開。完成條件是 af.approx2 能夠選取插值軸,包括回報使用案例中的全部四個軸,而不需要重新排列輸入陣列和結果陣列。
由索引模型根據 Issue 內容生成。
描述
Currently, the interpolation function performs the interpolation along the 0th and the 1st axis. However, in my problem of interest, I need to interpolate along all the 4 axes. Could the feature of having interpolation along a particular axis be added on in af.approx2. Right now, I'm reordering the arrays such that the axes along which I need to interpolate are moved to the 0th and 1st axes. After which I need to reorder the resulting array to bring it back to the original convention.
This is what I'm currently doing right now:
# vel_y_interpolant is stacked along axis 2
# vel_x_interpolant is stacked along axis 3
f_interp = af.approx2(af.reorder(f, 2, 3, 0, 1),\
af.reorder(vel_y_interpolant, 2, 3, 0, 1),\
af.reorder(vel_x_interpolant, 2, 3, 0, 1),\
af.INTERP.BICUBIC_SPLINE
)
f_interp = af.reorder(f_interp, 2, 3, 0, 1)
- 主要語言
- Python
- 星號
- 422
- 分支
- 63
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
arrayfire/arrayfire-python 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
arrayfire/arrayfire-python#271 ·
-
難度 5/5 一週以上 新手友好度 25/100
arrayfire/arrayfire-python#270 ·
-
難度 4/5 3-5 天 新手友好度 35/100
arrayfire/arrayfire-python#269 ·
-
難度 4/5 3-5 天 新手友好度 38/100
arrayfire/arrayfire-python#268 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 48/100
arrayfire/arrayfire-python#267 · 1 則留言 · 1 個 reaction ·
查看 arrayfire/arrayfire-python 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 90/100
learningequality/ricecooker#747 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 76/100
run-llama/llama_index#23199 ·
-
難度 2/5 1-3 小時 新手友好度 84/100
KhronosGroup/glTF-Blender-IO#2769 ·