realfastvla / rfgpu

GPU-based gridding and imaging library for realfast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support non-square images

caseyjlaw opened this issue · comments

Generally, images can have dimension of npixx by npixy. GPU code currently assumes square images.

This is actually already supported. When setting up the image, do: image = rfgpu.Image(npixx,npixy). I haven't tested any non-square images yet though. I can update the example script to try this.

Ok, I just updated rfgpu_example.py to show non-square case. A super-quick test seems to work OK so I'll close this for now, but re-open if you see any problems!